= 6 });\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":782},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"777":{"this":{"__isSmartRef__":true,"id":708},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":778}},"778":{"$super":{"__isSmartRef__":true,"id":779}},"779":{"varMapping":{"__isSmartRef__":true,"id":780},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":781},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"780":{"obj":{"__isSmartRef__":true,"id":708},"name":"draw"},"781":{},"782":{},"783":{"varMapping":{"__isSmartRef__":true,"id":784},"source":"function setupExample() {\n\tthis.graph = {}; \n this.graph.nodes = [\n {nodeName:\"ObjectA\", group:1},\n {nodeName:\"ObjectA\", group:1},\n ];\n this.graph.links = [\n {source:0, target:1, value:1},\n ]\n}","funcProperties":{"__isSmartRef__":true,"id":785},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"784":{"this":{"__isSmartRef__":true,"id":708}},"785":{},"786":{"varMapping":{"__isSmartRef__":true,"id":787},"source":"function render() {\n\tthis.removeDrawing();\n\n\tvar w = this.getExtent().x - 5, // 2 is for a border width of 1\n\th = this.getExtent().y - 3.5;\n\tthis.vis = this.draw(w, h);\n\n\tvar svg = this.renderContext().svgNode;\n\tif (svg) svg.parentNode.removeChild(svg)\n\tvar svg = NodeFactory.create('svg');\n\tthis.renderContext().morphNode.appendChild(svg);\n\tthis.renderContext().svgNode = svg;\n\tthis.vis.canvas(svg);\n\tthis.vis.render();\n}","funcProperties":{"__isSmartRef__":true,"id":792},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"787":{"this":{"__isSmartRef__":true,"id":708},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":788}},"788":{"$super":{"__isSmartRef__":true,"id":789}},"789":{"varMapping":{"__isSmartRef__":true,"id":790},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":791},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"790":{"obj":{"__isSmartRef__":true,"id":708},"name":"render"},"791":{},"792":{},"793":{"varMapping":{"__isSmartRef__":true,"id":794},"source":"function setDataAndRender(data) {\n\tthis.data = data;\t\n\tthis.render()\n}","funcProperties":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"794":{"this":{"__isSmartRef__":true,"id":708}},"795":{},"796":{"submorphs":[{"__isSmartRef__":true,"id":797}],"scripts":[],"id":6867,"shape":{"__isSmartRef__":true,"id":810},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":825},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":813},"lighterFill":{"__isSmartRef__":true,"id":826},"label":{"__isSmartRef__":true,"id":797},"attributeConnections":[{"__isSmartRef__":true,"id":835}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":836},"name":"Button","partsBinMetaInfo":{"__isSmartRef__":true,"id":837},"owner":{"__isSmartRef__":true,"id":662},"_Scale":1.0030030010000002,"layout":{"__isSmartRef__":true,"id":838},"renderContextTable":{"__isSmartRef__":true,"id":839},"__LivelyClassName__":"lively.morphic.Button"},"797":{"submorphs":[],"scripts":[],"id":6868,"shape":{"__isSmartRef__":true,"id":798},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"_OverflowMode":"visible","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":803},"textColor":{"__isSmartRef__":true,"id":801},"owner":{"__isSmartRef__":true,"id":796},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":804}],"padding":{"__isSmartRef__":true,"id":806},"_Padding":{"__isSmartRef__":true,"id":807},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":808},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontFamily":"Arial","renderContextTable":{"__isSmartRef__":true,"id":809},"__LivelyClassName__":"lively.morphic.Text"},"798":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":799},"_Extent":{"__isSmartRef__":true,"id":800},"_BorderColor":{"__isSmartRef__":true,"id":801},"renderContextTable":{"__isSmartRef__":true,"id":802},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"799":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"800":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"801":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"802":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"803":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"804":{"style":{"__isSmartRef__":true,"id":805},"morph":{"__isSmartRef__":true,"id":797},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"rerender","__LivelyClassName__":"lively.morphic.TextChunk"},"805":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"806":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"807":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"808":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"809":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"810":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":811},"_Extent":{"__isSmartRef__":true,"id":812},"_Fill":{"__isSmartRef__":true,"id":813},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":823},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":824},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"811":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"812":{"x":116,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"813":{"stops":[{"__isSmartRef__":true,"id":814},{"__isSmartRef__":true,"id":816},{"__isSmartRef__":true,"id":818},{"__isSmartRef__":true,"id":820}],"vector":{"__isSmartRef__":true,"id":822},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"814":{"offset":0,"color":{"__isSmartRef__":true,"id":815}},"815":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"816":{"offset":0.4,"color":{"__isSmartRef__":true,"id":817}},"817":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"818":{"offset":0.6,"color":{"__isSmartRef__":true,"id":819}},"819":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"820":{"offset":1,"color":{"__isSmartRef__":true,"id":821}},"821":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"822":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"823":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"824":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"825":{"x":808.1371317100029,"y":934.2582567520003,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"826":{"stops":[{"__isSmartRef__":true,"id":827},{"__isSmartRef__":true,"id":829},{"__isSmartRef__":true,"id":831},{"__isSmartRef__":true,"id":833}],"vector":{"__isSmartRef__":true,"id":822},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"827":{"offset":0,"color":{"__isSmartRef__":true,"id":828}},"828":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"829":{"offset":0.4,"color":{"__isSmartRef__":true,"id":830}},"830":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"831":{"offset":0.6,"color":{"__isSmartRef__":true,"id":832}},"832":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"833":{"offset":1,"color":{"__isSmartRef__":true,"id":834}},"834":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"835":{"sourceObj":{"__isSmartRef__":true,"id":796},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":662},"targetMethodName":"updateVis","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"836":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"837":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"838":{"resizeWidth":false,"resizeHeight":false,"moveVertical":true,"moveHorizontal":false},"839":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"840":{"submorphs":[],"scripts":[],"id":6869,"shape":{"__isSmartRef__":true,"id":841},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":846},"_MaxTextWidth":52,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":844},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":847},"textChunks":[{"__isSmartRef__":true,"id":848}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[0,0],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":850},"renderContextTable":{"__isSmartRef__":true,"id":851},"owner":{"__isSmartRef__":true,"id":662},"layout":{"__isSmartRef__":true,"id":852},"__LivelyClassName__":"lively.morphic.Text"},"841":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":842},"_Extent":{"__isSmartRef__":true,"id":843},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":844},"renderContextTable":{"__isSmartRef__":true,"id":845},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"842":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"843":{"x":52,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"844":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"845":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"846":{"x":20,"y":932,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"847":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"848":{"style":{"__isSmartRef__":true,"id":849},"morph":{"__isSmartRef__":true,"id":840},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"URL:","__LivelyClassName__":"lively.morphic.TextChunk"},"849":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"850":{"x":52,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"851":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"852":{"moveVertical":true},"853":{"submorphs":[],"scripts":[],"id":6870,"shape":{"__isSmartRef__":true,"id":854},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":859},"_MaxTextWidth":713,"_MaxTextHeight":24,"textColor":{"__isSmartRef__":true,"id":857},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"urlText","partsBinMetaInfo":{"__isSmartRef__":true,"id":860},"textChunks":[{"__isSmartRef__":true,"id":861}],"charsReplaced":"","lastFindLoc":58,"priorSelectionRange":[0,59],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":863},"renderContextTable":{"__isSmartRef__":true,"id":864},"owner":{"__isSmartRef__":true,"id":662},"layout":{"__isSmartRef__":true,"id":865},"attributeConnections":[{"__isSmartRef__":true,"id":866}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"isInputLine":true,"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","allowInput":true,"savedTextString":"http://www.lively-kernel.org/repository/webwerkstatt/demos","__LivelyClassName__":"lively.morphic.Text"},"854":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":855},"_Extent":{"__isSmartRef__":true,"id":856},"_BorderWidth":1.4800000000000002,"_BorderColor":{"__isSmartRef__":true,"id":857},"renderContextTable":{"__isSmartRef__":true,"id":858},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"855":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"856":{"x":713,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"857":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"858":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"859":{"x":85,"y":936,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"860":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"861":{"style":{"__isSmartRef__":true,"id":862},"morph":{"__isSmartRef__":true,"id":853},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://www.lively-kernel.org/repository/webwerkstatt/demos","__LivelyClassName__":"lively.morphic.TextChunk"},"862":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"863":{"x":713,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"864":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"865":{"moveVertical":true},"866":{"sourceObj":{"__isSmartRef__":true,"id":853},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":662},"targetMethodName":"updateVis","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"867":{"position":{"__isSmartRef__":true,"id":868},"_Extent":{"__isSmartRef__":true,"id":869},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":870},"_Fill":{"__isSmartRef__":true,"id":871},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":872},"_BorderRadius":9.25,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"868":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"869":{"x":1243,"y":974,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"870":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"871":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"872":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"873":{"x":116,"y":2364,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"874":{"partsSpaceName":"PartsBin/Visualization/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Serializes an object and shows a graph of how the objects in the serialization reference each other. Great for debugging serialization but also for chasing pointers.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"875":{"x":1243,"y":974,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"876":{"adjustForNewBounds":true},"877":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"878":{"updateVis":{"__isSmartRef__":true,"id":879}},"879":{"varMapping":{"__isSmartRef__":true,"id":880},"source":"function updateVis() {\n sortIntoTree = function(path, subtree) {\n if (path.length == 0) return;\n var name = path.shift();\n if (path.length == 0) {\n subtree[name] = 1;\n return\n } \n if (!subtree[name] || subtree[name] == 1) {\n subtree[name] = {}\n };\n return sortIntoTree(path, subtree[name])\n\n }\n buildTree = function(rootURL) {\n var tree = {}\n var webR = new WebResource(rootURL).getSubElements(10)\n var all = webR.subCollections.concat(webR.subDocuments);\n all.forEach(function(ea) {\n var path = ea.getURL().relativePathFrom(rootURL)\n .split(\"/\").select(function(ea){return ea}).collect(function(ea) {\n return ea.replace(/[^A-Za-z0-1]/g, \"_\")\n })\n sortIntoTree(path, tree)\n })\n alert(\"found \" + all.length + \" pages\")\n return tree\n }\n var data = buildTree(new URL(this.get('urlText').textString)) \n\n this.get('ProtoVisGraph').setDataAndRender(data)\n}","funcProperties":{"__isSmartRef__":true,"id":881},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"880":{"this":{"__isSmartRef__":true,"id":662}},"881":{},"882":{"submorphs":[{"__isSmartRef__":true,"id":883},{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":928},{"__isSmartRef__":true,"id":1016},{"__isSmartRef__":true,"id":1060},{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1087}],"scripts":[],"id":7559,"shape":{"__isSmartRef__":true,"id":1101},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1107},"showsHalos":false,"name":"URLTree","partsBinMetaInfo":{"__isSmartRef__":true,"id":1108},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":1109},"target":{"__isSmartRef__":true,"id":250},"graph":{"__isSmartRef__":true,"id":953},"layout":{"__isSmartRef__":true,"id":1110},"renderContextTable":{"__isSmartRef__":true,"id":1111},"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1112},"__LivelyClassName__":"lively.morphic.Box"},"883":{"submorphs":[],"scripts":[],"id":7560,"shape":{"__isSmartRef__":true,"id":884},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":889},"_MaxTextWidth":358.6185722369539,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":887},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":890},"textChunks":[{"__isSmartRef__":true,"id":891}],"charsReplaced":"Sunbursts","lastFindLoc":-5,"priorSelectionRange":[4,13],"prevScroll":[0,0],"_Scale":0.9980029960049943,"owner":{"__isSmartRef__":true,"id":882},"priorExtent":{"__isSmartRef__":true,"id":893},"renderContextTable":{"__isSmartRef__":true,"id":894},"__LivelyClassName__":"lively.morphic.Text"},"884":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":885},"_Extent":{"__isSmartRef__":true,"id":886},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":887},"renderContextTable":{"__isSmartRef__":true,"id":888},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"885":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"886":{"x":358.6185722369539,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"887":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"888":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"889":{"x":10.613580225968235,"y":0.7558665111114351,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"890":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"891":{"style":{"__isSmartRef__":true,"id":892},"morph":{"__isSmartRef__":true,"id":883},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"URL Tree","__LivelyClassName__":"lively.morphic.TextChunk"},"892":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"893":{"x":358.6185722369539,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"894":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"895":{"submorphs":[],"scripts":[],"id":7561,"shape":{"__isSmartRef__":true,"id":896},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":902},"showsHalos":false,"name":"ResizeCorner1","partsBinMetaInfo":{"__isSmartRef__":true,"id":903},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":904},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":882},"renderContextTable":{"__isSmartRef__":true,"id":905},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":906},"__LivelyClassName__":"lively.morphic.Box"},"896":{"position":{"__isSmartRef__":true,"id":897},"_Extent":{"__isSmartRef__":true,"id":898},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":899},"_Fill":{"__isSmartRef__":true,"id":900},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":901},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"897":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"898":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"899":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"900":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"901":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"902":{"x":1230,"y":959,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"903":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"904":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"905":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"906":{"onDrag":{"__isSmartRef__":true,"id":907},"onDragEnd":{"__isSmartRef__":true,"id":914},"onDragStart":{"__isSmartRef__":true,"id":921}},"907":{"varMapping":{"__isSmartRef__":true,"id":908},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":913},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"908":{"this":{"__isSmartRef__":true,"id":895},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":909}},"909":{"$super":{"__isSmartRef__":true,"id":910}},"910":{"varMapping":{"__isSmartRef__":true,"id":911},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":912},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"911":{"obj":{"__isSmartRef__":true,"id":895},"name":"onDrag"},"912":{},"913":{},"914":{"varMapping":{"__isSmartRef__":true,"id":915},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":920},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"915":{"this":{"__isSmartRef__":true,"id":895},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":916}},"916":{"$super":{"__isSmartRef__":true,"id":917}},"917":{"varMapping":{"__isSmartRef__":true,"id":918},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":919},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"918":{"obj":{"__isSmartRef__":true,"id":895},"name":"onDragEnd"},"919":{},"920":{},"921":{"varMapping":{"__isSmartRef__":true,"id":922},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":927},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"922":{"this":{"__isSmartRef__":true,"id":895},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":923}},"923":{"$super":{"__isSmartRef__":true,"id":924}},"924":{"varMapping":{"__isSmartRef__":true,"id":925},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":926},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"925":{"obj":{"__isSmartRef__":true,"id":895},"name":"onDragStart"},"926":{},"927":{},"928":{"submorphs":[],"scripts":[],"id":7562,"shape":{"__isSmartRef__":true,"id":929},"droppingEnabled":true,"halosEnabled":true,"data":{"__isSmartRef__":true,"id":935},"doNotSerialize":["vis"],"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":951},"name":"ProtoVisGraph","partsBinMetaInfo":{"__isSmartRef__":true,"id":952},"__SourceModuleName__":"Global.apps.ProtoVisInterface","_Rotation":0,"_Scale":1,"graph":{"__isSmartRef__":true,"id":953},"priorExtent":{"__isSmartRef__":true,"id":985},"owner":{"__isSmartRef__":true,"id":882},"layout":{"__isSmartRef__":true,"id":986},"isClip":false,"_ClipMode":"visible","renderContextTable":{"__isSmartRef__":true,"id":987},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":988},"__LivelyClassName__":"ProtoVisMorph"},"929":{"position":{"__isSmartRef__":true,"id":930},"_Extent":{"__isSmartRef__":true,"id":931},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":{"__isSmartRef__":true,"id":932},"_BorderWidth":1.484,"_Position":{"__isSmartRef__":true,"id":933},"renderContextTable":{"__isSmartRef__":true,"id":934},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"930":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"931":{"x":1218,"y":898,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"932":{"r":0.572,"g":0.572,"b":0.572,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"933":{"x":6.72295955392093,"y":2.2409865179703843,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"934":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"935":{"media":{"__isSmartRef__":true,"id":936},"PresentationDemo":{"__isSmartRef__":true,"id":937},"contextjs":{"__isSmartRef__":true,"id":939},"visualizations":{"__isSmartRef__":true,"id":941},"squeakev":{"__isSmartRef__":true,"id":942},"videos":{"__isSmartRef__":true,"id":943},"March_010":{"__isSmartRef__":true,"id":944},"fabrik":{"__isSmartRef__":true,"id":947},"tools":{"__isSmartRef__":true,"id":948},"lively":{"__isSmartRef__":true,"id":949},"RectanglePacker_xhtml":1,"FabrikInfoVis_xhtml":1,"TreeWikiViz__xhtml":1,"DriveACar_xhtml":1,"SimpleConstraints__xhtml":1,"SwaIntro_xhtml":1,"CPUVisualization_xhtml":1,"LivelyJITExamples_xhtml":1,"TreeWikiViz_xhtml":1,"ScriptConnect_xhtml":1,"TileScripting_xhtml":1,"SimpleConstraints_xhtml":1},"936":{"SwaResearchInterests_pdf":1,"SwaPeople_png":1,"SwaResearchInterests_png":1},"937":{"media":{"__isSmartRef__":true,"id":938},"squeakev_xhtml":1,"DansSettings_xhtml":1,"overview_xhtml":1,"DemoSlides_js":1,"CreatingPresentations_xhtml":1,"template_xhtml":1,"LivelyWikiSqueakev_xhtml":1,"title_xhtml":1,"UsingPageNavigation_xhtml":1},"938":{"hpi_logo_png":1},"939":{"media":{"__isSmartRef__":true,"id":940},"testrunnerScopes_xhtml":1,"meta_xhtml":1,"SimpleObjectTracing_xhtml":1,"BackwardsClockExample_xhtml":1,"Simple_xhtml":1,"timeZone_xhtml":1,"testrunnerModel_xhtml":1,"ClockLayers_js":1,"flattening_xhtml":1,"contents_xhtml":1,"CustomStyles_js":1,"connectorsModel_xhtml":1,"WordCompletion_xhtml":1,"auth":1,"OpenImplementation_xhtml":1,"structural_xhtml":1,"testrunner_xhtml":1,"ClockLayers_xhtml":1,"connectors_xhtml":1,"Development_xhtml":1,"personExample_xhtml":1},"940":{"Pape__010_WDE_TeX_Screencast_mov":1,"PersonExample_mov":1,"ConnectorExampleScopes_png":1,"ContextJSWordCompletion_mov":1,"TestCaseSequence_png":1,"TestRunner_mov":1,"TestRunnerDynamicExtent_png":1,"ConnectorExampleModel_png":1,"ContextJSImplementation_png":1,"TimeZone_mov":1,"Connectors_mov":1,"ContextJSClockLayers_mov":1,"TestRunnerModel_png":1},"941":{"WorldMorphHyperTree_xhtml":1,"VersionCache_json":1,"WorldMorphWithForce_xhtml":1,"MorphClassTree_xhtml":1,"WorldMorphTreeMap_xhtml":1,"WikiPagesTreeMap_xhtml":1},"942":{"squeakev_xhtml":1,"Emtpy_xhtml":1,"Plantagenklause_xhtml":1},"943":{"upload_xhtml":1,"SimpleEventPlotterDemo_mov":1},"944":{"media":{"__isSmartRef__":true,"id":945},"videos":{"__isSmartRef__":true,"id":946},"contextjsPersonExample_xhtml":1,"fabrikImageSearch_xhtml":1,"fabrikF_C_xhtml":1,"Empty_xhtml":1,"fabrik_xhtml":1,"fabrikBrowser_xhtml":1,"wiki_xhtml":1,"kernelSimpleObjects_xhtml":1,"overview_xhtml":1,"wikiBrowser_xhtml":1,"contextjsTimeZoneExample_xhtml":1,"fabrikWeather_xhtml":1,"kernel_xhtml":1,"contextjs_xhtml":1,"fabrikStudiozeit_xhtml":1,"wikiGraphLayout_xhtml":1},"945":{"hpi_logo_png":1},"946":{"fabrikF_CConverter_mov":1,"fabrikWeatherWidget_mov":1,"contextjsPersonExample_01_mov":1,"fabrikImageSearch_mov":1,"contextjsTimeZoneExample_01_mov":1,"fabrikBrowserExample_mov":1},"947":{"ClassBrowser_xhtml":1,"WeatherWidget_xhtml":1},"948":{"template_xhtml":1,"benchmarks_xhtml":1},"949":{"videos":{"__isSmartRef__":true,"id":950},"Engine_xhtml":1,"livelykernel_xhtml":1,"EngineAdaptation_xhtml":1,"Clock_xhtml":1,"ClockBrowser_xhtml":1},"950":{"LivelyEngineAdaptation_mov":1,"LivelyRectanglePacker_mov":1,"LivelyClock_mov":1,"LivelyEngine_mov":1,"DraftShrinkLayout_mov":1},"951":{"x":13.801462415729475,"y":30.667412831374662,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"952":{"migrationLevel":2,"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"953":{"analytics":{"__isSmartRef__":true,"id":954},"animate":{"__isSmartRef__":true,"id":958},"data":{"__isSmartRef__":true,"id":960},"display":{"__isSmartRef__":true,"id":962},"flex":{"__isSmartRef__":true,"id":963},"physics":{"__isSmartRef__":true,"id":964},"query":{"__isSmartRef__":true,"id":965},"scale":{"__isSmartRef__":true,"id":967},"util":{"__isSmartRef__":true,"id":968},"vis":{"__isSmartRef__":true,"id":972}},"954":{"cluster":{"__isSmartRef__":true,"id":955},"graph":{"__isSmartRef__":true,"id":956},"optimization":{"__isSmartRef__":true,"id":957}},"955":{"AgglomerativeCluster":3938,"CommunityStructure":3812,"HierarchicalCluster":6714,"MergeEdge":743},"956":{"BetweennessCentrality":3534,"LinkDistance":5731,"MaxFlowMinCut":7840,"ShortestPaths":5914,"SpanningTree":3416},"957":{"AspectRatioBanker":7074},"958":{"Easing":17010,"FunctionSequence":5842,"interpolate":{"__isSmartRef__":true,"id":959},"ISchedulable":1041,"Parallel":5176,"Pause":449,"Scheduler":5593,"Sequence":5534,"Transition":9201,"Transitioner":19975,"TransitionEvent":1116,"Tween":6006},"959":{"ArrayInterpolator":1983,"ColorInterpolator":2047,"DateInterpolator":1375,"Interpolator":8746,"MatrixInterpolator":2202,"NumberInterpolator":1382,"ObjectInterpolator":1629,"PointInterpolator":1675,"RectangleInterpolator":2042},"960":{"converters":{"__isSmartRef__":true,"id":961},"DataField":1759,"DataSchema":2165,"DataSet":586,"DataSource":3331,"DataTable":772,"DataUtil":3322},"961":{"Converters":721,"DelimitedTextConverter":4294,"GraphMLConverter":9800,"IDataConverter":1314,"JSONConverter":2220},"962":{"DirtySprite":8833,"LineSprite":1732,"RectSprite":3623,"TextSprite":10066},"963":{"FlareVis":4116},"964":{"DragForce":1082,"GravityForce":1336,"IForce":319,"NBodyForce":10498,"Particle":2822,"Simulation":9983,"Spring":2213,"SpringForce":1681},"965":{"AggregateExpression":1616,"And":1027,"Arithmetic":3891,"Average":891,"BinaryExpression":2893,"Comparison":5103,"CompositeExpression":3677,"Count":781,"DateUtil":4141,"Distinct":933,"Expression":5130,"ExpressionIterator":3617,"Fn":3240,"If":2732,"IsA":2039,"Literal":1214,"Match":3748,"Maximum":843,"methods":{"__isSmartRef__":true,"id":966},"Minimum":843,"Not":1554,"Or":970,"Query":13896,"Range":1594,"StringUtil":4130,"Sum":791,"Variable":1124,"Variance":1876,"Xor":1101},"966":{"add":593,"and":330,"average":287,"count":277,"distinct":292,"div":595,"eq":594,"fn":460,"gt":603,"gte":625,"iff":748,"isa":461,"lt":597,"lte":619,"max":283,"min":283,"mod":591,"mul":603,"neq":599,"not":386,"or":323,"orderby":307,"range":772,"select":296,"stddev":363,"sub":600,"sum":280,"update":307,"variance":335,"where":299,"xor":354,"_":264},"967":{"IScaleMap":2105,"LinearScale":1316,"LogScale":3151,"OrdinalScale":3770,"QuantileScale":2435,"QuantitativeScale":4839,"RootScale":1756,"Scale":4268,"ScaleType":1821,"TimeScale":5833},"968":{"Arrays":8258,"Colors":10001,"Dates":8217,"Displays":12555,"Filter":2324,"Geometry":10993,"heap":{"__isSmartRef__":true,"id":969},"IEvaluable":335,"IPredicate":383,"IValueProxy":874,"math":{"__isSmartRef__":true,"id":970},"Maths":17705,"Orientation":1486,"palette":{"__isSmartRef__":true,"id":971},"Property":5559,"Shapes":19118,"Sort":6887,"Stats":6557,"Strings":22026},"969":{"FibonacciHeap":9354,"HeapNode":1233},"970":{"DenseMatrix":3165,"IMatrix":2815,"SparseMatrix":3366},"971":{"ColorPalette":6367,"Palette":1229,"ShapePalette":2059,"SizePalette":2291},"972":{"axis":{"__isSmartRef__":true,"id":973},"controls":{"__isSmartRef__":true,"id":974},"data":{"__isSmartRef__":true,"id":975},"events":{"__isSmartRef__":true,"id":977},"legend":{"__isSmartRef__":true,"id":978},"operator":{"__isSmartRef__":true,"id":979},"Visualization":16540},"973":{"Axes":1302,"Axis":24593,"AxisGridLine":652,"AxisLabel":636,"CartesianAxes":6703},"974":{"AnchorControl":2138,"ClickControl":3824,"Control":1353,"ControlList":4665,"DragControl":2649,"ExpandControl":2832,"HoverControl":4896,"IControl":763,"PanZoomControl":5222,"SelectionControl":7862,"TooltipControl":8435},"975":{"Data":20544,"DataList":19788,"DataSprite":10349,"EdgeSprite":3301,"NodeSprite":19382,"render":{"__isSmartRef__":true,"id":976},"ScaleBinding":11275,"Tree":7147,"TreeBuilder":9930},"976":{"ArrowType":698,"EdgeRenderer":5569,"IRenderer":353,"ShapeRenderer":2247},"977":{"DataEvent":2313,"SelectionEvent":1880,"TooltipEvent":1701,"VisualizationEvent":1117},"978":{"Legend":20859,"LegendItem":4614,"LegendRange":10530},"979":{"distortion":{"__isSmartRef__":true,"id":980},"encoder":{"__isSmartRef__":true,"id":981},"filter":{"__isSmartRef__":true,"id":982},"IOperator":1286,"label":{"__isSmartRef__":true,"id":983},"layout":{"__isSmartRef__":true,"id":984},"Operator":2490,"OperatorList":5248,"OperatorSequence":4190,"OperatorSwitch":2581,"SortOperator":2023},"980":{"BifocalDistortion":4461,"Distortion":6314,"FisheyeDistortion":3444},"981":{"ColorEncoder":3179,"Encoder":4060,"PropertyEncoder":4138,"ShapeEncoder":1690,"SizeEncoder":1830},"982":{"FisheyeTreeFilter":5219,"GraphDistanceFilter":3165,"VisibilityFilter":3509},"983":{"Labeler":9956,"RadialLabeler":3899,"StackedAreaLabeler":3202},"984":{"AxisLayout":6725,"BundledEdgeRouter":3727,"CircleLayout":9317,"CirclePackingLayout":12003,"DendrogramLayout":4853,"ForceDirectedLayout":8411,"IcicleTreeLayout":4864,"IndentedTreeLayout":3174,"Layout":7881,"NodeLinkTreeLayout":12870,"PieLayout":2728,"RadialTreeLayout":12348,"RandomLayout":870,"StackedAreaLayout":9121,"TreeMapLayout":9191},"985":{"x":1221,"y":902,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"986":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"987":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"988":{"restoreRenderContextAfterCopy":{"__isSmartRef__":true,"id":989},"draw":{"__isSmartRef__":true,"id":996},"setupExample":{"__isSmartRef__":true,"id":1003},"render":{"__isSmartRef__":true,"id":1006},"setDataAndRender":{"__isSmartRef__":true,"id":1013}},"989":{"varMapping":{"__isSmartRef__":true,"id":990},"source":"function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":995},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"990":{"this":{"__isSmartRef__":true,"id":928},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":991}},"991":{"$super":{"__isSmartRef__":true,"id":992}},"992":{"varMapping":{"__isSmartRef__":true,"id":993},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":994},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"993":{"obj":{"__isSmartRef__":true,"id":928},"name":"restoreRenderContextAfterCopy"},"994":{},"995":{},"996":{"varMapping":{"__isSmartRef__":true,"id":997},"source":"function draw(w, h) {\n alertOK(\"draw \" + w + \" \" + h)\n\tw = w - 30;\n\th = h - 25;\n var format = pv.Format.number();\n var nodes = pv.dom(this.data).root(\"root\").nodes() \n\n\tvar vis = new pv.Panel()\n\t .width(w)\n\t .height(h)\n\t .fillStyle(\"gray\")\n\t .event(\"mousedown\", pv.Behavior.pan())\n\t .event(\"mousewheel\", pv.Behavior.zoom());\n\n var tree = vis.add(pv.Layout.Tree)\n .nodes(nodes)\n .depth(85)\n .breadth(7.25)\n .orient(\"radial\");\n\n tree.link.add(pv.Line);\n\n tree.node.add(pv.Dot)\n .fillStyle(function(n) {return n.firstChild ? \"#aec7e8\" : \"#ff7f0e\" });\n\n tree.label.add(pv.Label);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":1002},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"997":{"this":{"__isSmartRef__":true,"id":928},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":998}},"998":{"$super":{"__isSmartRef__":true,"id":999}},"999":{"varMapping":{"__isSmartRef__":true,"id":1000},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1001},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1000":{"obj":{"__isSmartRef__":true,"id":928},"name":"draw"},"1001":{},"1002":{},"1003":{"varMapping":{"__isSmartRef__":true,"id":1004},"source":"function setupExample() {\n\tthis.graph = {}; \n this.graph.nodes = [\n {nodeName:\"ObjectA\", group:1},\n {nodeName:\"ObjectA\", group:1},\n ];\n this.graph.links = [\n {source:0, target:1, value:1},\n ]\n}","funcProperties":{"__isSmartRef__":true,"id":1005},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1004":{"this":{"__isSmartRef__":true,"id":928}},"1005":{},"1006":{"varMapping":{"__isSmartRef__":true,"id":1007},"source":"function render() {\n\tthis.removeDrawing();\n\n\tvar w = this.getExtent().x - 5, // 2 is for a border width of 1\n\th = this.getExtent().y - 3.5;\n\tthis.vis = this.draw(w, h);\n\n\tvar svg = this.renderContext().svgNode;\n\tif (svg) svg.parentNode.removeChild(svg)\n\tvar svg = NodeFactory.create('svg');\n\tthis.renderContext().morphNode.appendChild(svg);\n\tthis.renderContext().svgNode = svg;\n\tthis.vis.canvas(svg);\n\tthis.vis.render();\n}","funcProperties":{"__isSmartRef__":true,"id":1012},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1007":{"this":{"__isSmartRef__":true,"id":928},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1008}},"1008":{"$super":{"__isSmartRef__":true,"id":1009}},"1009":{"varMapping":{"__isSmartRef__":true,"id":1010},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1011},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1010":{"obj":{"__isSmartRef__":true,"id":928},"name":"render"},"1011":{},"1012":{},"1013":{"varMapping":{"__isSmartRef__":true,"id":1014},"source":"function setDataAndRender(data) {\n\tthis.data = data;\t\n\tthis.render()\n}","funcProperties":{"__isSmartRef__":true,"id":1015},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1014":{"this":{"__isSmartRef__":true,"id":928}},"1015":{},"1016":{"submorphs":[{"__isSmartRef__":true,"id":1017}],"scripts":[],"id":7563,"shape":{"__isSmartRef__":true,"id":1030},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1045},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1033},"lighterFill":{"__isSmartRef__":true,"id":1046},"label":{"__isSmartRef__":true,"id":1017},"attributeConnections":[{"__isSmartRef__":true,"id":1055}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":1056},"name":"Button","partsBinMetaInfo":{"__isSmartRef__":true,"id":1057},"owner":{"__isSmartRef__":true,"id":882},"_Scale":1.0030030010000002,"layout":{"__isSmartRef__":true,"id":1058},"renderContextTable":{"__isSmartRef__":true,"id":1059},"__LivelyClassName__":"lively.morphic.Button"},"1017":{"submorphs":[],"scripts":[],"id":7564,"shape":{"__isSmartRef__":true,"id":1018},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"_OverflowMode":"visible","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1023},"textColor":{"__isSmartRef__":true,"id":1021},"owner":{"__isSmartRef__":true,"id":1016},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1024}],"padding":{"__isSmartRef__":true,"id":1026},"_Padding":{"__isSmartRef__":true,"id":1027},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1028},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontFamily":"Arial","renderContextTable":{"__isSmartRef__":true,"id":1029},"__LivelyClassName__":"lively.morphic.Text"},"1018":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1019},"_Extent":{"__isSmartRef__":true,"id":1020},"_BorderColor":{"__isSmartRef__":true,"id":1021},"renderContextTable":{"__isSmartRef__":true,"id":1022},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1019":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1020":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1021":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1022":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1023":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1024":{"style":{"__isSmartRef__":true,"id":1025},"morph":{"__isSmartRef__":true,"id":1017},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"rerender","__LivelyClassName__":"lively.morphic.TextChunk"},"1025":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1026":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1027":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1028":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1029":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1030":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1031},"_Extent":{"__isSmartRef__":true,"id":1032},"_Fill":{"__isSmartRef__":true,"id":1033},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1044},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1031":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1032":{"x":116,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1033":{"stops":[{"__isSmartRef__":true,"id":1034},{"__isSmartRef__":true,"id":1036},{"__isSmartRef__":true,"id":1038},{"__isSmartRef__":true,"id":1040}],"vector":{"__isSmartRef__":true,"id":1042},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1034":{"offset":0,"color":{"__isSmartRef__":true,"id":1035}},"1035":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1036":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1037}},"1037":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1038":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1039}},"1039":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1040":{"offset":1,"color":{"__isSmartRef__":true,"id":1041}},"1041":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1042":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1043":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1044":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1045":{"x":808.1371317100029,"y":934.2582567520003,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1046":{"stops":[{"__isSmartRef__":true,"id":1047},{"__isSmartRef__":true,"id":1049},{"__isSmartRef__":true,"id":1051},{"__isSmartRef__":true,"id":1053}],"vector":{"__isSmartRef__":true,"id":1042},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1047":{"offset":0,"color":{"__isSmartRef__":true,"id":1048}},"1048":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1049":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1050}},"1050":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1051":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1052}},"1052":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1053":{"offset":1,"color":{"__isSmartRef__":true,"id":1054}},"1054":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1055":{"sourceObj":{"__isSmartRef__":true,"id":1016},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":882},"targetMethodName":"updateVis","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1056":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1057":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1058":{"resizeWidth":false,"resizeHeight":false,"moveVertical":true,"moveHorizontal":false},"1059":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1060":{"submorphs":[],"scripts":[],"id":7565,"shape":{"__isSmartRef__":true,"id":1061},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1066},"_MaxTextWidth":52,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1064},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":1067},"textChunks":[{"__isSmartRef__":true,"id":1068}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[0,0],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":1070},"renderContextTable":{"__isSmartRef__":true,"id":1071},"owner":{"__isSmartRef__":true,"id":882},"layout":{"__isSmartRef__":true,"id":1072},"__LivelyClassName__":"lively.morphic.Text"},"1061":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1062},"_Extent":{"__isSmartRef__":true,"id":1063},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1064},"renderContextTable":{"__isSmartRef__":true,"id":1065},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1062":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1063":{"x":52,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1064":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1065":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1066":{"x":20,"y":932,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1067":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1068":{"style":{"__isSmartRef__":true,"id":1069},"morph":{"__isSmartRef__":true,"id":1060},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"URL:","__LivelyClassName__":"lively.morphic.TextChunk"},"1069":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1070":{"x":52,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1071":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1072":{"moveVertical":true},"1073":{"submorphs":[],"scripts":[],"id":7566,"shape":{"__isSmartRef__":true,"id":1074},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1079},"_MaxTextWidth":713,"_MaxTextHeight":24,"textColor":{"__isSmartRef__":true,"id":1077},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"urlText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1080},"textChunks":[{"__isSmartRef__":true,"id":1081}],"charsReplaced":"","lastFindLoc":58,"priorSelectionRange":[0,59],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":1083},"renderContextTable":{"__isSmartRef__":true,"id":1084},"owner":{"__isSmartRef__":true,"id":882},"layout":{"__isSmartRef__":true,"id":1085},"attributeConnections":[{"__isSmartRef__":true,"id":1086}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"isInputLine":true,"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","allowInput":true,"savedTextString":"http://www.lively-kernel.org/repository/webwerkstatt/demos","__LivelyClassName__":"lively.morphic.Text"},"1074":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1075},"_Extent":{"__isSmartRef__":true,"id":1076},"_BorderWidth":1.4800000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1077},"renderContextTable":{"__isSmartRef__":true,"id":1078},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1075":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1076":{"x":713,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1077":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1078":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1079":{"x":85,"y":936,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1080":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1081":{"style":{"__isSmartRef__":true,"id":1082},"morph":{"__isSmartRef__":true,"id":1073},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://www.lively-kernel.org/repository/webwerkstatt/demos","__LivelyClassName__":"lively.morphic.TextChunk"},"1082":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1083":{"x":713,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1084":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1085":{"moveVertical":true},"1086":{"sourceObj":{"__isSmartRef__":true,"id":1073},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":882},"targetMethodName":"updateVis","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1087":{"submorphs":[],"scripts":[],"id":7824,"shape":{"__isSmartRef__":true,"id":1088},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1093},"_MaxTextWidth":278.6185722369539,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1091},"showsHalos":false,"_FontSize":10,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":1094},"textChunks":[{"__isSmartRef__":true,"id":1095},{"__isSmartRef__":true,"id":1097}],"charsReplaced":"TreeMap","lastFindLoc":-3,"priorSelectionRange":[3,50],"prevScroll":[0,0],"_Scale":0.9980029960049943,"priorExtent":{"__isSmartRef__":true,"id":1099},"renderContextTable":{"__isSmartRef__":true,"id":1100},"owner":{"__isSmartRef__":true,"id":882},"__LivelyClassName__":"lively.morphic.Text"},"1088":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1089},"_Extent":{"__isSmartRef__":true,"id":1090},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1091},"renderContextTable":{"__isSmartRef__":true,"id":1092},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1089":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1090":{"x":278.6185722369539,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1091":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1092":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1093":{"x":924.6135802259682,"y":953.7558665111119,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1094":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1095":{"style":{"__isSmartRef__":true,"id":1096},"morph":{"__isSmartRef__":true,"id":1087},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"see","__LivelyClassName__":"lively.morphic.TextChunk"},"1096":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1097":{"style":{"__isSmartRef__":true,"id":1098},"morph":{"__isSmartRef__":true,"id":1087},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" http://vis.stanford.edu/protovis/ex/tree.html","__LivelyClassName__":"lively.morphic.TextChunk"},"1098":{"__SourceModuleName__":"Global.lively.morphic.TextCore","uri":"http://vis.stanford.edu/protovis/ex/tree.html","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1099":{"x":278.6185722369539,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1100":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1101":{"position":{"__isSmartRef__":true,"id":1102},"_Extent":{"__isSmartRef__":true,"id":1103},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1104},"_Fill":{"__isSmartRef__":true,"id":1105},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1106},"_BorderRadius":9.25,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1102":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1103":{"x":1243,"y":974,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1104":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1105":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1106":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1107":{"x":112,"y":3412,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1108":{"partsSpaceName":"PartsBin/Visualization/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Serializes an object and shows a graph of how the objects in the serialization reference each other. Great for debugging serialization but also for chasing pointers.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1109":{"x":1243,"y":974,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1110":{"adjustForNewBounds":true},"1111":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1112":{"updateVis":{"__isSmartRef__":true,"id":1113}},"1113":{"varMapping":{"__isSmartRef__":true,"id":1114},"source":"function updateVis() {\n sortIntoTree = function(path, subtree) {\n if (path.length == 0) return;\n var name = path.shift();\n if (path.length == 0) {\n subtree[name] = 1;\n return\n } \n if (!subtree[name] || subtree[name] == 1) {\n subtree[name] = {}\n };\n return sortIntoTree(path, subtree[name])\n\n }\n buildTree = function(rootURL) {\n var tree = {}\n var webR = new WebResource(rootURL).getSubElements(10)\n var all = webR.subCollections.concat(webR.subDocuments);\n all.forEach(function(ea) {\n var path = ea.getURL().relativePathFrom(rootURL)\n .split(\"/\").select(function(ea){return ea}).collect(function(ea) {\n return ea.replace(/[^A-Za-z0-1]/g, \"_\")\n })\n sortIntoTree(path, tree)\n })\n alert(\"found \" + all.length + \" pages\")\n return tree\n }\n var data = buildTree(new URL(this.get('urlText').textString)) \n\n this.get('ProtoVisGraph').setDataAndRender(data)\n}","funcProperties":{"__isSmartRef__":true,"id":1115},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1114":{"this":{"__isSmartRef__":true,"id":882}},"1115":{},"1116":{"submorphs":[{"__isSmartRef__":true,"id":1117},{"__isSmartRef__":true,"id":1242},{"__isSmartRef__":true,"id":1275},{"__isSmartRef__":true,"id":1288},{"__isSmartRef__":true,"id":1386},{"__isSmartRef__":true,"id":1429},{"__isSmartRef__":true,"id":1441},{"__isSmartRef__":true,"id":1454},{"__isSmartRef__":true,"id":1467}],"scripts":[],"id":7699,"shape":{"__isSmartRef__":true,"id":1515},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1520},"_Position":{"__isSmartRef__":true,"id":1521},"priorExtent":{"__isSmartRef__":true,"id":1522},"targetMorph":{"__isSmartRef__":true,"id":1523},"titleBar":{"__isSmartRef__":true,"id":1117},"contentOffset":{"__isSmartRef__":true,"id":3628},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":{"__isSmartRef__":true,"id":3629},"expandedExtent":{"__isSmartRef__":true,"id":3630},"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":3631},"showsHalos":false,"name":"ObjectEditor","__SourceModuleName__":"Global.lively.morphic.Widgets","target":{"__isSmartRef__":true,"id":928},"expandedPosition":{"__isSmartRef__":true,"id":3632},"partsBinMetaInfo":{"__isSmartRef__":true,"id":3633},"scriptList":{"__isSmartRef__":true,"id":1275},"scriptPane":{"__isSmartRef__":true,"id":1288},"classButton":{"__isSmartRef__":true,"id":1386},"connectionList":{"__isSmartRef__":true,"id":1441},"targetButton":{"__isSmartRef__":true,"id":3634},"renderContextTable":{"__isSmartRef__":true,"id":3674},"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3675},"__LivelyClassName__":"lively.morphic.Window"},"1117":{"submorphs":[{"__isSmartRef__":true,"id":1118},{"__isSmartRef__":true,"id":1130},{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1202}],"scripts":[],"id":7700,"shape":{"__isSmartRef__":true,"id":1233},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1238},"_Position":{"__isSmartRef__":true,"id":1239},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1116},"label":{"__isSmartRef__":true,"id":1118},"closeButton":{"__isSmartRef__":true,"id":1130},"menuButton":{"__isSmartRef__":true,"id":1172},"collapseButton":{"__isSmartRef__":true,"id":1202},"priorExtent":{"__isSmartRef__":true,"id":1240},"owner":{"__isSmartRef__":true,"id":1116},"__SourceModuleName__":"Global.lively.morphic.Widgets","name":"ObjectEditorTitleBar","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1241},"__LivelyClassName__":"lively.morphic.TitleBar"},"1118":{"submorphs":[],"scripts":[],"id":7701,"shape":{"__isSmartRef__":true,"id":1119},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1124},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1125},"priorExtent":{"__isSmartRef__":true,"id":1126},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1127}],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"_Align":"center","owner":{"__isSmartRef__":true,"id":1117},"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1129},"__LivelyClassName__":"lively.morphic.Text"},"1119":{"_Position":{"__isSmartRef__":true,"id":1120},"_Extent":{"__isSmartRef__":true,"id":1121},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1122},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1123},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1120":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1121":{"x":941.9776803724167,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1122":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1123":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1124":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1125":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1126":{"x":941.9776803724167,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1127":{"style":{"__isSmartRef__":true,"id":1128},"morph":{"__isSmartRef__":true,"id":1118},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ObjectEditor - ProtoVisGraph","__LivelyClassName__":"lively.morphic.TextChunk"},"1128":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1129":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1130":{"submorphs":[{"__isSmartRef__":true,"id":1131}],"scripts":[],"id":7702,"shape":{"__isSmartRef__":true,"id":1142},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1157},"priorExtent":{"__isSmartRef__":true,"id":1158},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1146},"lighterFill":{"__isSmartRef__":true,"id":1159},"label":{"__isSmartRef__":true,"id":1131},"owner":{"__isSmartRef__":true,"id":1117},"layout":{"__isSmartRef__":true,"id":1168},"attributeConnections":[{"__isSmartRef__":true,"id":1169},{"__isSmartRef__":true,"id":1170}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1171},"__LivelyClassName__":"lively.morphic.WindowControl"},"1131":{"submorphs":[],"scripts":[],"id":7703,"shape":{"__isSmartRef__":true,"id":1132},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1136},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1137},"priorExtent":{"__isSmartRef__":true,"id":1138},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1139}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1130},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1141},"__LivelyClassName__":"lively.morphic.Text"},"1132":{"_Position":{"__isSmartRef__":true,"id":1133},"_Extent":{"__isSmartRef__":true,"id":1134},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1122},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1135},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1133":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1134":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1135":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1136":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1137":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1138":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1139":{"style":{"__isSmartRef__":true,"id":1140},"morph":{"__isSmartRef__":true,"id":1131},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"1140":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1141":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1142":{"_Position":{"__isSmartRef__":true,"id":1143},"_Extent":{"__isSmartRef__":true,"id":1144},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1145},"_Fill":{"__isSmartRef__":true,"id":1146},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1156},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1143":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1144":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1145":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1146":{"stops":[{"__isSmartRef__":true,"id":1147},{"__isSmartRef__":true,"id":1149},{"__isSmartRef__":true,"id":1151},{"__isSmartRef__":true,"id":1153}],"vector":{"__isSmartRef__":true,"id":1155},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1147":{"offset":0,"color":{"__isSmartRef__":true,"id":1148}},"1148":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1149":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1150}},"1150":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1151":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1152}},"1152":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1153":{"offset":1,"color":{"__isSmartRef__":true,"id":1154}},"1154":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1155":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1156":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1157":{"x":980.9776803724167,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1158":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1159":{"stops":[{"__isSmartRef__":true,"id":1160},{"__isSmartRef__":true,"id":1162},{"__isSmartRef__":true,"id":1164},{"__isSmartRef__":true,"id":1166}],"vector":{"__isSmartRef__":true,"id":1155},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1160":{"offset":0,"color":{"__isSmartRef__":true,"id":1161}},"1161":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1162":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1163}},"1163":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1164":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1165}},"1165":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1166":{"offset":1,"color":{"__isSmartRef__":true,"id":1167}},"1167":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1168":{"moveHorizontal":true},"1169":{"sourceObj":{"__isSmartRef__":true,"id":1130},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1170":{"sourceObj":{"__isSmartRef__":true,"id":1130},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1171":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1172":{"submorphs":[{"__isSmartRef__":true,"id":1173}],"scripts":[],"id":7704,"shape":{"__isSmartRef__":true,"id":1184},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1188},"priorExtent":{"__isSmartRef__":true,"id":1189},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1146},"lighterFill":{"__isSmartRef__":true,"id":1190},"label":{"__isSmartRef__":true,"id":1173},"owner":{"__isSmartRef__":true,"id":1117},"attributeConnections":[{"__isSmartRef__":true,"id":1199},{"__isSmartRef__":true,"id":1200}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1201},"__LivelyClassName__":"lively.morphic.WindowControl"},"1173":{"submorphs":[],"scripts":[],"id":7705,"shape":{"__isSmartRef__":true,"id":1174},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1178},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1179},"priorExtent":{"__isSmartRef__":true,"id":1180},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1181}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1172},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1183},"__LivelyClassName__":"lively.morphic.Text"},"1174":{"_Position":{"__isSmartRef__":true,"id":1175},"_Extent":{"__isSmartRef__":true,"id":1176},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1122},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1177},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1175":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1176":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1177":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1178":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1179":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1180":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1181":{"style":{"__isSmartRef__":true,"id":1182},"morph":{"__isSmartRef__":true,"id":1173},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"1182":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1183":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1184":{"_Position":{"__isSmartRef__":true,"id":1185},"_Extent":{"__isSmartRef__":true,"id":1186},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1145},"_Fill":{"__isSmartRef__":true,"id":1146},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1187},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1185":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1186":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1187":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1188":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1189":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1190":{"stops":[{"__isSmartRef__":true,"id":1191},{"__isSmartRef__":true,"id":1193},{"__isSmartRef__":true,"id":1195},{"__isSmartRef__":true,"id":1197}],"vector":{"__isSmartRef__":true,"id":1155},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1191":{"offset":0,"color":{"__isSmartRef__":true,"id":1192}},"1192":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1193":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1194}},"1194":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1195":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1196}},"1196":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1197":{"offset":1,"color":{"__isSmartRef__":true,"id":1198}},"1198":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1199":{"sourceObj":{"__isSmartRef__":true,"id":1172},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1200":{"sourceObj":{"__isSmartRef__":true,"id":1172},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1201":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1202":{"submorphs":[{"__isSmartRef__":true,"id":1203}],"scripts":[],"id":7706,"shape":{"__isSmartRef__":true,"id":1214},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1218},"priorExtent":{"__isSmartRef__":true,"id":1219},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1146},"lighterFill":{"__isSmartRef__":true,"id":1220},"label":{"__isSmartRef__":true,"id":1203},"owner":{"__isSmartRef__":true,"id":1117},"layout":{"__isSmartRef__":true,"id":1229},"attributeConnections":[{"__isSmartRef__":true,"id":1230},{"__isSmartRef__":true,"id":1231}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1232},"__LivelyClassName__":"lively.morphic.WindowControl"},"1203":{"submorphs":[],"scripts":[],"id":7707,"shape":{"__isSmartRef__":true,"id":1204},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1208},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1209},"priorExtent":{"__isSmartRef__":true,"id":1210},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1211}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1202},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1213},"__LivelyClassName__":"lively.morphic.Text"},"1204":{"_Position":{"__isSmartRef__":true,"id":1205},"_Extent":{"__isSmartRef__":true,"id":1206},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1122},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1207},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1205":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1206":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1207":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1208":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1209":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1210":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1211":{"style":{"__isSmartRef__":true,"id":1212},"morph":{"__isSmartRef__":true,"id":1203},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"1212":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1213":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1214":{"_Position":{"__isSmartRef__":true,"id":1215},"_Extent":{"__isSmartRef__":true,"id":1216},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1145},"_Fill":{"__isSmartRef__":true,"id":1146},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1217},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1215":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1216":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1217":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1218":{"x":961.9776803724167,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1219":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1220":{"stops":[{"__isSmartRef__":true,"id":1221},{"__isSmartRef__":true,"id":1223},{"__isSmartRef__":true,"id":1225},{"__isSmartRef__":true,"id":1227}],"vector":{"__isSmartRef__":true,"id":1155},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1221":{"offset":0,"color":{"__isSmartRef__":true,"id":1222}},"1222":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1223":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1224}},"1224":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1225":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1226}},"1226":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1227":{"offset":1,"color":{"__isSmartRef__":true,"id":1228}},"1228":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1229":{"moveHorizontal":true},"1230":{"sourceObj":{"__isSmartRef__":true,"id":1202},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1231":{"sourceObj":{"__isSmartRef__":true,"id":1202},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1232":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1233":{"_Position":{"__isSmartRef__":true,"id":1234},"_Extent":{"__isSmartRef__":true,"id":1235},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1236},"_Fill":{"__isSmartRef__":true,"id":409},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1237},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1234":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1235":{"x":1000.9776803724167,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1236":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1237":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1238":{"resizeWidth":true,"adjustForNewBounds":true},"1239":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1240":{"x":1000.9776803724167,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1241":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1242":{"submorphs":[],"scripts":[],"id":7708,"shape":{"__isSmartRef__":true,"id":1243},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1249},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":1250},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1251},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1116},"renderContextTable":{"__isSmartRef__":true,"id":1252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1253},"__LivelyClassName__":"lively.morphic.Box"},"1243":{"position":{"__isSmartRef__":true,"id":1244},"_Extent":{"__isSmartRef__":true,"id":1245},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1246},"_Fill":{"__isSmartRef__":true,"id":1247},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1248},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1244":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1245":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1246":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1247":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1248":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1249":{"x":988,"y":568.2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1250":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Resize an object without using halos.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1251":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1252":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1253":{"onDrag":{"__isSmartRef__":true,"id":1254},"onDragEnd":{"__isSmartRef__":true,"id":1261},"onDragStart":{"__isSmartRef__":true,"id":1268}},"1254":{"varMapping":{"__isSmartRef__":true,"id":1255},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":1260},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1255":{"this":{"__isSmartRef__":true,"id":1242},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1256}},"1256":{"$super":{"__isSmartRef__":true,"id":1257}},"1257":{"varMapping":{"__isSmartRef__":true,"id":1258},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1259},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1258":{"obj":{"__isSmartRef__":true,"id":1242},"name":"onDrag"},"1259":{},"1260":{},"1261":{"varMapping":{"__isSmartRef__":true,"id":1262},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1267},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1262":{"this":{"__isSmartRef__":true,"id":1242},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1263}},"1263":{"$super":{"__isSmartRef__":true,"id":1264}},"1264":{"varMapping":{"__isSmartRef__":true,"id":1265},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1266},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1265":{"obj":{"__isSmartRef__":true,"id":1242},"name":"onDragEnd"},"1266":{},"1267":{},"1268":{"varMapping":{"__isSmartRef__":true,"id":1269},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":1274},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1269":{"this":{"__isSmartRef__":true,"id":1242},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1270}},"1270":{"$super":{"__isSmartRef__":true,"id":1271}},"1271":{"varMapping":{"__isSmartRef__":true,"id":1272},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1273},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1272":{"obj":{"__isSmartRef__":true,"id":1242},"name":"onDragStart"},"1273":{},"1274":{},"1275":{"submorphs":[],"scripts":[],"id":7709,"shape":{"__isSmartRef__":true,"id":1276},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1282},"itemList":["draw","render","restoreRenderContextAfterCopy","setDataAndRender","setupExample"],"selectedLineNo":0,"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":1283},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1116},"priorExtent":{"__isSmartRef__":true,"id":1284},"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1285}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"layout":{"__isSmartRef__":true,"id":1286},"doitContext":{"__isSmartRef__":true,"id":1116},"renderContextTable":{"__isSmartRef__":true,"id":1287},"selection":"draw","__LivelyClassName__":"lively.morphic.List"},"1276":{"position":{"__isSmartRef__":true,"id":1277},"_Extent":{"__isSmartRef__":true,"id":1278},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1279},"_Fill":{"__isSmartRef__":true,"id":1280},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1281},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1277":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1278":{"x":173.7,"y":223.23350080310803,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1279":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1280":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1281":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1282":{"x":16,"y":72,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1283":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1284":{"x":173.7,"y":223.2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1285":{"sourceObj":{"__isSmartRef__":true,"id":1275},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"displaySourceForScript","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1286":{"resizeHeight":true},"1287":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","selectAt":"selectAtHTML","getListExtent":"getListExtentHTML"},"1288":{"submorphs":[],"scripts":[],"id":7710,"shape":{"__isSmartRef__":true,"id":1289},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1295},"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_OverflowMode":"auto","_FontFamily":"Monaco,Courier","_Position":{"__isSmartRef__":true,"id":1296},"_MaxTextWidth":785.4776803724167,"_MaxTextHeight":493.2335008031081,"textChunks":[{"__isSmartRef__":true,"id":1297},{"__isSmartRef__":true,"id":1300},{"__isSmartRef__":true,"id":1302},{"__isSmartRef__":true,"id":1304},{"__isSmartRef__":true,"id":1306},{"__isSmartRef__":true,"id":1309},{"__isSmartRef__":true,"id":1311},{"__isSmartRef__":true,"id":1314},{"__isSmartRef__":true,"id":1316},{"__isSmartRef__":true,"id":1318},{"__isSmartRef__":true,"id":1320},{"__isSmartRef__":true,"id":1323},{"__isSmartRef__":true,"id":1325},{"__isSmartRef__":true,"id":1327},{"__isSmartRef__":true,"id":1329},{"__isSmartRef__":true,"id":1332},{"__isSmartRef__":true,"id":1334},{"__isSmartRef__":true,"id":1336},{"__isSmartRef__":true,"id":1338},{"__isSmartRef__":true,"id":1340},{"__isSmartRef__":true,"id":1342},{"__isSmartRef__":true,"id":1344},{"__isSmartRef__":true,"id":1346},{"__isSmartRef__":true,"id":1348},{"__isSmartRef__":true,"id":1350},{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1354},{"__isSmartRef__":true,"id":1356},{"__isSmartRef__":true,"id":1358},{"__isSmartRef__":true,"id":1360},{"__isSmartRef__":true,"id":1362},{"__isSmartRef__":true,"id":1364},{"__isSmartRef__":true,"id":1366},{"__isSmartRef__":true,"id":1368},{"__isSmartRef__":true,"id":1370},{"__isSmartRef__":true,"id":1372}],"layout":{"__isSmartRef__":true,"id":1374},"showsHalos":false,"prevScroll":[0,200],"_Rotation":0,"_Scale":1,"priorSelectionRange":[206,376],"name":"ObjectEditorScriptPane","charsReplaced":" var tree = vis.add(pv.Layout.Tree)\n .nodes(pv.dom(flare).root(\"flare\").nodes())\n .depth(85)\n .breadth(7.25)\n .orient(\"radial\");\n\n tree.link.add(pv.Line);\n\n tree.node.add(pv.Dot)\n .fillStyle(function(n) n.firstChild ? \"#aec7e8\" : \"#ff7f0e\");\n\n tree.label.add(pv.Label);\n","lastFindLoc":731,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1375},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1376},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1116},"_FontSize":10,"lastSyntaxHighlightTime":1305817244283,"doitContext":{"__isSmartRef__":true,"id":928},"savedTextString":"this.addScript(function draw(w, h) {\n alertOK(\"draw \" + w + \" \" + h)\n\tw = w - 30;\n\th = h - 25;\n var format = pv.Format.number();\n var nodes = pv.dom(this.data).root(\"root\").nodes() \n\n\tvar vis = new pv.Panel()\n\t .width(w)\n\t .height(h)\n\t .fillStyle(\"gray\")\n\t .event(\"mousedown\", pv.Behavior.pan())\n\t .event(\"mousewheel\", pv.Behavior.zoom());\n\n var tree = vis.add(pv.Layout.Tree)\n .nodes(nodes)\n .depth(85)\n .breadth(7.25)\n .orient(\"radial\");\n\n tree.link.add(pv.Line);\n\n tree.node.add(pv.Dot)\n .fillStyle(function(n) {return n.firstChild ? \"#aec7e8\" : \"#ff7f0e\" });\n\n tree.label.add(pv.Label);\n\n\treturn vis;\n});","_Align":"justify","renderContextTable":{"__isSmartRef__":true,"id":1377},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1378},"__LivelyClassName__":"lively.morphic.Text"},"1289":{"_Position":{"__isSmartRef__":true,"id":1290},"_Extent":{"__isSmartRef__":true,"id":1291},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1292},"_Fill":{"__isSmartRef__":true,"id":1293},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1294},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1290":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1291":{"x":785.4776803724167,"y":493.2335008031081,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1292":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1293":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1294":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1295":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1296":{"x":200,"y":72,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1297":{"style":{"__isSmartRef__":true,"id":1298},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk"},"1298":{"color":{"__isSmartRef__":true,"id":1299},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1299":{"r":0,"g":0,"b":0.5450980392156862,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1300":{"style":{"__isSmartRef__":true,"id":1301},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":".addScript(","__LivelyClassName__":"lively.morphic.TextChunk"},"1301":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1302":{"style":{"__isSmartRef__":true,"id":1303},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk"},"1303":{"color":{"__isSmartRef__":true,"id":1299},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1304":{"style":{"__isSmartRef__":true,"id":1305},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" draw(w, h) ","__LivelyClassName__":"lively.morphic.TextChunk"},"1305":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1306":{"style":{"__isSmartRef__":true,"id":1307},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk"},"1307":{"color":{"__isSmartRef__":true,"id":1308},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1308":{"r":0,"g":0.5019607843137255,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1309":{"style":{"__isSmartRef__":true,"id":1310},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n alertOK(","__LivelyClassName__":"lively.morphic.TextChunk"},"1310":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1311":{"style":{"__isSmartRef__":true,"id":1312},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\"draw \"","__LivelyClassName__":"lively.morphic.TextChunk"},"1312":{"color":{"__isSmartRef__":true,"id":1313},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1313":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1314":{"style":{"__isSmartRef__":true,"id":1315},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" + w + ","__LivelyClassName__":"lively.morphic.TextChunk"},"1315":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1316":{"style":{"__isSmartRef__":true,"id":1317},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\" \"","__LivelyClassName__":"lively.morphic.TextChunk"},"1317":{"color":{"__isSmartRef__":true,"id":1313},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1318":{"style":{"__isSmartRef__":true,"id":1319},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" + h)\n\tw = w - ","__LivelyClassName__":"lively.morphic.TextChunk"},"1319":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1320":{"style":{"__isSmartRef__":true,"id":1321},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"30","__LivelyClassName__":"lively.morphic.TextChunk"},"1321":{"color":{"__isSmartRef__":true,"id":1322},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1322":{"r":0,"g":0,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1323":{"style":{"__isSmartRef__":true,"id":1324},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":";\n\th = h - ","__LivelyClassName__":"lively.morphic.TextChunk"},"1324":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1325":{"style":{"__isSmartRef__":true,"id":1326},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"25","__LivelyClassName__":"lively.morphic.TextChunk"},"1326":{"color":{"__isSmartRef__":true,"id":1322},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1327":{"style":{"__isSmartRef__":true,"id":1328},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":";\n ","__LivelyClassName__":"lively.morphic.TextChunk"},"1328":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1329":{"style":{"__isSmartRef__":true,"id":1330},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk"},"1330":{"color":{"__isSmartRef__":true,"id":1331},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1331":{"r":0,"g":0,"b":0.5019607843137255,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1332":{"style":{"__isSmartRef__":true,"id":1333},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" format = pv.Format.number();\n ","__LivelyClassName__":"lively.morphic.TextChunk"},"1333":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1334":{"style":{"__isSmartRef__":true,"id":1335},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk"},"1335":{"color":{"__isSmartRef__":true,"id":1331},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1336":{"style":{"__isSmartRef__":true,"id":1337},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" nodes = pv.dom(","__LivelyClassName__":"lively.morphic.TextChunk"},"1337":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1338":{"style":{"__isSmartRef__":true,"id":1339},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk"},"1339":{"color":{"__isSmartRef__":true,"id":1299},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1340":{"style":{"__isSmartRef__":true,"id":1341},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":".data).root(","__LivelyClassName__":"lively.morphic.TextChunk"},"1341":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1342":{"style":{"__isSmartRef__":true,"id":1343},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\"root\"","__LivelyClassName__":"lively.morphic.TextChunk"},"1343":{"color":{"__isSmartRef__":true,"id":1313},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1344":{"style":{"__isSmartRef__":true,"id":1345},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":").nodes() \n\n\t","__LivelyClassName__":"lively.morphic.TextChunk"},"1345":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1346":{"style":{"__isSmartRef__":true,"id":1347},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk"},"1347":{"color":{"__isSmartRef__":true,"id":1331},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1348":{"style":{"__isSmartRef__":true,"id":1349},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" vis = ","__LivelyClassName__":"lively.morphic.TextChunk"},"1349":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1350":{"style":{"__isSmartRef__":true,"id":1351},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"new","__LivelyClassName__":"lively.morphic.TextChunk"},"1351":{"color":{"__isSmartRef__":true,"id":1299},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1352":{"style":{"__isSmartRef__":true,"id":1353},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" pv.Panel()\n\t .width(w)\n\t .height(h)\n\t .fillStyle(","__LivelyClassName__":"lively.morphic.TextChunk"},"1353":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1354":{"style":{"__isSmartRef__":true,"id":1355},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\"gray\"","__LivelyClassName__":"lively.morphic.TextChunk"},"1355":{"color":{"__isSmartRef__":true,"id":1313},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1356":{"style":{"__isSmartRef__":true,"id":1357},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":")\n\t .event(","__LivelyClassName__":"lively.morphic.TextChunk"},"1357":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1358":{"style":{"__isSmartRef__":true,"id":1359},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\"mousedown\"","__LivelyClassName__":"lively.morphic.TextChunk"},"1359":{"color":{"__isSmartRef__":true,"id":1313},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1360":{"style":{"__isSmartRef__":true,"id":1361},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":", pv.Behavior.pan())\n\t .event(","__LivelyClassName__":"lively.morphic.TextChunk"},"1361":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1362":{"style":{"__isSmartRef__":true,"id":1363},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\"mousewheel\", pv.Behavior.zoom());\n\n var tree = vis.add(pv.Layout.Tree)\n .nodes(nodes)\n .depth(85)\n .breadth(7.25)\n .orient(\"radial\");\n\n tree.link.add(pv.Line);\n\n tree.node.add(pv.Dot)\n .fillStyle(function(n) {return n.firstChild ? \"#aec7e8\" : \"#ff7f0e\" });\n\n tree.label.add(pv.Label);\n","__LivelyClassName__":"lively.morphic.TextChunk"},"1363":{"color":{"__isSmartRef__":true,"id":1313},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1364":{"style":{"__isSmartRef__":true,"id":1365},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n\t","__LivelyClassName__":"lively.morphic.TextChunk"},"1365":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1366":{"style":{"__isSmartRef__":true,"id":1367},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"return","__LivelyClassName__":"lively.morphic.TextChunk"},"1367":{"color":{"__isSmartRef__":true,"id":1331},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1368":{"style":{"__isSmartRef__":true,"id":1369},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" vis;\n","__LivelyClassName__":"lively.morphic.TextChunk"},"1369":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1370":{"style":{"__isSmartRef__":true,"id":1371},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk"},"1371":{"color":{"__isSmartRef__":true,"id":1308},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1372":{"style":{"__isSmartRef__":true,"id":1373},"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":");","__LivelyClassName__":"lively.morphic.TextChunk"},"1373":{"color":{"__isSmartRef__":true,"id":275},"fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1374":{"resizeWidth":true,"resizeHeight":true},"1375":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1376":{"x":785.4776803724167,"y":493.2335008031081,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1377":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1378":{"doSave":{"__isSmartRef__":true,"id":1379}},"1379":{"varMapping":{"__isSmartRef__":true,"id":1380},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":1385},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1380":{"this":{"__isSmartRef__":true,"id":1288},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1381}},"1381":{"$super":{"__isSmartRef__":true,"id":1382}},"1382":{"varMapping":{"__isSmartRef__":true,"id":1383},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1384},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1383":{"obj":{"__isSmartRef__":true,"id":1288},"name":"doSave"},"1384":{},"1385":{},"1386":{"submorphs":[{"__isSmartRef__":true,"id":1387}],"scripts":[],"id":7711,"shape":{"__isSmartRef__":true,"id":1400},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1415},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1403},"lighterFill":{"__isSmartRef__":true,"id":1416},"label":{"__isSmartRef__":true,"id":1387},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":1425},"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1426},"_Scale":1,"owner":{"__isSmartRef__":true,"id":1116},"layout":{"__isSmartRef__":true,"id":1427},"renderContextTable":{"__isSmartRef__":true,"id":1428},"__LivelyClassName__":"lively.morphic.Button"},"1387":{"submorphs":[],"scripts":[],"id":7712,"shape":{"__isSmartRef__":true,"id":1388},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"_OverflowMode":"visible","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1393},"textColor":{"__isSmartRef__":true,"id":1391},"owner":{"__isSmartRef__":true,"id":1386},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1394}],"padding":{"__isSmartRef__":true,"id":1396},"_Padding":{"__isSmartRef__":true,"id":1397},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1398},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1399},"__LivelyClassName__":"lively.morphic.Text"},"1388":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1389},"_Extent":{"__isSmartRef__":true,"id":1390},"_BorderColor":{"__isSmartRef__":true,"id":1391},"renderContextTable":{"__isSmartRef__":true,"id":1392},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1389":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1390":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1391":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1392":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1393":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1394":{"style":{"__isSmartRef__":true,"id":1395},"morph":{"__isSmartRef__":true,"id":1387},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Class","__LivelyClassName__":"lively.morphic.TextChunk"},"1395":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1396":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1397":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1398":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1399":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1400":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1401},"_Extent":{"__isSmartRef__":true,"id":1402},"_Fill":{"__isSmartRef__":true,"id":1403},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1413},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1414},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1401":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1402":{"x":116,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1403":{"stops":[{"__isSmartRef__":true,"id":1404},{"__isSmartRef__":true,"id":1406},{"__isSmartRef__":true,"id":1408},{"__isSmartRef__":true,"id":1410}],"vector":{"__isSmartRef__":true,"id":1412},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1404":{"offset":0,"color":{"__isSmartRef__":true,"id":1405}},"1405":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1406":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1407}},"1407":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1408":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1409}},"1409":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1410":{"offset":1,"color":{"__isSmartRef__":true,"id":1411}},"1411":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1412":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1413":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1414":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1415":{"x":840,"y":35,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1416":{"stops":[{"__isSmartRef__":true,"id":1417},{"__isSmartRef__":true,"id":1419},{"__isSmartRef__":true,"id":1421},{"__isSmartRef__":true,"id":1423}],"vector":{"__isSmartRef__":true,"id":1412},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1417":{"offset":0,"color":{"__isSmartRef__":true,"id":1418}},"1418":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1419":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1420}},"1420":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1421":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1422}},"1422":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1423":{"offset":1,"color":{"__isSmartRef__":true,"id":1424}},"1424":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1425":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1426":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1427":{"moveHorizontal":true},"1428":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1429":{"submorphs":[],"scripts":[],"id":7713,"shape":{"__isSmartRef__":true,"id":1430},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1435},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1433},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"ObjectEditorScriptsText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1436},"textChunks":[{"__isSmartRef__":true,"id":1437}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":1439},"owner":{"__isSmartRef__":true,"id":1116},"renderContextTable":{"__isSmartRef__":true,"id":1440},"__LivelyClassName__":"lively.morphic.Text"},"1430":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1431},"_Extent":{"__isSmartRef__":true,"id":1432},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1433},"renderContextTable":{"__isSmartRef__":true,"id":1434},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1431":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1432":{"x":64.8979476392384,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1433":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1434":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1435":{"x":14.797889305450894,"y":46.17876045210768,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1436":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1437":{"style":{"__isSmartRef__":true,"id":1438},"morph":{"__isSmartRef__":true,"id":1429},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Scripts","__LivelyClassName__":"lively.morphic.TextChunk"},"1438":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1439":{"x":64.8979476392384,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1440":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1441":{"submorphs":[],"scripts":[],"id":7714,"shape":{"__isSmartRef__":true,"id":1442},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1448},"itemList":[],"selectedLineNo":-1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":1449},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1116},"priorExtent":{"__isSmartRef__":true,"id":1450},"attributeConnections":[{"__isSmartRef__":true,"id":1451}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":1452},"renderContextTable":{"__isSmartRef__":true,"id":1453},"__LivelyClassName__":"lively.morphic.List"},"1442":{"position":{"__isSmartRef__":true,"id":1443},"_Extent":{"__isSmartRef__":true,"id":1444},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1445},"_Fill":{"__isSmartRef__":true,"id":1446},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1447},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1443":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1444":{"x":173.7,"y":223.2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1445":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1446":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1447":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1448":{"x":16,"y":342,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1449":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1450":{"x":165.7,"y":215.2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1451":{"sourceObj":{"__isSmartRef__":true,"id":1441},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"displaySourceForConnection","converterString":"function (newValue) {\n if (!newValue || !newValue[1]) { return \"\"}; \n return newValue[1]}","updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1452":{"resizeHeight":true,"moveVertical":true},"1453":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","selectAt":"selectAtHTML","getListExtent":"getListExtentHTML"},"1454":{"submorphs":[],"scripts":[],"id":7715,"shape":{"__isSmartRef__":true,"id":1455},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1460},"_MaxTextWidth":124.10506681670552,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1458},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"ObjectEditorConnectionsText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1461},"textChunks":[{"__isSmartRef__":true,"id":1462}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,0],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":1464},"owner":{"__isSmartRef__":true,"id":1116},"layout":{"__isSmartRef__":true,"id":1465},"renderContextTable":{"__isSmartRef__":true,"id":1466},"__LivelyClassName__":"lively.morphic.Text"},"1455":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1456},"_Extent":{"__isSmartRef__":true,"id":1457},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1458},"_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1459},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1456":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1457":{"x":124.10506681670552,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1458":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1459":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1460":{"x":12.000000000000114,"y":316,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1461":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1462":{"style":{"__isSmartRef__":true,"id":1463},"morph":{"__isSmartRef__":true,"id":1454},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Connections","__LivelyClassName__":"lively.morphic.TextChunk"},"1463":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1464":{"x":124.10506681670552,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1465":{"moveVertical":true},"1466":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1467":{"submorphs":[],"scripts":[],"id":7716,"shape":{"__isSmartRef__":true,"id":1468},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1473},"_MaxTextWidth":246,"_MaxTextHeight":27,"textColor":{"__isSmartRef__":true,"id":1471},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"morphSelection","partsBinMetaInfo":{"__isSmartRef__":true,"id":1474},"textChunks":[{"__isSmartRef__":true,"id":1475}],"charsReplaced":"empty","lastFindLoc":-5,"priorSelectionRange":[4,4],"prevScroll":[0,0],"_Scale":1,"_ClipMode":"hidden","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":1477},{"__isSmartRef__":true,"id":1478},{"__isSmartRef__":true,"id":1479}],"doNotSerialize":["$$selection","$$savedTextString"],"doNotCopyProperties":["$$selection","$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":1116},"priorExtent":{"__isSmartRef__":true,"id":1480},"_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":1481},"selection":{"__isSmartRef__":true,"id":1116},"savedTextString":"100","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1482},"__LivelyClassName__":"lively.morphic.Text"},"1468":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1469},"_Extent":{"__isSmartRef__":true,"id":1470},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1471},"renderContextTable":{"__isSmartRef__":true,"id":1472},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1469":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1470":{"x":246,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1471":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1472":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1473":{"x":200.0585881176471,"y":38.25488251013775,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1474":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1475":{"style":{"__isSmartRef__":true,"id":1476},"morph":{"__isSmartRef__":true,"id":1467},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ProtoVisGraph","__LivelyClassName__":"lively.morphic.TextChunk"},"1476":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1477":{"sourceObj":{"__isSmartRef__":true,"id":1467},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1116},"targetMethodName":"setTarget","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1478":{"sourceObj":{"__isSmartRef__":true,"id":1467},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1467},"targetMethodName":"textString","__SourceModuleName__":"Global.lively.bindings","converterString":"function (morph) { return morph.getName() }","updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection"},"1479":{"sourceObj":{"__isSmartRef__":true,"id":1467},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1467},"targetMethodName":"selection","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1480":{"x":246,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1481":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1482":{"onMouseUp":{"__isSmartRef__":true,"id":1483},"getList":{"__isSmartRef__":true,"id":1490},"setList":{"__isSmartRef__":true,"id":1493},"reset":{"__isSmartRef__":true,"id":1496},"example":{"__isSmartRef__":true,"id":1499},"removeList":{"__isSmartRef__":true,"id":1502},"onBlur":{"__isSmartRef__":true,"id":1505},"createListMorph":{"__isSmartRef__":true,"id":1512}},"1483":{"varMapping":{"__isSmartRef__":true,"id":1484},"source":"function onMouseUp(evt) {\n\tif (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n\tif (this.listMorph) { this.removeList();\treturn true }\n\tvar list = this.createListMorph();\n\tthis.addMorph(list);\n\tlist.align(list.bounds().topLeft(), this.shape.bounds().bottomLeft())\n\tconnect(list, 'selection', this, 'selection');\n\tconnect(list, 'selection', this, 'removeList');\n\tif (this.listMorph) this.listMorph.remove();\n\tthis.listMorph = list;\n\treturn true;\n}","funcProperties":{"__isSmartRef__":true,"id":1489},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1484":{"this":{"__isSmartRef__":true,"id":1467},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1485}},"1485":{"$super":{"__isSmartRef__":true,"id":1486}},"1486":{"varMapping":{"__isSmartRef__":true,"id":1487},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1488},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1487":{"obj":{"__isSmartRef__":true,"id":1467},"name":"onMouseUp"},"1488":{},"1489":{},"1490":{"varMapping":{"__isSmartRef__":true,"id":1491},"source":"function getList() {\n\treturn this.world().indentedListItemsOfMorphNames()\n}","funcProperties":{"__isSmartRef__":true,"id":1492},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1491":{"this":{"__isSmartRef__":true,"id":1467}},"1492":{},"1493":{"varMapping":{"__isSmartRef__":true,"id":1494},"source":"function setList(list) {\n\treturn this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":1495},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1494":{"this":{"__isSmartRef__":true,"id":1467}},"1495":{},"1496":{"varMapping":{"__isSmartRef__":true,"id":1497},"source":"function reset() {\n\tthis.list = [];\n\tthis.textString = 'empty';\n\tthis.removeList()\n\tdisconnectAll(this)\n\tconnect(this, 'selection', this, 'textString', {converter: function(morph) { return morph.getName() }})\n\tconnect(this, 'savedTextString', this, 'selection')\n\tthis.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'hidden'})\n}","funcProperties":{"__isSmartRef__":true,"id":1498},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1497":{"this":{"__isSmartRef__":true,"id":1467}},"1498":{},"1499":{"varMapping":{"__isSmartRef__":true,"id":1500},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n\tthis.setList(Array.range(0,100));\n\tthis.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":1501},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1500":{"this":{"__isSmartRef__":true,"id":1467}},"1501":{},"1502":{"varMapping":{"__isSmartRef__":true,"id":1503},"source":"function removeList() {\n\tthis.listMorph && this.listMorph.remove()\n\tthis.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1504},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1503":{"this":{"__isSmartRef__":true,"id":1467}},"1504":{},"1505":{"varMapping":{"__isSmartRef__":true,"id":1506},"source":"function onBlur() {\n\t$super();\n\tthis.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":1511},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1506":{"this":{"__isSmartRef__":true,"id":1467},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1507}},"1507":{"$super":{"__isSmartRef__":true,"id":1508}},"1508":{"varMapping":{"__isSmartRef__":true,"id":1509},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1510},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1509":{"obj":{"__isSmartRef__":true,"id":1467},"name":"onBlur"},"1510":{},"1511":{},"1512":{"varMapping":{"__isSmartRef__":true,"id":1513},"source":"function createListMorph() {\n\treturn new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 520), this.getList());\n}","funcProperties":{"__isSmartRef__":true,"id":1514},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1513":{"this":{"__isSmartRef__":true,"id":1467}},"1514":{},"1515":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":1516},"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1517},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":{"__isSmartRef__":true,"id":1518},"renderContextTable":{"__isSmartRef__":true,"id":1519},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1516":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1517":{"x":1001,"y":583.2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1518":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1519":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1520":{"adjustForNewBounds":true},"1521":{"x":1350.5244219696503,"y":3444.908399349345,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1522":{"x":1001,"y":583.2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1523":{"submorphs":[],"scripts":[],"id":1562,"shape":{"__isSmartRef__":true,"id":1524},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1527},"name":"ObjectEditor","owner":{"__isSmartRef__":true,"id":1528},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Core","eventsAreIgnored":true,"_HandStyle":"default","_Visible":false,"isCopyMorphRef":true,"morphRefId":2,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"1524":{"_Position":{"__isSmartRef__":true,"id":1525},"_Extent":{"__isSmartRef__":true,"id":1526},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1525":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1526":{"x":800,"y":450,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1527":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1528":{"submorphs":[{"__isSmartRef__":true,"id":1529},{"__isSmartRef__":true,"id":1542},{"__isSmartRef__":true,"id":1554},{"__isSmartRef__":true,"id":2593},{"__isSmartRef__":true,"id":2845},{"__isSmartRef__":true,"id":3366},{"__isSmartRef__":true,"id":1523},{"__isSmartRef__":true,"id":3498},{"__isSmartRef__":true,"id":1116},{"__isSmartRef__":true,"id":3614}],"scripts":[],"id":225,"shape":{"__isSmartRef__":true,"id":3620},"grabbingEnabled":false,"droppingEnabled":true,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3624},"hands":[{"__isSmartRef__":true,"id":3614}],"clickedOnMorph":null,"currentHaloTarget":null,"draggedMorph":null,"__SourceModuleName__":"Global.lively.morphic.Core","changeSet":{"__isSmartRef__":true,"id":3625},"statusMessages":[],"showsHalos":false,"lastAlert":"dropping on ","draggingEnabled":true,"_Scale":1,"attributeConnections":[{"__isSmartRef__":true,"id":3626}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"eventStartPos":null,"savedWorldAsURL":{"__isSmartRef__":true,"id":3627},"__LivelyClassName__":"lively.morphic.World"},"1529":{"submorphs":[],"scripts":[],"id":257,"shape":{"__isSmartRef__":true,"id":1530},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1534},"_MaxTextWidth":202.48973819619198,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1535},"showsHalos":false,"_FontSize":25,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":1536},"_TextColor":{"__isSmartRef__":true,"id":1537},"owner":{"__isSmartRef__":true,"id":1528},"_Rotation":0,"textChunks":[{"__isSmartRef__":true,"id":1538}],"charsReplaced":"Use this page as a template for your own worlds","lastFindLoc":-47,"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":1540},"priorSelectionRange":[0,12],"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1541},"__LivelyClassName__":"lively.morphic.Text"},"1530":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1531},"_Extent":{"__isSmartRef__":true,"id":1532},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1533},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1531":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1532":{"x":202.48973819619198,"y":-65.1020523607616,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1533":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1534":{"x":9.72943880505045,"y":12.687814005827482,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1535":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1536":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1537":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1538":{"style":{"__isSmartRef__":true,"id":1539},"morph":{"__isSmartRef__":true,"id":1529},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1539":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1540":{"x":202.48973819619198,"y":-65.1020523607616,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1541":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1542":{"submorphs":[],"scripts":[],"id":66,"shape":{"__isSmartRef__":true,"id":1543},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1548},"_MaxTextWidth":840.9066868037173,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1546},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":1549},"textChunks":[{"__isSmartRef__":true,"id":1550}],"charsReplaced":" ","lastFindLoc":167,"priorSelectionRange":[107,107],"prevScroll":[0,0],"_Scale":1,"owner":{"__isSmartRef__":true,"id":1528},"priorExtent":{"__isSmartRef__":true,"id":1552},"savedTextString":"Building another ScriptEditor to get the hang with LK development :-)\n\nObjectEditor\n\n-> should display only a single script of that objects\n-> scripts should be chosen from a list of all scripts\n-> should provide a pop-up list of possible targets (top-level morphs)\n\n-> should include a workspace-pane (this bound to target object)\n\n-> should provide inspector-like overview of properties of the target\n\n\nnot finished yet...although comments and feedback are welcome!","renderContextTable":{"__isSmartRef__":true,"id":1553},"__LivelyClassName__":"lively.morphic.Text"},"1543":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1544},"_Extent":{"__isSmartRef__":true,"id":1545},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1546},"_BorderRadius":0,"_Fill":{"__isSmartRef__":true,"id":1547},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1544":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1545":{"x":840.9066868037173,"y":108,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1546":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1547":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1548":{"x":8.566601541489035,"y":68.968922715887,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1549":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1550":{"style":{"__isSmartRef__":true,"id":1551},"morph":{"__isSmartRef__":true,"id":1542},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1551":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1552":{"x":840.9066868037173,"y":108,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1553":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1554":{"submorphs":[{"__isSmartRef__":true,"id":1555},{"__isSmartRef__":true,"id":2438},{"__isSmartRef__":true,"id":2554}],"scripts":[],"id":853,"shape":{"__isSmartRef__":true,"id":2585},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":2587},"_Position":{"__isSmartRef__":true,"id":2588},"priorExtent":{"__isSmartRef__":true,"id":2589},"targetMorph":{"__isSmartRef__":true,"id":1555},"titleBar":{"__isSmartRef__":true,"id":2438},"contentOffset":{"__isSmartRef__":true,"id":2590},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":2591},"showsHalos":false,"name":"ScriptEditor","partsBinMetaInfo":{"__isSmartRef__":true,"id":2592},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":1528},"__LivelyClassName__":"lively.morphic.Window"},"1555":{"submorphs":[{"__isSmartRef__":true,"id":1556}],"scripts":[],"id":854,"shape":{"__isSmartRef__":true,"id":2356},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2361},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":2362},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":1554},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1556},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":1564},"_Scale":1,"layout":{"__isSmartRef__":true,"id":2363},"priorExtent":{"__isSmartRef__":true,"id":2364},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2365},"__LivelyClassName__":"lively.morphic.Box"},"1556":{"submorphs":[],"scripts":[],"id":855,"shape":{"__isSmartRef__":true,"id":1557},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1562},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1555},"layout":{"__isSmartRef__":true,"id":1563},"doitContext":{"__isSmartRef__":true,"id":1564},"charsReplaced":"1 + 2","lastFindLoc":7067,"showsHalos":false,"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"scriptSource","savedTextString":"// WordsDiagram (this)\n\n// ** WordsDiagram's Scripts **\nthis.addScript(function draw(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\tif (!pv) return ;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n});\n\nthis.addScript(function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n});\n\nthis.addScript(function setData(a) {\n\tthis.data = a;\n\tthis.render()\n});","textChunks":[{"__isSmartRef__":true,"id":2343}],"priorSelectionRange":[358,358],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":2345},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":2346}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1305535993976,"lastSearchString":"save","cachedTextString":"// ScriptEditorPane (this)\n\nthis.addScript(function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n});\n\nthis.addScript(function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n});\n\nthis.addScript(function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n});\n\nthis.addScript(function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n});\n\nthis.addScript(function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n});\n\nthis.addScript(function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n});\n\nthis.addScript(function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n});\n\nthis.addScript(function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n});\n\nthis.addScript(function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n});\n\nthis.addScript(function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n});\n\nthis.addScript(function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n});\n\nthis.addScript(function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n});\n\nthis.addScript(function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n});\n\nthis.addScript(function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n});\n\nthis.addScript(function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n});\n\nthis.addScript(function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n});\n\nthis.addScript(function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n\n\tmodule('lively.ide.SyntaxHighlighting').load(true)\n\tthis.get('scriptSource').highlightJavaScriptSyntax()\n});\n\nthis.addScript(function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n});\n\nthis.addScript(function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n});\n\nthis.addScript(function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n});\n\nthis.addScript(function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n});\n\nthis.addScript(function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n});","renderContextTable":{"__isSmartRef__":true,"id":2347},"textString":"// ScriptEditorPane (this)\n\nthis.addScript(function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n});\n\nthis.addScript(function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n});\n\nthis.addScript(function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n});\n\nthis.addScript(function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n});\n\nthis.addScript(function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n});\n\nthis.addScript(function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n});\n\nthis.addScript(function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n});\n\nthis.addScript(function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n});\n\nthis.addScript(function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n});\n\nthis.addScript(function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n});\n\nthis.addScript(function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n});\n\nthis.addScript(function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n});\n\nthis.addScript(function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n});\n\nthis.addScript(function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n});\n\nthis.addScript(function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n});\n\nthis.addScript(function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n});\n\nthis.addScript(function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n\n\tmodule('lively.ide.SyntaxHighlighting').load(true)\n\tthis.get('scriptSource').highlightJavaScriptSyntax()\n});\n\nthis.addScript(function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n});\n\nthis.addScript(function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n});\n\nthis.addScript(function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n});\n\nthis.addScript(function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n});\n\nthis.addScript(function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n});","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2348},"__LivelyClassName__":"lively.morphic.Text"},"1557":{"position":{"__isSmartRef__":true,"id":1558},"_Extent":{"__isSmartRef__":true,"id":1559},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1560},"_Fill":{"__isSmartRef__":true,"id":1561},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1558":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1559":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1560":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1561":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1562":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1563":{"resizeWidth":true,"resizeHeight":true},"1564":{"submorphs":[{"__isSmartRef__":true,"id":1565}],"scripts":[],"id":835,"shape":{"__isSmartRef__":true,"id":2105},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2110},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":2111},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":2112},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1565},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":1573},"_Scale":1,"layout":{"__isSmartRef__":true,"id":2268},"priorExtent":{"__isSmartRef__":true,"id":2269},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2270},"__LivelyClassName__":"lively.morphic.Box"},"1565":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":1566},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1571},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1564},"layout":{"__isSmartRef__":true,"id":1572},"doitContext":{"__isSmartRef__":true,"id":1573},"charsReplaced":"1 + 2","lastFindLoc":-5,"showsHalos":false,"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"scriptSource","savedTextString":"// WordsDiagram (this)\n\n// ** WordsDiagram's Scripts **\nthis.addScript(function draw(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\tif (!pv) return ;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n});\n\nthis.addScript(function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n});\n\nthis.addScript(function setData(a) {\n\tthis.data = a;\n\tthis.render()\n});","textChunks":[{"__isSmartRef__":true,"id":2092}],"priorSelectionRange":[0,0],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":2094},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":2095}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1305566766180,"cachedTextString":"// ScriptEditor (this)\n\n","renderContextTable":{"__isSmartRef__":true,"id":2096},"textString":"// ScriptEditor (this)\n\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2097},"__LivelyClassName__":"lively.morphic.Text"},"1566":{"position":{"__isSmartRef__":true,"id":1567},"_Extent":{"__isSmartRef__":true,"id":1568},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1569},"_Fill":{"__isSmartRef__":true,"id":1570},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1567":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1568":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1569":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1570":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1571":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1572":{"resizeWidth":true,"resizeHeight":true},"1573":{"submorphs":[{"__isSmartRef__":true,"id":1574},{"__isSmartRef__":true,"id":1938},{"__isSmartRef__":true,"id":2053}],"scripts":[],"id":793,"shape":{"__isSmartRef__":true,"id":2084},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":2086},"_Position":{"__isSmartRef__":true,"id":2087},"priorExtent":{"__isSmartRef__":true,"id":2088},"targetMorph":{"__isSmartRef__":true,"id":1574},"titleBar":{"__isSmartRef__":true,"id":1938},"contentOffset":{"__isSmartRef__":true,"id":2089},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":2090},"showsHalos":false,"name":"ScriptEditor","partsBinMetaInfo":{"__isSmartRef__":true,"id":2091},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":null,"state":"shutdown","__LivelyClassName__":"lively.morphic.Window"},"1574":{"submorphs":[{"__isSmartRef__":true,"id":1575}],"scripts":[],"id":794,"shape":{"__isSmartRef__":true,"id":1856},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1861},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1862},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":1573},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1575},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":1583},"_Scale":1,"layout":{"__isSmartRef__":true,"id":1863},"priorExtent":{"__isSmartRef__":true,"id":1864},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1865},"__LivelyClassName__":"lively.morphic.Box"},"1575":{"submorphs":[],"scripts":[],"id":795,"shape":{"__isSmartRef__":true,"id":1576},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1581},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1574},"layout":{"__isSmartRef__":true,"id":1582},"doitContext":{"__isSmartRef__":true,"id":1583},"charsReplaced":"1 + 2","lastFindLoc":-5,"showsHalos":false,"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"scriptSource","savedTextString":"// WordsDiagram (this)\n\n// ** WordsDiagram's Scripts **\nthis.addScript(function draw(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\tif (!pv) return ;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n});\n\nthis.addScript(function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n});\n\nthis.addScript(function setData(a) {\n\tthis.data = a;\n\tthis.render()\n});","textChunks":[{"__isSmartRef__":true,"id":1843}],"priorSelectionRange":[0,0],"_ClipMode":"auto","prevScroll":[0,1154],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":1845},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1846}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1305566759927,"cachedTextString":"// ScriptEditor1 (this)\n\n","renderContextTable":{"__isSmartRef__":true,"id":1847},"textString":"// ScriptEditor1 (this)\n\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1848},"__LivelyClassName__":"lively.morphic.Text"},"1576":{"position":{"__isSmartRef__":true,"id":1577},"_Extent":{"__isSmartRef__":true,"id":1578},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1579},"_Fill":{"__isSmartRef__":true,"id":1580},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1577":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1578":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1579":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1580":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1581":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1582":{"resizeWidth":true,"resizeHeight":true},"1583":{"submorphs":[{"__isSmartRef__":true,"id":1584},{"__isSmartRef__":true,"id":1688},{"__isSmartRef__":true,"id":1804}],"scripts":[],"id":752,"shape":{"__isSmartRef__":true,"id":1835},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1837},"_Position":{"__isSmartRef__":true,"id":1838},"priorExtent":{"__isSmartRef__":true,"id":1839},"targetMorph":{"__isSmartRef__":true,"id":1584},"titleBar":{"__isSmartRef__":true,"id":1688},"contentOffset":{"__isSmartRef__":true,"id":1840},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1841},"showsHalos":false,"name":"ScriptEditor1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1842},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":null,"state":"shutdown","__LivelyClassName__":"lively.morphic.Window"},"1584":{"submorphs":[{"__isSmartRef__":true,"id":1585}],"scripts":[],"id":753,"shape":{"__isSmartRef__":true,"id":1606},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1611},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1612},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":1583},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1585},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":1116},"_Scale":1,"layout":{"__isSmartRef__":true,"id":1613},"priorExtent":{"__isSmartRef__":true,"id":1614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1615},"__LivelyClassName__":"lively.morphic.Box"},"1585":{"submorphs":[],"scripts":[],"id":754,"shape":{"__isSmartRef__":true,"id":1586},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1591},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1584},"layout":{"__isSmartRef__":true,"id":1592},"doitContext":{"__isSmartRef__":true,"id":1116},"charsReplaced":"1 + 2","lastFindLoc":-5,"showsHalos":false,"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"scriptSource","savedTextString":"// WordsDiagram (this)\n\n// ** WordsDiagram's Scripts **\nthis.addScript(function draw(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\tif (!pv) return ;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n});\n\nthis.addScript(function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n});\n\nthis.addScript(function setData(a) {\n\tthis.data = a;\n\tthis.render()\n});","textChunks":[{"__isSmartRef__":true,"id":1593}],"priorSelectionRange":[0,0],"_ClipMode":"auto","prevScroll":[0,1154],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":1595},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1596}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1305566750188,"cachedTextString":"// ObjectEditor (this)\n\n// ** ObjectEditor's Scripts **\nthis.addScript(function chooseTargetMorphMenu() {\n var topLevelMorphs = this.world().submorphs.reject(function(morph){\n return !morph.name;\n })\n var morphNames = topLevelMorphs.pluck('name');\n var that = this;\n var items = morphNames.collect(function(name) {\n return [name, function() { that.setTarget($morph(name)) }]\n });\n MenuMorph.openAtHand('Select morph to edit', items);\n});\n\nthis.addScript(function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n});\n\nthis.addScript(function displaySourceForConnection(connection) {\n var code = \"\";\n if (connection) {\n var code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n});\n\nthis.addScript(function displaySourceForScript(scriptName) {\n var code = \"\";\n if (scriptName) {\n var code = this.generateSourceForScript(scriptName);\n } \n this.displayJavaScriptSource(code);\n});\n\nthis.addScript(function generateSourceForConnection(connection) {\n var c = connection;\n var targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n});\n\nthis.addScript(function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n});\n\nthis.addScript(function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n});\n\nthis.addScript(function reset() {\n this.target = null;\n this.setTitle(\"ObjectEditor - no target\");\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.scriptPane.setTextString(\"\");\n});\n\nthis.addScript(function setTarget(morph) {\n this.reset();\n if (morph) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.setTitle(\"ObjectEditor - \"+ (this.target.getName()));\n this.scriptPane.doitContext = this.target;\n this.scriptList.setList(this.sortedScriptNamesOfObj(morph));\n this.connectionList.setList(this. sortedConnectionNamesOfObj(morph));\n if (this.scriptList.getList().size() > 0) {\n this.scriptList.selectAt(0);\n }\n }\n});\n\nthis.addScript(function sortedConnectionNamesOfObj(obj) {\n if (!obj.attributeConnections) {return []};\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n});\n\nthis.addScript(function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n});","renderContextTable":{"__isSmartRef__":true,"id":1597},"textString":"// ObjectEditor (this)\n\n// ** ObjectEditor's Scripts **\nthis.addScript(function chooseTargetMorphMenu() {\n var topLevelMorphs = this.world().submorphs.reject(function(morph){\n return !morph.name;\n })\n var morphNames = topLevelMorphs.pluck('name');\n var that = this;\n var items = morphNames.collect(function(name) {\n return [name, function() { that.setTarget($morph(name)) }]\n });\n MenuMorph.openAtHand('Select morph to edit', items);\n});\n\nthis.addScript(function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n});\n\nthis.addScript(function displaySourceForConnection(connection) {\n var code = \"\";\n if (connection) {\n var code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n});\n\nthis.addScript(function displaySourceForScript(scriptName) {\n var code = \"\";\n if (scriptName) {\n var code = this.generateSourceForScript(scriptName);\n } \n this.displayJavaScriptSource(code);\n});\n\nthis.addScript(function generateSourceForConnection(connection) {\n var c = connection;\n var targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n});\n\nthis.addScript(function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n});\n\nthis.addScript(function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n});\n\nthis.addScript(function reset() {\n this.target = null;\n this.setTitle(\"ObjectEditor - no target\");\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.scriptPane.setTextString(\"\");\n});\n\nthis.addScript(function setTarget(morph) {\n this.reset();\n if (morph) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.setTitle(\"ObjectEditor - \"+ (this.target.getName()));\n this.scriptPane.doitContext = this.target;\n this.scriptList.setList(this.sortedScriptNamesOfObj(morph));\n this.connectionList.setList(this. sortedConnectionNamesOfObj(morph));\n if (this.scriptList.getList().size() > 0) {\n this.scriptList.selectAt(0);\n }\n }\n});\n\nthis.addScript(function sortedConnectionNamesOfObj(obj) {\n if (!obj.attributeConnections) {return []};\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n});\n\nthis.addScript(function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n});","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1598},"__LivelyClassName__":"lively.morphic.Text"},"1586":{"position":{"__isSmartRef__":true,"id":1587},"_Extent":{"__isSmartRef__":true,"id":1588},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1589},"_Fill":{"__isSmartRef__":true,"id":1590},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1587":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1588":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1589":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1590":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1591":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1592":{"resizeWidth":true,"resizeHeight":true},"1593":{"style":{"__isSmartRef__":true,"id":1594},"morph":{"__isSmartRef__":true,"id":1585},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1594":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1595":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1596":{"sourceObj":{"__isSmartRef__":true,"id":1585},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1585},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1597":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1598":{"doSave":{"__isSmartRef__":true,"id":1599}},"1599":{"varMapping":{"__isSmartRef__":true,"id":1600},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":1605},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1600":{"this":{"__isSmartRef__":true,"id":1585},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1601}},"1601":{"$super":{"__isSmartRef__":true,"id":1602}},"1602":{"varMapping":{"__isSmartRef__":true,"id":1603},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1604},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1603":{"obj":{"__isSmartRef__":true,"id":1585},"name":"doSave"},"1604":{},"1605":{},"1606":{"position":{"__isSmartRef__":true,"id":1607},"_Extent":{"__isSmartRef__":true,"id":1608},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1609},"_Fill":{"__isSmartRef__":true,"id":1610},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1607":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1608":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1609":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1610":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1611":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1612":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1613":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1614":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1615":{"addTargetScript":{"__isSmartRef__":true,"id":1616},"addTestObject":{"__isSmartRef__":true,"id":1619},"allMorphNames":{"__isSmartRef__":true,"id":1622},"allScriptListItems":{"__isSmartRef__":true,"id":1625},"bindMorphNames":{"__isSmartRef__":true,"id":1628},"doSearch":{"__isSmartRef__":true,"id":1631},"findSubobjects":{"__isSmartRef__":true,"id":1634},"generateSourceForConnection":{"__isSmartRef__":true,"id":1637},"generateSourceForObject":{"__isSmartRef__":true,"id":1640},"generateSourceForProperty":{"__isSmartRef__":true,"id":1643},"generateSourceForScript":{"__isSmartRef__":true,"id":1646},"generateSourceForValue":{"__isSmartRef__":true,"id":1649},"generateTargetCode":{"__isSmartRef__":true,"id":1652},"highlightSelectedObject":{"__isSmartRef__":true,"id":1655},"listItemsForObj":{"__isSmartRef__":true,"id":1658},"removeTargetScript":{"__isSmartRef__":true,"id":1661},"reset":{"__isSmartRef__":true,"id":1664},"setSourceInPane":{"__isSmartRef__":true,"id":1667},"setTarget":{"__isSmartRef__":true,"id":1670},"setupConnections":{"__isSmartRef__":true,"id":1673},"showTopLevelItems":{"__isSmartRef__":true,"id":1676},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1679},"updateScriptList":{"__isSmartRef__":true,"id":1682},"updateSourcePane":{"__isSmartRef__":true,"id":1685}},"1616":{"varMapping":{"__isSmartRef__":true,"id":1617},"source":"function addTargetScript(name) {\n\tvar target = this.target;\n\tif (!target) return;\n\n\ttarget.addScript(\"function \" + name + \"() {\\n\\n}\"); \n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":1618},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1617":{"this":{"__isSmartRef__":true,"id":1584}},"1618":{},"1619":{"varMapping":{"__isSmartRef__":true,"id":1620},"source":"function addTestObject() {\n\tthis.testObject = {\n\t\tname: 'ScriptEditorTest',\n\t\taddScript: function addScript(funcOrString, optName) {\n\t\t\tvar func = Function.fromString(funcOrString);\n\t\t\treturn func.asScriptOf(this, optName);\n\t\t}.asScript()\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":1621},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1620":{"this":{"__isSmartRef__":true,"id":1584}},"1621":{},"1622":{"varMapping":{"__isSmartRef__":true,"id":1623},"source":"function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n}","funcProperties":{"__isSmartRef__":true,"id":1624},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1623":{"this":{"__isSmartRef__":true,"id":1584}},"1624":{},"1625":{"varMapping":{"__isSmartRef__":true,"id":1626},"source":"function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":1627},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1626":{"this":{"__isSmartRef__":true,"id":1584}},"1627":{},"1628":{"varMapping":{"__isSmartRef__":true,"id":1629},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":1630},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1629":{"this":{"__isSmartRef__":true,"id":1584}},"1630":{},"1631":{"varMapping":{"__isSmartRef__":true,"id":1632},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":1633},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1632":{"this":{"__isSmartRef__":true,"id":1584}},"1633":{},"1634":{"varMapping":{"__isSmartRef__":true,"id":1635},"source":"function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n}","funcProperties":{"__isSmartRef__":true,"id":1636},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1635":{"this":{"__isSmartRef__":true,"id":1584}},"1636":{},"1637":{"varMapping":{"__isSmartRef__":true,"id":1638},"source":"function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1639},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1638":{"this":{"__isSmartRef__":true,"id":1584}},"1639":{},"1640":{"varMapping":{"__isSmartRef__":true,"id":1641},"source":"function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":1642},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1641":{"this":{"__isSmartRef__":true,"id":1584}},"1642":{},"1643":{"varMapping":{"__isSmartRef__":true,"id":1644},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":1645},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1644":{"this":{"__isSmartRef__":true,"id":1584}},"1645":{},"1646":{"varMapping":{"__isSmartRef__":true,"id":1647},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":1648},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1647":{"this":{"__isSmartRef__":true,"id":1584}},"1648":{},"1649":{"varMapping":{"__isSmartRef__":true,"id":1650},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":1651},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1650":{"this":{"__isSmartRef__":true,"id":1584}},"1651":{},"1652":{"varMapping":{"__isSmartRef__":true,"id":1653},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":1654},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1653":{"this":{"__isSmartRef__":true,"id":1584}},"1654":{},"1655":{"varMapping":{"__isSmartRef__":true,"id":1656},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":1657},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1656":{"this":{"__isSmartRef__":true,"id":1584}},"1657":{},"1658":{"varMapping":{"__isSmartRef__":true,"id":1659},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":1660},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1659":{"this":{"__isSmartRef__":true,"id":1584}},"1660":{},"1661":{"varMapping":{"__isSmartRef__":true,"id":1662},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":1663},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1662":{"this":{"__isSmartRef__":true,"id":1584}},"1663":{},"1664":{"varMapping":{"__isSmartRef__":true,"id":1665},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":1666},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1665":{"this":{"__isSmartRef__":true,"id":1584}},"1666":{},"1667":{"varMapping":{"__isSmartRef__":true,"id":1668},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":1669},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1668":{"this":{"__isSmartRef__":true,"id":1584}},"1669":{},"1670":{"varMapping":{"__isSmartRef__":true,"id":1671},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n\n\tmodule('lively.ide.SyntaxHighlighting').load(true)\n\tthis.get('scriptSource').highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":1672},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1671":{"this":{"__isSmartRef__":true,"id":1584}},"1672":{},"1673":{"varMapping":{"__isSmartRef__":true,"id":1674},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":1675},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1674":{"this":{"__isSmartRef__":true,"id":1584}},"1675":{},"1676":{"varMapping":{"__isSmartRef__":true,"id":1677},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":1678},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1677":{"this":{"__isSmartRef__":true,"id":1584}},"1678":{},"1679":{"varMapping":{"__isSmartRef__":true,"id":1680},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":1681},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1680":{"this":{"__isSmartRef__":true,"id":1584}},"1681":{},"1682":{"varMapping":{"__isSmartRef__":true,"id":1683},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":1684},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1683":{"this":{"__isSmartRef__":true,"id":1584}},"1684":{},"1685":{"varMapping":{"__isSmartRef__":true,"id":1686},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":1687},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1686":{"this":{"__isSmartRef__":true,"id":1584}},"1687":{},"1688":{"submorphs":[{"__isSmartRef__":true,"id":1689},{"__isSmartRef__":true,"id":1699},{"__isSmartRef__":true,"id":1737},{"__isSmartRef__":true,"id":1763}],"scripts":[],"id":755,"shape":{"__isSmartRef__":true,"id":1790},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1801},"_Position":{"__isSmartRef__":true,"id":1802},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1583},"label":{"__isSmartRef__":true,"id":1689},"closeButton":{"__isSmartRef__":true,"id":1699},"menuButton":{"__isSmartRef__":true,"id":1737},"collapseButton":{"__isSmartRef__":true,"id":1763},"priorExtent":{"__isSmartRef__":true,"id":1803},"owner":{"__isSmartRef__":true,"id":1583},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1689":{"submorphs":[],"scripts":[],"id":756,"shape":{"__isSmartRef__":true,"id":1690},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1693},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1694},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1695}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":1688},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1697},"renderContextTable":{"__isSmartRef__":true,"id":1698},"__LivelyClassName__":"lively.morphic.Text"},"1690":{"_Position":{"__isSmartRef__":true,"id":1691},"_Extent":{"__isSmartRef__":true,"id":1692},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1609},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1691":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1692":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1693":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1694":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1695":{"style":{"__isSmartRef__":true,"id":1696},"morph":{"__isSmartRef__":true,"id":1689},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1696":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1697":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1698":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1699":{"submorphs":[{"__isSmartRef__":true,"id":1700}],"scripts":[],"id":757,"shape":{"__isSmartRef__":true,"id":1710},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1724},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1714},"lighterFill":{"__isSmartRef__":true,"id":1725},"label":{"__isSmartRef__":true,"id":1700},"owner":{"__isSmartRef__":true,"id":1688},"layout":{"__isSmartRef__":true,"id":1734},"attributeConnections":[{"__isSmartRef__":true,"id":1735},{"__isSmartRef__":true,"id":1736}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1700":{"submorphs":[],"scripts":[],"id":758,"shape":{"__isSmartRef__":true,"id":1701},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1704},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1705},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1706}],"owner":{"__isSmartRef__":true,"id":1699},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1708},"renderContextTable":{"__isSmartRef__":true,"id":1709},"__LivelyClassName__":"lively.morphic.Text"},"1701":{"_Position":{"__isSmartRef__":true,"id":1702},"_Extent":{"__isSmartRef__":true,"id":1703},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1609},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1702":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1703":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1704":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1705":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1706":{"style":{"__isSmartRef__":true,"id":1707},"morph":{"__isSmartRef__":true,"id":1700},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1707":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1708":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1709":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1710":{"_Position":{"__isSmartRef__":true,"id":1711},"_Extent":{"__isSmartRef__":true,"id":1712},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1713},"_Fill":{"__isSmartRef__":true,"id":1714},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1711":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1712":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1713":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1714":{"stops":[{"__isSmartRef__":true,"id":1715},{"__isSmartRef__":true,"id":1717},{"__isSmartRef__":true,"id":1719},{"__isSmartRef__":true,"id":1721}],"vector":{"__isSmartRef__":true,"id":1723},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1715":{"offset":0,"color":{"__isSmartRef__":true,"id":1716}},"1716":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1717":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1718}},"1718":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1719":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1720}},"1720":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1721":{"offset":1,"color":{"__isSmartRef__":true,"id":1722}},"1722":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1723":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1724":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1725":{"stops":[{"__isSmartRef__":true,"id":1726},{"__isSmartRef__":true,"id":1728},{"__isSmartRef__":true,"id":1730},{"__isSmartRef__":true,"id":1732}],"vector":{"__isSmartRef__":true,"id":1723},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1726":{"offset":0,"color":{"__isSmartRef__":true,"id":1727}},"1727":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1728":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1729}},"1729":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1730":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1731}},"1731":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1732":{"offset":1,"color":{"__isSmartRef__":true,"id":1733}},"1733":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1734":{"moveHorizontal":true},"1735":{"sourceObj":{"__isSmartRef__":true,"id":1699},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1583},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1736":{"sourceObj":{"__isSmartRef__":true,"id":1699},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1583},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1737":{"submorphs":[{"__isSmartRef__":true,"id":1738}],"scripts":[],"id":759,"shape":{"__isSmartRef__":true,"id":1748},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1751},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1714},"lighterFill":{"__isSmartRef__":true,"id":1752},"label":{"__isSmartRef__":true,"id":1738},"owner":{"__isSmartRef__":true,"id":1688},"attributeConnections":[{"__isSmartRef__":true,"id":1761},{"__isSmartRef__":true,"id":1762}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1738":{"submorphs":[],"scripts":[],"id":760,"shape":{"__isSmartRef__":true,"id":1739},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1742},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1743},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1744}],"owner":{"__isSmartRef__":true,"id":1737},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1746},"renderContextTable":{"__isSmartRef__":true,"id":1747},"__LivelyClassName__":"lively.morphic.Text"},"1739":{"_Position":{"__isSmartRef__":true,"id":1740},"_Extent":{"__isSmartRef__":true,"id":1741},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1609},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1740":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1741":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1742":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1743":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1744":{"style":{"__isSmartRef__":true,"id":1745},"morph":{"__isSmartRef__":true,"id":1738},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1745":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1746":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1747":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1748":{"_Position":{"__isSmartRef__":true,"id":1749},"_Extent":{"__isSmartRef__":true,"id":1750},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1713},"_Fill":{"__isSmartRef__":true,"id":1714},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1749":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1750":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1751":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1752":{"stops":[{"__isSmartRef__":true,"id":1753},{"__isSmartRef__":true,"id":1755},{"__isSmartRef__":true,"id":1757},{"__isSmartRef__":true,"id":1759}],"vector":{"__isSmartRef__":true,"id":1723},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1753":{"offset":0,"color":{"__isSmartRef__":true,"id":1754}},"1754":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1755":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1756}},"1756":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1757":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1758}},"1758":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1759":{"offset":1,"color":{"__isSmartRef__":true,"id":1760}},"1760":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1761":{"sourceObj":{"__isSmartRef__":true,"id":1737},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1583},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1762":{"sourceObj":{"__isSmartRef__":true,"id":1737},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1583},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1763":{"submorphs":[{"__isSmartRef__":true,"id":1764}],"scripts":[],"id":761,"shape":{"__isSmartRef__":true,"id":1774},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1777},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1714},"lighterFill":{"__isSmartRef__":true,"id":1778},"label":{"__isSmartRef__":true,"id":1764},"owner":{"__isSmartRef__":true,"id":1688},"layout":{"__isSmartRef__":true,"id":1787},"attributeConnections":[{"__isSmartRef__":true,"id":1788},{"__isSmartRef__":true,"id":1789}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1764":{"submorphs":[],"scripts":[],"id":762,"shape":{"__isSmartRef__":true,"id":1765},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1768},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1769},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1770}],"owner":{"__isSmartRef__":true,"id":1763},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1772},"renderContextTable":{"__isSmartRef__":true,"id":1773},"__LivelyClassName__":"lively.morphic.Text"},"1765":{"_Position":{"__isSmartRef__":true,"id":1766},"_Extent":{"__isSmartRef__":true,"id":1767},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1609},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1766":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1767":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1768":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1769":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1770":{"style":{"__isSmartRef__":true,"id":1771},"morph":{"__isSmartRef__":true,"id":1764},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1771":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1772":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1773":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1774":{"_Position":{"__isSmartRef__":true,"id":1775},"_Extent":{"__isSmartRef__":true,"id":1776},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1713},"_Fill":{"__isSmartRef__":true,"id":1714},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1775":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1776":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1777":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1778":{"stops":[{"__isSmartRef__":true,"id":1779},{"__isSmartRef__":true,"id":1781},{"__isSmartRef__":true,"id":1783},{"__isSmartRef__":true,"id":1785}],"vector":{"__isSmartRef__":true,"id":1723},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1779":{"offset":0,"color":{"__isSmartRef__":true,"id":1780}},"1780":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1781":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1782}},"1782":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1783":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1784}},"1784":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1785":{"offset":1,"color":{"__isSmartRef__":true,"id":1786}},"1786":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1787":{"moveHorizontal":true},"1788":{"sourceObj":{"__isSmartRef__":true,"id":1763},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1583},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1789":{"sourceObj":{"__isSmartRef__":true,"id":1763},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1583},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1790":{"_Position":{"__isSmartRef__":true,"id":1791},"_Extent":{"__isSmartRef__":true,"id":1792},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1589},"_Fill":{"__isSmartRef__":true,"id":1793},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1791":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1792":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1793":{"stops":[{"__isSmartRef__":true,"id":1794},{"__isSmartRef__":true,"id":1796},{"__isSmartRef__":true,"id":1798}],"vector":{"__isSmartRef__":true,"id":1800},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1794":{"offset":0,"color":{"__isSmartRef__":true,"id":1795}},"1795":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1796":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1797}},"1797":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1798":{"offset":1,"color":{"__isSmartRef__":true,"id":1799}},"1799":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1800":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1801":{"resizeWidth":true,"adjustForNewBounds":true},"1802":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1803":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1804":{"submorphs":[],"scripts":[],"id":763,"shape":{"__isSmartRef__":true,"id":1805},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1810},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":1811},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1812},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1583},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1813},"__LivelyClassName__":"lively.morphic.Box"},"1805":{"position":{"__isSmartRef__":true,"id":1806},"_Extent":{"__isSmartRef__":true,"id":1807},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1808},"_Fill":{"__isSmartRef__":true,"id":1809},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1806":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1807":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1808":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1809":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1810":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1811":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1812":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1813":{"onDrag":{"__isSmartRef__":true,"id":1814},"onDragEnd":{"__isSmartRef__":true,"id":1821},"onDragStart":{"__isSmartRef__":true,"id":1828}},"1814":{"varMapping":{"__isSmartRef__":true,"id":1815},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":1820},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1815":{"this":{"__isSmartRef__":true,"id":1804},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1816}},"1816":{"$super":{"__isSmartRef__":true,"id":1817}},"1817":{"varMapping":{"__isSmartRef__":true,"id":1818},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1819},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1818":{"obj":{"__isSmartRef__":true,"id":1804},"name":"onDrag"},"1819":{},"1820":{},"1821":{"varMapping":{"__isSmartRef__":true,"id":1822},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1827},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1822":{"this":{"__isSmartRef__":true,"id":1804},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1823}},"1823":{"$super":{"__isSmartRef__":true,"id":1824}},"1824":{"varMapping":{"__isSmartRef__":true,"id":1825},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1826},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1825":{"obj":{"__isSmartRef__":true,"id":1804},"name":"onDragEnd"},"1826":{},"1827":{},"1828":{"varMapping":{"__isSmartRef__":true,"id":1829},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":1834},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1829":{"this":{"__isSmartRef__":true,"id":1804},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1830}},"1830":{"$super":{"__isSmartRef__":true,"id":1831}},"1831":{"varMapping":{"__isSmartRef__":true,"id":1832},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1833},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1832":{"obj":{"__isSmartRef__":true,"id":1804},"name":"onDragStart"},"1833":{},"1834":{},"1835":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1836},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1836":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1837":{"adjustForNewBounds":true},"1838":{"x":1202.4189794738272,"y":199.10305717940957,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1839":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1840":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1841":{"x":821,"y":101,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1842":{"requiredModules":["lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting"],"partsSpaceName":"PartsBin/Tools/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","comment":"Early version. Requires improvement.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1843":{"style":{"__isSmartRef__":true,"id":1844},"morph":{"__isSmartRef__":true,"id":1575},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1844":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1845":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1846":{"sourceObj":{"__isSmartRef__":true,"id":1575},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1575},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1847":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1848":{"doSave":{"__isSmartRef__":true,"id":1849}},"1849":{"varMapping":{"__isSmartRef__":true,"id":1850},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":1855},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1850":{"this":{"__isSmartRef__":true,"id":1575},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1851}},"1851":{"$super":{"__isSmartRef__":true,"id":1852}},"1852":{"varMapping":{"__isSmartRef__":true,"id":1853},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1854},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1853":{"obj":{"__isSmartRef__":true,"id":1575},"name":"doSave"},"1854":{},"1855":{},"1856":{"position":{"__isSmartRef__":true,"id":1857},"_Extent":{"__isSmartRef__":true,"id":1858},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1859},"_Fill":{"__isSmartRef__":true,"id":1860},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1857":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1858":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1859":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1860":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1861":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1862":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1863":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1864":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1865":{"addTargetScript":{"__isSmartRef__":true,"id":1866},"addTestObject":{"__isSmartRef__":true,"id":1869},"allMorphNames":{"__isSmartRef__":true,"id":1872},"allScriptListItems":{"__isSmartRef__":true,"id":1875},"bindMorphNames":{"__isSmartRef__":true,"id":1878},"doSearch":{"__isSmartRef__":true,"id":1881},"findSubobjects":{"__isSmartRef__":true,"id":1884},"generateSourceForConnection":{"__isSmartRef__":true,"id":1887},"generateSourceForObject":{"__isSmartRef__":true,"id":1890},"generateSourceForProperty":{"__isSmartRef__":true,"id":1893},"generateSourceForScript":{"__isSmartRef__":true,"id":1896},"generateSourceForValue":{"__isSmartRef__":true,"id":1899},"generateTargetCode":{"__isSmartRef__":true,"id":1902},"highlightSelectedObject":{"__isSmartRef__":true,"id":1905},"listItemsForObj":{"__isSmartRef__":true,"id":1908},"removeTargetScript":{"__isSmartRef__":true,"id":1911},"reset":{"__isSmartRef__":true,"id":1914},"setSourceInPane":{"__isSmartRef__":true,"id":1917},"setTarget":{"__isSmartRef__":true,"id":1920},"setupConnections":{"__isSmartRef__":true,"id":1923},"showTopLevelItems":{"__isSmartRef__":true,"id":1926},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1929},"updateScriptList":{"__isSmartRef__":true,"id":1932},"updateSourcePane":{"__isSmartRef__":true,"id":1935}},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"source":"function addTargetScript(name) {\n\tvar target = this.target;\n\tif (!target) return;\n\n\ttarget.addScript(\"function \" + name + \"() {\\n\\n}\"); \n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":1868},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1867":{"this":{"__isSmartRef__":true,"id":1574}},"1868":{},"1869":{"varMapping":{"__isSmartRef__":true,"id":1870},"source":"function addTestObject() {\n\tthis.testObject = {\n\t\tname: 'ScriptEditorTest',\n\t\taddScript: function addScript(funcOrString, optName) {\n\t\t\tvar func = Function.fromString(funcOrString);\n\t\t\treturn func.asScriptOf(this, optName);\n\t\t}.asScript()\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":1871},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1870":{"this":{"__isSmartRef__":true,"id":1574}},"1871":{},"1872":{"varMapping":{"__isSmartRef__":true,"id":1873},"source":"function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n}","funcProperties":{"__isSmartRef__":true,"id":1874},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1873":{"this":{"__isSmartRef__":true,"id":1574}},"1874":{},"1875":{"varMapping":{"__isSmartRef__":true,"id":1876},"source":"function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":1877},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1876":{"this":{"__isSmartRef__":true,"id":1574}},"1877":{},"1878":{"varMapping":{"__isSmartRef__":true,"id":1879},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":1880},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1879":{"this":{"__isSmartRef__":true,"id":1574}},"1880":{},"1881":{"varMapping":{"__isSmartRef__":true,"id":1882},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":1883},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1882":{"this":{"__isSmartRef__":true,"id":1574}},"1883":{},"1884":{"varMapping":{"__isSmartRef__":true,"id":1885},"source":"function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n}","funcProperties":{"__isSmartRef__":true,"id":1886},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1885":{"this":{"__isSmartRef__":true,"id":1574}},"1886":{},"1887":{"varMapping":{"__isSmartRef__":true,"id":1888},"source":"function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1889},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1888":{"this":{"__isSmartRef__":true,"id":1574}},"1889":{},"1890":{"varMapping":{"__isSmartRef__":true,"id":1891},"source":"function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":1892},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1891":{"this":{"__isSmartRef__":true,"id":1574}},"1892":{},"1893":{"varMapping":{"__isSmartRef__":true,"id":1894},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":1895},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1894":{"this":{"__isSmartRef__":true,"id":1574}},"1895":{},"1896":{"varMapping":{"__isSmartRef__":true,"id":1897},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":1898},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1897":{"this":{"__isSmartRef__":true,"id":1574}},"1898":{},"1899":{"varMapping":{"__isSmartRef__":true,"id":1900},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":1901},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1900":{"this":{"__isSmartRef__":true,"id":1574}},"1901":{},"1902":{"varMapping":{"__isSmartRef__":true,"id":1903},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":1904},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1903":{"this":{"__isSmartRef__":true,"id":1574}},"1904":{},"1905":{"varMapping":{"__isSmartRef__":true,"id":1906},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":1907},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1906":{"this":{"__isSmartRef__":true,"id":1574}},"1907":{},"1908":{"varMapping":{"__isSmartRef__":true,"id":1909},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":1910},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1909":{"this":{"__isSmartRef__":true,"id":1574}},"1910":{},"1911":{"varMapping":{"__isSmartRef__":true,"id":1912},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":1913},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1912":{"this":{"__isSmartRef__":true,"id":1574}},"1913":{},"1914":{"varMapping":{"__isSmartRef__":true,"id":1915},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":1916},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1915":{"this":{"__isSmartRef__":true,"id":1574}},"1916":{},"1917":{"varMapping":{"__isSmartRef__":true,"id":1918},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":1919},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1918":{"this":{"__isSmartRef__":true,"id":1574}},"1919":{},"1920":{"varMapping":{"__isSmartRef__":true,"id":1921},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n\n\tmodule('lively.ide.SyntaxHighlighting').load(true)\n\tthis.get('scriptSource').highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":1922},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1921":{"this":{"__isSmartRef__":true,"id":1574}},"1922":{},"1923":{"varMapping":{"__isSmartRef__":true,"id":1924},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":1925},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1924":{"this":{"__isSmartRef__":true,"id":1574}},"1925":{},"1926":{"varMapping":{"__isSmartRef__":true,"id":1927},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":1928},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1927":{"this":{"__isSmartRef__":true,"id":1574}},"1928":{},"1929":{"varMapping":{"__isSmartRef__":true,"id":1930},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":1931},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1930":{"this":{"__isSmartRef__":true,"id":1574}},"1931":{},"1932":{"varMapping":{"__isSmartRef__":true,"id":1933},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":1934},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1933":{"this":{"__isSmartRef__":true,"id":1574}},"1934":{},"1935":{"varMapping":{"__isSmartRef__":true,"id":1936},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":1937},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1936":{"this":{"__isSmartRef__":true,"id":1574}},"1937":{},"1938":{"submorphs":[{"__isSmartRef__":true,"id":1939},{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1987},{"__isSmartRef__":true,"id":2013}],"scripts":[],"id":796,"shape":{"__isSmartRef__":true,"id":2040},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2050},"_Position":{"__isSmartRef__":true,"id":2051},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1573},"label":{"__isSmartRef__":true,"id":1939},"closeButton":{"__isSmartRef__":true,"id":1949},"menuButton":{"__isSmartRef__":true,"id":1987},"collapseButton":{"__isSmartRef__":true,"id":2013},"priorExtent":{"__isSmartRef__":true,"id":2052},"owner":{"__isSmartRef__":true,"id":1573},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1939":{"submorphs":[],"scripts":[],"id":797,"shape":{"__isSmartRef__":true,"id":1940},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1943},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1944},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1945}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":1938},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1947},"renderContextTable":{"__isSmartRef__":true,"id":1948},"__LivelyClassName__":"lively.morphic.Text"},"1940":{"_Position":{"__isSmartRef__":true,"id":1941},"_Extent":{"__isSmartRef__":true,"id":1942},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1859},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1941":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1942":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1943":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1944":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1945":{"style":{"__isSmartRef__":true,"id":1946},"morph":{"__isSmartRef__":true,"id":1939},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1946":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1947":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1948":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1949":{"submorphs":[{"__isSmartRef__":true,"id":1950}],"scripts":[],"id":798,"shape":{"__isSmartRef__":true,"id":1960},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1974},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1964},"lighterFill":{"__isSmartRef__":true,"id":1975},"label":{"__isSmartRef__":true,"id":1950},"owner":{"__isSmartRef__":true,"id":1938},"layout":{"__isSmartRef__":true,"id":1984},"attributeConnections":[{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":1986}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1950":{"submorphs":[],"scripts":[],"id":799,"shape":{"__isSmartRef__":true,"id":1951},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1954},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1955},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1956}],"owner":{"__isSmartRef__":true,"id":1949},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1958},"renderContextTable":{"__isSmartRef__":true,"id":1959},"__LivelyClassName__":"lively.morphic.Text"},"1951":{"_Position":{"__isSmartRef__":true,"id":1952},"_Extent":{"__isSmartRef__":true,"id":1953},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1859},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1952":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1953":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1954":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1955":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1956":{"style":{"__isSmartRef__":true,"id":1957},"morph":{"__isSmartRef__":true,"id":1950},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1957":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1958":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1959":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1960":{"_Position":{"__isSmartRef__":true,"id":1961},"_Extent":{"__isSmartRef__":true,"id":1962},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1963},"_Fill":{"__isSmartRef__":true,"id":1964},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1961":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1962":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1963":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1964":{"stops":[{"__isSmartRef__":true,"id":1965},{"__isSmartRef__":true,"id":1967},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1971}],"vector":{"__isSmartRef__":true,"id":1973},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1965":{"offset":0,"color":{"__isSmartRef__":true,"id":1966}},"1966":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1967":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1968}},"1968":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1969":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1970}},"1970":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1971":{"offset":1,"color":{"__isSmartRef__":true,"id":1972}},"1972":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1973":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1974":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1975":{"stops":[{"__isSmartRef__":true,"id":1976},{"__isSmartRef__":true,"id":1978},{"__isSmartRef__":true,"id":1980},{"__isSmartRef__":true,"id":1982}],"vector":{"__isSmartRef__":true,"id":1973},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1976":{"offset":0,"color":{"__isSmartRef__":true,"id":1977}},"1977":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1978":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1979}},"1979":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1980":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1981}},"1981":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1982":{"offset":1,"color":{"__isSmartRef__":true,"id":1983}},"1983":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1984":{"moveHorizontal":true},"1985":{"sourceObj":{"__isSmartRef__":true,"id":1949},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1573},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1986":{"sourceObj":{"__isSmartRef__":true,"id":1949},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1573},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1987":{"submorphs":[{"__isSmartRef__":true,"id":1988}],"scripts":[],"id":800,"shape":{"__isSmartRef__":true,"id":1998},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2001},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1964},"lighterFill":{"__isSmartRef__":true,"id":2002},"label":{"__isSmartRef__":true,"id":1988},"owner":{"__isSmartRef__":true,"id":1938},"attributeConnections":[{"__isSmartRef__":true,"id":2011},{"__isSmartRef__":true,"id":2012}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1988":{"submorphs":[],"scripts":[],"id":801,"shape":{"__isSmartRef__":true,"id":1989},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1992},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1993},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1994}],"owner":{"__isSmartRef__":true,"id":1987},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1996},"renderContextTable":{"__isSmartRef__":true,"id":1997},"__LivelyClassName__":"lively.morphic.Text"},"1989":{"_Position":{"__isSmartRef__":true,"id":1990},"_Extent":{"__isSmartRef__":true,"id":1991},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1859},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1990":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1991":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1992":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1993":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1994":{"style":{"__isSmartRef__":true,"id":1995},"morph":{"__isSmartRef__":true,"id":1988},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1995":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1996":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1997":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"1998":{"_Position":{"__isSmartRef__":true,"id":1999},"_Extent":{"__isSmartRef__":true,"id":2000},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1963},"_Fill":{"__isSmartRef__":true,"id":1964},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1999":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2000":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2001":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2002":{"stops":[{"__isSmartRef__":true,"id":2003},{"__isSmartRef__":true,"id":2005},{"__isSmartRef__":true,"id":2007},{"__isSmartRef__":true,"id":2009}],"vector":{"__isSmartRef__":true,"id":1973},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2003":{"offset":0,"color":{"__isSmartRef__":true,"id":2004}},"2004":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2005":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2006}},"2006":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2007":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2008}},"2008":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2009":{"offset":1,"color":{"__isSmartRef__":true,"id":2010}},"2010":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2011":{"sourceObj":{"__isSmartRef__":true,"id":1987},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1573},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2012":{"sourceObj":{"__isSmartRef__":true,"id":1987},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1573},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2013":{"submorphs":[{"__isSmartRef__":true,"id":2014}],"scripts":[],"id":802,"shape":{"__isSmartRef__":true,"id":2024},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2027},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1964},"lighterFill":{"__isSmartRef__":true,"id":2028},"label":{"__isSmartRef__":true,"id":2014},"owner":{"__isSmartRef__":true,"id":1938},"layout":{"__isSmartRef__":true,"id":2037},"attributeConnections":[{"__isSmartRef__":true,"id":2038},{"__isSmartRef__":true,"id":2039}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2014":{"submorphs":[],"scripts":[],"id":803,"shape":{"__isSmartRef__":true,"id":2015},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2018},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2019},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2020}],"owner":{"__isSmartRef__":true,"id":2013},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2022},"renderContextTable":{"__isSmartRef__":true,"id":2023},"__LivelyClassName__":"lively.morphic.Text"},"2015":{"_Position":{"__isSmartRef__":true,"id":2016},"_Extent":{"__isSmartRef__":true,"id":2017},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1859},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2016":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2017":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2018":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2019":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2020":{"style":{"__isSmartRef__":true,"id":2021},"morph":{"__isSmartRef__":true,"id":2014},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2021":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2022":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2023":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2024":{"_Position":{"__isSmartRef__":true,"id":2025},"_Extent":{"__isSmartRef__":true,"id":2026},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1963},"_Fill":{"__isSmartRef__":true,"id":1964},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2025":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2026":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2027":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2028":{"stops":[{"__isSmartRef__":true,"id":2029},{"__isSmartRef__":true,"id":2031},{"__isSmartRef__":true,"id":2033},{"__isSmartRef__":true,"id":2035}],"vector":{"__isSmartRef__":true,"id":1973},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2029":{"offset":0,"color":{"__isSmartRef__":true,"id":2030}},"2030":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2031":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2032}},"2032":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2033":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2034}},"2034":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2035":{"offset":1,"color":{"__isSmartRef__":true,"id":2036}},"2036":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2037":{"moveHorizontal":true},"2038":{"sourceObj":{"__isSmartRef__":true,"id":2013},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1573},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2039":{"sourceObj":{"__isSmartRef__":true,"id":2013},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1573},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2040":{"_Position":{"__isSmartRef__":true,"id":2041},"_Extent":{"__isSmartRef__":true,"id":2042},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1579},"_Fill":{"__isSmartRef__":true,"id":2043},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2041":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2042":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2043":{"stops":[{"__isSmartRef__":true,"id":2044},{"__isSmartRef__":true,"id":2046},{"__isSmartRef__":true,"id":2048}],"vector":{"__isSmartRef__":true,"id":1800},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2044":{"offset":0,"color":{"__isSmartRef__":true,"id":2045}},"2045":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2046":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2047}},"2047":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2048":{"offset":1,"color":{"__isSmartRef__":true,"id":2049}},"2049":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2050":{"resizeWidth":true,"adjustForNewBounds":true},"2051":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2052":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2053":{"submorphs":[],"scripts":[],"id":804,"shape":{"__isSmartRef__":true,"id":2054},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2059},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":2060},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":2061},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1573},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2062},"__LivelyClassName__":"lively.morphic.Box"},"2054":{"position":{"__isSmartRef__":true,"id":2055},"_Extent":{"__isSmartRef__":true,"id":2056},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2057},"_Fill":{"__isSmartRef__":true,"id":2058},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2055":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2056":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2057":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2058":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2059":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2060":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2061":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2062":{"onDrag":{"__isSmartRef__":true,"id":2063},"onDragEnd":{"__isSmartRef__":true,"id":2070},"onDragStart":{"__isSmartRef__":true,"id":2077}},"2063":{"varMapping":{"__isSmartRef__":true,"id":2064},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":2069},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2064":{"this":{"__isSmartRef__":true,"id":2053},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2065}},"2065":{"$super":{"__isSmartRef__":true,"id":2066}},"2066":{"varMapping":{"__isSmartRef__":true,"id":2067},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2068},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2067":{"obj":{"__isSmartRef__":true,"id":2053},"name":"onDrag"},"2068":{},"2069":{},"2070":{"varMapping":{"__isSmartRef__":true,"id":2071},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2076},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2071":{"this":{"__isSmartRef__":true,"id":2053},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2072}},"2072":{"$super":{"__isSmartRef__":true,"id":2073}},"2073":{"varMapping":{"__isSmartRef__":true,"id":2074},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2075},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2074":{"obj":{"__isSmartRef__":true,"id":2053},"name":"onDragEnd"},"2075":{},"2076":{},"2077":{"varMapping":{"__isSmartRef__":true,"id":2078},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":2083},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2078":{"this":{"__isSmartRef__":true,"id":2053},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2079}},"2079":{"$super":{"__isSmartRef__":true,"id":2080}},"2080":{"varMapping":{"__isSmartRef__":true,"id":2081},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2082},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2081":{"obj":{"__isSmartRef__":true,"id":2053},"name":"onDragStart"},"2082":{},"2083":{},"2084":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2085},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2085":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2086":{"adjustForNewBounds":true},"2087":{"x":2243.4988995537474,"y":199.10305717940957,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2088":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2089":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2090":{"x":821,"y":101,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2091":{"requiredModules":["lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting"],"partsSpaceName":"PartsBin/Tools/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","comment":"Early version. Requires improvement.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2092":{"style":{"__isSmartRef__":true,"id":2093},"morph":{"__isSmartRef__":true,"id":1565},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2093":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2094":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2095":{"sourceObj":{"__isSmartRef__":true,"id":1565},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1565},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2096":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2097":{"doSave":{"__isSmartRef__":true,"id":2098}},"2098":{"varMapping":{"__isSmartRef__":true,"id":2099},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":2104},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2099":{"this":{"__isSmartRef__":true,"id":1565},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2100}},"2100":{"$super":{"__isSmartRef__":true,"id":2101}},"2101":{"varMapping":{"__isSmartRef__":true,"id":2102},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2103},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2102":{"obj":{"__isSmartRef__":true,"id":1565},"name":"doSave"},"2103":{},"2104":{},"2105":{"position":{"__isSmartRef__":true,"id":2106},"_Extent":{"__isSmartRef__":true,"id":2107},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":2108},"_Fill":{"__isSmartRef__":true,"id":2109},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2106":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2107":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2108":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2109":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2110":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2111":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2112":{"submorphs":[{"__isSmartRef__":true,"id":1564},{"__isSmartRef__":true,"id":2113},{"__isSmartRef__":true,"id":2229}],"scripts":[],"id":834,"shape":{"__isSmartRef__":true,"id":2260},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":2262},"_Position":{"__isSmartRef__":true,"id":2263},"priorExtent":{"__isSmartRef__":true,"id":2264},"targetMorph":{"__isSmartRef__":true,"id":1564},"titleBar":{"__isSmartRef__":true,"id":2113},"contentOffset":{"__isSmartRef__":true,"id":2265},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":2266},"showsHalos":false,"name":"ScriptEditor2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2267},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":null,"state":"shutdown","__LivelyClassName__":"lively.morphic.Window"},"2113":{"submorphs":[{"__isSmartRef__":true,"id":2114},{"__isSmartRef__":true,"id":2124},{"__isSmartRef__":true,"id":2162},{"__isSmartRef__":true,"id":2188}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":2215},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2226},"_Position":{"__isSmartRef__":true,"id":2227},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":2112},"label":{"__isSmartRef__":true,"id":2114},"closeButton":{"__isSmartRef__":true,"id":2124},"menuButton":{"__isSmartRef__":true,"id":2162},"collapseButton":{"__isSmartRef__":true,"id":2188},"priorExtent":{"__isSmartRef__":true,"id":2228},"owner":{"__isSmartRef__":true,"id":2112},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"2114":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":2115},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2118},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2119},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2120}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":2113},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2122},"renderContextTable":{"__isSmartRef__":true,"id":2123},"__LivelyClassName__":"lively.morphic.Text"},"2115":{"_Position":{"__isSmartRef__":true,"id":2116},"_Extent":{"__isSmartRef__":true,"id":2117},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2108},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2116":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2117":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2118":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2119":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2120":{"style":{"__isSmartRef__":true,"id":2121},"morph":{"__isSmartRef__":true,"id":2114},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2121":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2122":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2123":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2124":{"submorphs":[{"__isSmartRef__":true,"id":2125}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":2135},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2149},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2139},"lighterFill":{"__isSmartRef__":true,"id":2150},"label":{"__isSmartRef__":true,"id":2125},"owner":{"__isSmartRef__":true,"id":2113},"layout":{"__isSmartRef__":true,"id":2159},"attributeConnections":[{"__isSmartRef__":true,"id":2160},{"__isSmartRef__":true,"id":2161}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2125":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":2126},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2129},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2130},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2131}],"owner":{"__isSmartRef__":true,"id":2124},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2133},"renderContextTable":{"__isSmartRef__":true,"id":2134},"__LivelyClassName__":"lively.morphic.Text"},"2126":{"_Position":{"__isSmartRef__":true,"id":2127},"_Extent":{"__isSmartRef__":true,"id":2128},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2108},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2127":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2128":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2129":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2130":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2131":{"style":{"__isSmartRef__":true,"id":2132},"morph":{"__isSmartRef__":true,"id":2125},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2132":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2133":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2134":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2135":{"_Position":{"__isSmartRef__":true,"id":2136},"_Extent":{"__isSmartRef__":true,"id":2137},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2138},"_Fill":{"__isSmartRef__":true,"id":2139},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2136":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2137":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2138":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2139":{"stops":[{"__isSmartRef__":true,"id":2140},{"__isSmartRef__":true,"id":2142},{"__isSmartRef__":true,"id":2144},{"__isSmartRef__":true,"id":2146}],"vector":{"__isSmartRef__":true,"id":2148},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2140":{"offset":0,"color":{"__isSmartRef__":true,"id":2141}},"2141":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2142":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2143}},"2143":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2144":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2145}},"2145":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2146":{"offset":1,"color":{"__isSmartRef__":true,"id":2147}},"2147":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2148":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2149":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2150":{"stops":[{"__isSmartRef__":true,"id":2151},{"__isSmartRef__":true,"id":2153},{"__isSmartRef__":true,"id":2155},{"__isSmartRef__":true,"id":2157}],"vector":{"__isSmartRef__":true,"id":2148},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2151":{"offset":0,"color":{"__isSmartRef__":true,"id":2152}},"2152":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2153":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2154}},"2154":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2155":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2156}},"2156":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2157":{"offset":1,"color":{"__isSmartRef__":true,"id":2158}},"2158":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2159":{"moveHorizontal":true},"2160":{"sourceObj":{"__isSmartRef__":true,"id":2124},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2112},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2161":{"sourceObj":{"__isSmartRef__":true,"id":2124},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2112},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2162":{"submorphs":[{"__isSmartRef__":true,"id":2163}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":2173},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2176},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2139},"lighterFill":{"__isSmartRef__":true,"id":2177},"label":{"__isSmartRef__":true,"id":2163},"owner":{"__isSmartRef__":true,"id":2113},"attributeConnections":[{"__isSmartRef__":true,"id":2186},{"__isSmartRef__":true,"id":2187}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2163":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":2164},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2167},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2168},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2169}],"owner":{"__isSmartRef__":true,"id":2162},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2171},"renderContextTable":{"__isSmartRef__":true,"id":2172},"__LivelyClassName__":"lively.morphic.Text"},"2164":{"_Position":{"__isSmartRef__":true,"id":2165},"_Extent":{"__isSmartRef__":true,"id":2166},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2108},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2165":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2166":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2167":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2168":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2169":{"style":{"__isSmartRef__":true,"id":2170},"morph":{"__isSmartRef__":true,"id":2163},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2170":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2171":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2172":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2173":{"_Position":{"__isSmartRef__":true,"id":2174},"_Extent":{"__isSmartRef__":true,"id":2175},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2138},"_Fill":{"__isSmartRef__":true,"id":2139},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2174":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2175":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2176":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2177":{"stops":[{"__isSmartRef__":true,"id":2178},{"__isSmartRef__":true,"id":2180},{"__isSmartRef__":true,"id":2182},{"__isSmartRef__":true,"id":2184}],"vector":{"__isSmartRef__":true,"id":2148},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2178":{"offset":0,"color":{"__isSmartRef__":true,"id":2179}},"2179":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2180":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2181}},"2181":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2182":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2183}},"2183":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2184":{"offset":1,"color":{"__isSmartRef__":true,"id":2185}},"2185":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2186":{"sourceObj":{"__isSmartRef__":true,"id":2162},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2112},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2187":{"sourceObj":{"__isSmartRef__":true,"id":2162},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2112},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2188":{"submorphs":[{"__isSmartRef__":true,"id":2189}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":2199},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2202},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2139},"lighterFill":{"__isSmartRef__":true,"id":2203},"label":{"__isSmartRef__":true,"id":2189},"owner":{"__isSmartRef__":true,"id":2113},"layout":{"__isSmartRef__":true,"id":2212},"attributeConnections":[{"__isSmartRef__":true,"id":2213},{"__isSmartRef__":true,"id":2214}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2189":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":2190},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2193},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2194},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2195}],"owner":{"__isSmartRef__":true,"id":2188},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2197},"renderContextTable":{"__isSmartRef__":true,"id":2198},"__LivelyClassName__":"lively.morphic.Text"},"2190":{"_Position":{"__isSmartRef__":true,"id":2191},"_Extent":{"__isSmartRef__":true,"id":2192},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2108},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2191":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2192":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2193":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2194":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2195":{"style":{"__isSmartRef__":true,"id":2196},"morph":{"__isSmartRef__":true,"id":2189},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2196":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2197":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2198":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2199":{"_Position":{"__isSmartRef__":true,"id":2200},"_Extent":{"__isSmartRef__":true,"id":2201},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2138},"_Fill":{"__isSmartRef__":true,"id":2139},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2200":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2201":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2202":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2203":{"stops":[{"__isSmartRef__":true,"id":2204},{"__isSmartRef__":true,"id":2206},{"__isSmartRef__":true,"id":2208},{"__isSmartRef__":true,"id":2210}],"vector":{"__isSmartRef__":true,"id":2148},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2204":{"offset":0,"color":{"__isSmartRef__":true,"id":2205}},"2205":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2206":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2207}},"2207":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2208":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2209}},"2209":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2210":{"offset":1,"color":{"__isSmartRef__":true,"id":2211}},"2211":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2212":{"moveHorizontal":true},"2213":{"sourceObj":{"__isSmartRef__":true,"id":2188},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2112},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2214":{"sourceObj":{"__isSmartRef__":true,"id":2188},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2112},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2215":{"_Position":{"__isSmartRef__":true,"id":2216},"_Extent":{"__isSmartRef__":true,"id":2217},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1569},"_Fill":{"__isSmartRef__":true,"id":2218},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2216":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2217":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2218":{"stops":[{"__isSmartRef__":true,"id":2219},{"__isSmartRef__":true,"id":2221},{"__isSmartRef__":true,"id":2223}],"vector":{"__isSmartRef__":true,"id":2225},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2219":{"offset":0,"color":{"__isSmartRef__":true,"id":2220}},"2220":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2221":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2222}},"2222":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2223":{"offset":1,"color":{"__isSmartRef__":true,"id":2224}},"2224":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2225":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2226":{"resizeWidth":true,"adjustForNewBounds":true},"2227":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2228":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2229":{"submorphs":[],"scripts":[],"id":845,"shape":{"__isSmartRef__":true,"id":2230},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2235},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":2236},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":2237},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":2112},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2238},"__LivelyClassName__":"lively.morphic.Box"},"2230":{"position":{"__isSmartRef__":true,"id":2231},"_Extent":{"__isSmartRef__":true,"id":2232},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2233},"_Fill":{"__isSmartRef__":true,"id":2234},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2231":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2232":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2233":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2234":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2235":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2236":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2237":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2238":{"onDrag":{"__isSmartRef__":true,"id":2239},"onDragEnd":{"__isSmartRef__":true,"id":2246},"onDragStart":{"__isSmartRef__":true,"id":2253}},"2239":{"varMapping":{"__isSmartRef__":true,"id":2240},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":2245},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2240":{"this":{"__isSmartRef__":true,"id":2229},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2241}},"2241":{"$super":{"__isSmartRef__":true,"id":2242}},"2242":{"varMapping":{"__isSmartRef__":true,"id":2243},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2244},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2243":{"obj":{"__isSmartRef__":true,"id":2229},"name":"onDrag"},"2244":{},"2245":{},"2246":{"varMapping":{"__isSmartRef__":true,"id":2247},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2252},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2247":{"this":{"__isSmartRef__":true,"id":2229},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2248}},"2248":{"$super":{"__isSmartRef__":true,"id":2249}},"2249":{"varMapping":{"__isSmartRef__":true,"id":2250},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2251},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2250":{"obj":{"__isSmartRef__":true,"id":2229},"name":"onDragEnd"},"2251":{},"2252":{},"2253":{"varMapping":{"__isSmartRef__":true,"id":2254},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":2259},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2254":{"this":{"__isSmartRef__":true,"id":2229},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2255}},"2255":{"$super":{"__isSmartRef__":true,"id":2256}},"2256":{"varMapping":{"__isSmartRef__":true,"id":2257},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2258},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2257":{"obj":{"__isSmartRef__":true,"id":2229},"name":"onDragStart"},"2258":{},"2259":{},"2260":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2261},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2261":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2262":{"adjustForNewBounds":true},"2263":{"x":1595.5788196336675,"y":111.10305717940957,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2264":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2265":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2266":{"x":2486,"y":122,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2267":{"requiredModules":["lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting"],"partsSpaceName":"PartsBin/Tools/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","comment":"Early version. Requires improvement.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2268":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2269":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2270":{"addTargetScript":{"__isSmartRef__":true,"id":2271},"addTestObject":{"__isSmartRef__":true,"id":2274},"allMorphNames":{"__isSmartRef__":true,"id":2277},"allScriptListItems":{"__isSmartRef__":true,"id":2280},"bindMorphNames":{"__isSmartRef__":true,"id":2283},"doSearch":{"__isSmartRef__":true,"id":2286},"findSubobjects":{"__isSmartRef__":true,"id":2289},"generateSourceForConnection":{"__isSmartRef__":true,"id":2292},"generateSourceForObject":{"__isSmartRef__":true,"id":2295},"generateSourceForProperty":{"__isSmartRef__":true,"id":2298},"generateSourceForScript":{"__isSmartRef__":true,"id":2301},"generateSourceForValue":{"__isSmartRef__":true,"id":2304},"generateTargetCode":{"__isSmartRef__":true,"id":2307},"highlightSelectedObject":{"__isSmartRef__":true,"id":2310},"listItemsForObj":{"__isSmartRef__":true,"id":2313},"removeTargetScript":{"__isSmartRef__":true,"id":2316},"reset":{"__isSmartRef__":true,"id":2319},"setSourceInPane":{"__isSmartRef__":true,"id":2322},"setTarget":{"__isSmartRef__":true,"id":2325},"setupConnections":{"__isSmartRef__":true,"id":2328},"showTopLevelItems":{"__isSmartRef__":true,"id":2331},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2334},"updateScriptList":{"__isSmartRef__":true,"id":2337},"updateSourcePane":{"__isSmartRef__":true,"id":2340}},"2271":{"varMapping":{"__isSmartRef__":true,"id":2272},"source":"function addTargetScript(name) {\n\tvar target = this.target;\n\tif (!target) return;\n\n\ttarget.addScript(\"function \" + name + \"() {\\n\\n}\"); \n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":2273},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2272":{"this":{"__isSmartRef__":true,"id":1564}},"2273":{},"2274":{"varMapping":{"__isSmartRef__":true,"id":2275},"source":"function addTestObject() {\n\tthis.testObject = {\n\t\tname: 'ScriptEditorTest',\n\t\taddScript: function addScript(funcOrString, optName) {\n\t\t\tvar func = Function.fromString(funcOrString);\n\t\t\treturn func.asScriptOf(this, optName);\n\t\t}.asScript()\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":2276},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2275":{"this":{"__isSmartRef__":true,"id":1564}},"2276":{},"2277":{"varMapping":{"__isSmartRef__":true,"id":2278},"source":"function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n}","funcProperties":{"__isSmartRef__":true,"id":2279},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2278":{"this":{"__isSmartRef__":true,"id":1564}},"2279":{},"2280":{"varMapping":{"__isSmartRef__":true,"id":2281},"source":"function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":2282},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2281":{"this":{"__isSmartRef__":true,"id":1564}},"2282":{},"2283":{"varMapping":{"__isSmartRef__":true,"id":2284},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":2285},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2284":{"this":{"__isSmartRef__":true,"id":1564}},"2285":{},"2286":{"varMapping":{"__isSmartRef__":true,"id":2287},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":2288},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2287":{"this":{"__isSmartRef__":true,"id":1564}},"2288":{},"2289":{"varMapping":{"__isSmartRef__":true,"id":2290},"source":"function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n}","funcProperties":{"__isSmartRef__":true,"id":2291},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2290":{"this":{"__isSmartRef__":true,"id":1564}},"2291":{},"2292":{"varMapping":{"__isSmartRef__":true,"id":2293},"source":"function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2294},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2293":{"this":{"__isSmartRef__":true,"id":1564}},"2294":{},"2295":{"varMapping":{"__isSmartRef__":true,"id":2296},"source":"function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":2297},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2296":{"this":{"__isSmartRef__":true,"id":1564}},"2297":{},"2298":{"varMapping":{"__isSmartRef__":true,"id":2299},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":2300},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2299":{"this":{"__isSmartRef__":true,"id":1564}},"2300":{},"2301":{"varMapping":{"__isSmartRef__":true,"id":2302},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":2303},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2302":{"this":{"__isSmartRef__":true,"id":1564}},"2303":{},"2304":{"varMapping":{"__isSmartRef__":true,"id":2305},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":2306},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2305":{"this":{"__isSmartRef__":true,"id":1564}},"2306":{},"2307":{"varMapping":{"__isSmartRef__":true,"id":2308},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":2309},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2308":{"this":{"__isSmartRef__":true,"id":1564}},"2309":{},"2310":{"varMapping":{"__isSmartRef__":true,"id":2311},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":2312},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2311":{"this":{"__isSmartRef__":true,"id":1564}},"2312":{},"2313":{"varMapping":{"__isSmartRef__":true,"id":2314},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":2315},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2314":{"this":{"__isSmartRef__":true,"id":1564}},"2315":{},"2316":{"varMapping":{"__isSmartRef__":true,"id":2317},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":2318},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2317":{"this":{"__isSmartRef__":true,"id":1564}},"2318":{},"2319":{"varMapping":{"__isSmartRef__":true,"id":2320},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":2321},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2320":{"this":{"__isSmartRef__":true,"id":1564}},"2321":{},"2322":{"varMapping":{"__isSmartRef__":true,"id":2323},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":2324},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2323":{"this":{"__isSmartRef__":true,"id":1564}},"2324":{},"2325":{"varMapping":{"__isSmartRef__":true,"id":2326},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n\n\tmodule('lively.ide.SyntaxHighlighting').load(true)\n\tthis.get('scriptSource').highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":2327},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2326":{"this":{"__isSmartRef__":true,"id":1564}},"2327":{},"2328":{"varMapping":{"__isSmartRef__":true,"id":2329},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":2330},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2329":{"this":{"__isSmartRef__":true,"id":1564}},"2330":{},"2331":{"varMapping":{"__isSmartRef__":true,"id":2332},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":2333},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2332":{"this":{"__isSmartRef__":true,"id":1564}},"2333":{},"2334":{"varMapping":{"__isSmartRef__":true,"id":2335},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":2336},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2335":{"this":{"__isSmartRef__":true,"id":1564}},"2336":{},"2337":{"varMapping":{"__isSmartRef__":true,"id":2338},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":2339},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2338":{"this":{"__isSmartRef__":true,"id":1564}},"2339":{},"2340":{"varMapping":{"__isSmartRef__":true,"id":2341},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":2342},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2341":{"this":{"__isSmartRef__":true,"id":1564}},"2342":{},"2343":{"style":{"__isSmartRef__":true,"id":2344},"morph":{"__isSmartRef__":true,"id":1556},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2344":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2345":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2346":{"sourceObj":{"__isSmartRef__":true,"id":1556},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1556},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2347":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2348":{"doSave":{"__isSmartRef__":true,"id":2349}},"2349":{"varMapping":{"__isSmartRef__":true,"id":2350},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":2355},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2350":{"this":{"__isSmartRef__":true,"id":1556},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2351}},"2351":{"$super":{"__isSmartRef__":true,"id":2352}},"2352":{"varMapping":{"__isSmartRef__":true,"id":2353},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2354},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2353":{"obj":{"__isSmartRef__":true,"id":1556},"name":"doSave"},"2354":{},"2355":{},"2356":{"position":{"__isSmartRef__":true,"id":2357},"_Extent":{"__isSmartRef__":true,"id":2358},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":2359},"_Fill":{"__isSmartRef__":true,"id":2360},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2357":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2358":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2359":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2360":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2361":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2362":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2363":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2364":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2365":{"addTargetScript":{"__isSmartRef__":true,"id":2366},"addTestObject":{"__isSmartRef__":true,"id":2369},"allMorphNames":{"__isSmartRef__":true,"id":2372},"allScriptListItems":{"__isSmartRef__":true,"id":2375},"bindMorphNames":{"__isSmartRef__":true,"id":2378},"doSearch":{"__isSmartRef__":true,"id":2381},"findSubobjects":{"__isSmartRef__":true,"id":2384},"generateSourceForConnection":{"__isSmartRef__":true,"id":2387},"generateSourceForObject":{"__isSmartRef__":true,"id":2390},"generateSourceForProperty":{"__isSmartRef__":true,"id":2393},"generateSourceForScript":{"__isSmartRef__":true,"id":2396},"generateSourceForValue":{"__isSmartRef__":true,"id":2399},"generateTargetCode":{"__isSmartRef__":true,"id":2402},"highlightSelectedObject":{"__isSmartRef__":true,"id":2405},"listItemsForObj":{"__isSmartRef__":true,"id":2408},"removeTargetScript":{"__isSmartRef__":true,"id":2411},"reset":{"__isSmartRef__":true,"id":2414},"setSourceInPane":{"__isSmartRef__":true,"id":2417},"setTarget":{"__isSmartRef__":true,"id":2420},"setupConnections":{"__isSmartRef__":true,"id":2423},"showTopLevelItems":{"__isSmartRef__":true,"id":2426},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2429},"updateScriptList":{"__isSmartRef__":true,"id":2432},"updateSourcePane":{"__isSmartRef__":true,"id":2435}},"2366":{"varMapping":{"__isSmartRef__":true,"id":2367},"source":"function addTargetScript(name) {\n\tvar target = this.target;\n\tif (!target) return;\n\n\ttarget.addScript(\"function \" + name + \"() {\\n\\n}\"); \n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":2368},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2367":{"this":{"__isSmartRef__":true,"id":1555}},"2368":{},"2369":{"varMapping":{"__isSmartRef__":true,"id":2370},"source":"function addTestObject() {\n\tthis.testObject = {\n\t\tname: 'ScriptEditorTest',\n\t\taddScript: function addScript(funcOrString, optName) {\n\t\t\tvar func = Function.fromString(funcOrString);\n\t\t\treturn func.asScriptOf(this, optName);\n\t\t}.asScript()\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":2371},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2370":{"this":{"__isSmartRef__":true,"id":1555}},"2371":{},"2372":{"varMapping":{"__isSmartRef__":true,"id":2373},"source":"function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n}","funcProperties":{"__isSmartRef__":true,"id":2374},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2373":{"this":{"__isSmartRef__":true,"id":1555}},"2374":{},"2375":{"varMapping":{"__isSmartRef__":true,"id":2376},"source":"function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":2377},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2376":{"this":{"__isSmartRef__":true,"id":1555}},"2377":{},"2378":{"varMapping":{"__isSmartRef__":true,"id":2379},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":2380},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2379":{"this":{"__isSmartRef__":true,"id":1555}},"2380":{},"2381":{"varMapping":{"__isSmartRef__":true,"id":2382},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":2383},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2382":{"this":{"__isSmartRef__":true,"id":1555}},"2383":{},"2384":{"varMapping":{"__isSmartRef__":true,"id":2385},"source":"function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n}","funcProperties":{"__isSmartRef__":true,"id":2386},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2385":{"this":{"__isSmartRef__":true,"id":1555}},"2386":{},"2387":{"varMapping":{"__isSmartRef__":true,"id":2388},"source":"function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2389},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2388":{"this":{"__isSmartRef__":true,"id":1555}},"2389":{},"2390":{"varMapping":{"__isSmartRef__":true,"id":2391},"source":"function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":2392},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2391":{"this":{"__isSmartRef__":true,"id":1555}},"2392":{},"2393":{"varMapping":{"__isSmartRef__":true,"id":2394},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":2395},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2394":{"this":{"__isSmartRef__":true,"id":1555}},"2395":{},"2396":{"varMapping":{"__isSmartRef__":true,"id":2397},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":2398},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2397":{"this":{"__isSmartRef__":true,"id":1555}},"2398":{},"2399":{"varMapping":{"__isSmartRef__":true,"id":2400},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":2401},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2400":{"this":{"__isSmartRef__":true,"id":1555}},"2401":{},"2402":{"varMapping":{"__isSmartRef__":true,"id":2403},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":2404},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2403":{"this":{"__isSmartRef__":true,"id":1555}},"2404":{},"2405":{"varMapping":{"__isSmartRef__":true,"id":2406},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":2407},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2406":{"this":{"__isSmartRef__":true,"id":1555}},"2407":{},"2408":{"varMapping":{"__isSmartRef__":true,"id":2409},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":2410},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2409":{"this":{"__isSmartRef__":true,"id":1555}},"2410":{},"2411":{"varMapping":{"__isSmartRef__":true,"id":2412},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":2413},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2412":{"this":{"__isSmartRef__":true,"id":1555}},"2413":{},"2414":{"varMapping":{"__isSmartRef__":true,"id":2415},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":2416},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2415":{"this":{"__isSmartRef__":true,"id":1555}},"2416":{},"2417":{"varMapping":{"__isSmartRef__":true,"id":2418},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":2419},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2418":{"this":{"__isSmartRef__":true,"id":1555}},"2419":{},"2420":{"varMapping":{"__isSmartRef__":true,"id":2421},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n\n\tmodule('lively.ide.SyntaxHighlighting').load(true)\n\tthis.get('scriptSource').highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":2422},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2421":{"this":{"__isSmartRef__":true,"id":1555}},"2422":{},"2423":{"varMapping":{"__isSmartRef__":true,"id":2424},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":2425},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2424":{"this":{"__isSmartRef__":true,"id":1555}},"2425":{},"2426":{"varMapping":{"__isSmartRef__":true,"id":2427},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":2428},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2427":{"this":{"__isSmartRef__":true,"id":1555}},"2428":{},"2429":{"varMapping":{"__isSmartRef__":true,"id":2430},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":2431},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2430":{"this":{"__isSmartRef__":true,"id":1555}},"2431":{},"2432":{"varMapping":{"__isSmartRef__":true,"id":2433},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":2434},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2433":{"this":{"__isSmartRef__":true,"id":1555}},"2434":{},"2435":{"varMapping":{"__isSmartRef__":true,"id":2436},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":2437},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2436":{"this":{"__isSmartRef__":true,"id":1555}},"2437":{},"2438":{"submorphs":[{"__isSmartRef__":true,"id":2439},{"__isSmartRef__":true,"id":2449},{"__isSmartRef__":true,"id":2487},{"__isSmartRef__":true,"id":2513}],"scripts":[],"id":856,"shape":{"__isSmartRef__":true,"id":2540},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2551},"_Position":{"__isSmartRef__":true,"id":2552},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1554},"label":{"__isSmartRef__":true,"id":2439},"closeButton":{"__isSmartRef__":true,"id":2449},"menuButton":{"__isSmartRef__":true,"id":2487},"collapseButton":{"__isSmartRef__":true,"id":2513},"priorExtent":{"__isSmartRef__":true,"id":2553},"owner":{"__isSmartRef__":true,"id":1554},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"2439":{"submorphs":[],"scripts":[],"id":857,"shape":{"__isSmartRef__":true,"id":2440},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2443},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2444},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2445}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":2438},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2447},"renderContextTable":{"__isSmartRef__":true,"id":2448},"__LivelyClassName__":"lively.morphic.Text"},"2440":{"_Position":{"__isSmartRef__":true,"id":2441},"_Extent":{"__isSmartRef__":true,"id":2442},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2359},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2441":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2442":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2443":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2444":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2445":{"style":{"__isSmartRef__":true,"id":2446},"morph":{"__isSmartRef__":true,"id":2439},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2446":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2447":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2448":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2449":{"submorphs":[{"__isSmartRef__":true,"id":2450}],"scripts":[],"id":858,"shape":{"__isSmartRef__":true,"id":2460},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2474},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2464},"lighterFill":{"__isSmartRef__":true,"id":2475},"label":{"__isSmartRef__":true,"id":2450},"owner":{"__isSmartRef__":true,"id":2438},"layout":{"__isSmartRef__":true,"id":2484},"attributeConnections":[{"__isSmartRef__":true,"id":2485},{"__isSmartRef__":true,"id":2486}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2450":{"submorphs":[],"scripts":[],"id":859,"shape":{"__isSmartRef__":true,"id":2451},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2454},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2455},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2456}],"owner":{"__isSmartRef__":true,"id":2449},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2458},"renderContextTable":{"__isSmartRef__":true,"id":2459},"__LivelyClassName__":"lively.morphic.Text"},"2451":{"_Position":{"__isSmartRef__":true,"id":2452},"_Extent":{"__isSmartRef__":true,"id":2453},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2359},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2452":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2453":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2454":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2455":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2456":{"style":{"__isSmartRef__":true,"id":2457},"morph":{"__isSmartRef__":true,"id":2450},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2457":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2458":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2459":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2460":{"_Position":{"__isSmartRef__":true,"id":2461},"_Extent":{"__isSmartRef__":true,"id":2462},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2463},"_Fill":{"__isSmartRef__":true,"id":2464},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2461":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2462":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2463":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2464":{"stops":[{"__isSmartRef__":true,"id":2465},{"__isSmartRef__":true,"id":2467},{"__isSmartRef__":true,"id":2469},{"__isSmartRef__":true,"id":2471}],"vector":{"__isSmartRef__":true,"id":2473},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2465":{"offset":0,"color":{"__isSmartRef__":true,"id":2466}},"2466":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2467":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2468}},"2468":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2469":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2470}},"2470":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2471":{"offset":1,"color":{"__isSmartRef__":true,"id":2472}},"2472":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2473":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2474":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2475":{"stops":[{"__isSmartRef__":true,"id":2476},{"__isSmartRef__":true,"id":2478},{"__isSmartRef__":true,"id":2480},{"__isSmartRef__":true,"id":2482}],"vector":{"__isSmartRef__":true,"id":2473},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2476":{"offset":0,"color":{"__isSmartRef__":true,"id":2477}},"2477":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2478":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2479}},"2479":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2480":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2481}},"2481":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2482":{"offset":1,"color":{"__isSmartRef__":true,"id":2483}},"2483":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2484":{"moveHorizontal":true},"2485":{"sourceObj":{"__isSmartRef__":true,"id":2449},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1554},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2486":{"sourceObj":{"__isSmartRef__":true,"id":2449},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1554},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2487":{"submorphs":[{"__isSmartRef__":true,"id":2488}],"scripts":[],"id":860,"shape":{"__isSmartRef__":true,"id":2498},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2501},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2464},"lighterFill":{"__isSmartRef__":true,"id":2502},"label":{"__isSmartRef__":true,"id":2488},"owner":{"__isSmartRef__":true,"id":2438},"attributeConnections":[{"__isSmartRef__":true,"id":2511},{"__isSmartRef__":true,"id":2512}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2488":{"submorphs":[],"scripts":[],"id":861,"shape":{"__isSmartRef__":true,"id":2489},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2492},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2493},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2494}],"owner":{"__isSmartRef__":true,"id":2487},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2496},"renderContextTable":{"__isSmartRef__":true,"id":2497},"__LivelyClassName__":"lively.morphic.Text"},"2489":{"_Position":{"__isSmartRef__":true,"id":2490},"_Extent":{"__isSmartRef__":true,"id":2491},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2359},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2490":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2491":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2492":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2493":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2494":{"style":{"__isSmartRef__":true,"id":2495},"morph":{"__isSmartRef__":true,"id":2488},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2495":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2496":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2497":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2498":{"_Position":{"__isSmartRef__":true,"id":2499},"_Extent":{"__isSmartRef__":true,"id":2500},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2463},"_Fill":{"__isSmartRef__":true,"id":2464},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2499":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2500":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2501":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2502":{"stops":[{"__isSmartRef__":true,"id":2503},{"__isSmartRef__":true,"id":2505},{"__isSmartRef__":true,"id":2507},{"__isSmartRef__":true,"id":2509}],"vector":{"__isSmartRef__":true,"id":2473},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2503":{"offset":0,"color":{"__isSmartRef__":true,"id":2504}},"2504":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2505":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2506}},"2506":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2507":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2508}},"2508":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2509":{"offset":1,"color":{"__isSmartRef__":true,"id":2510}},"2510":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2511":{"sourceObj":{"__isSmartRef__":true,"id":2487},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1554},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2512":{"sourceObj":{"__isSmartRef__":true,"id":2487},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1554},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2513":{"submorphs":[{"__isSmartRef__":true,"id":2514}],"scripts":[],"id":862,"shape":{"__isSmartRef__":true,"id":2524},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2527},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2464},"lighterFill":{"__isSmartRef__":true,"id":2528},"label":{"__isSmartRef__":true,"id":2514},"owner":{"__isSmartRef__":true,"id":2438},"layout":{"__isSmartRef__":true,"id":2537},"attributeConnections":[{"__isSmartRef__":true,"id":2538},{"__isSmartRef__":true,"id":2539}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2514":{"submorphs":[],"scripts":[],"id":863,"shape":{"__isSmartRef__":true,"id":2515},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2518},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2519},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2520}],"owner":{"__isSmartRef__":true,"id":2513},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2522},"renderContextTable":{"__isSmartRef__":true,"id":2523},"__LivelyClassName__":"lively.morphic.Text"},"2515":{"_Position":{"__isSmartRef__":true,"id":2516},"_Extent":{"__isSmartRef__":true,"id":2517},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2359},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2516":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2517":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2518":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2519":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2520":{"style":{"__isSmartRef__":true,"id":2521},"morph":{"__isSmartRef__":true,"id":2514},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2521":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2522":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2523":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2524":{"_Position":{"__isSmartRef__":true,"id":2525},"_Extent":{"__isSmartRef__":true,"id":2526},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2463},"_Fill":{"__isSmartRef__":true,"id":2464},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2525":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2526":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2527":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2528":{"stops":[{"__isSmartRef__":true,"id":2529},{"__isSmartRef__":true,"id":2531},{"__isSmartRef__":true,"id":2533},{"__isSmartRef__":true,"id":2535}],"vector":{"__isSmartRef__":true,"id":2473},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2529":{"offset":0,"color":{"__isSmartRef__":true,"id":2530}},"2530":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2531":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2532}},"2532":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2533":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2534}},"2534":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2535":{"offset":1,"color":{"__isSmartRef__":true,"id":2536}},"2536":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2537":{"moveHorizontal":true},"2538":{"sourceObj":{"__isSmartRef__":true,"id":2513},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1554},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2539":{"sourceObj":{"__isSmartRef__":true,"id":2513},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1554},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2540":{"_Position":{"__isSmartRef__":true,"id":2541},"_Extent":{"__isSmartRef__":true,"id":2542},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1560},"_Fill":{"__isSmartRef__":true,"id":2543},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2541":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2542":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2543":{"stops":[{"__isSmartRef__":true,"id":2544},{"__isSmartRef__":true,"id":2546},{"__isSmartRef__":true,"id":2548}],"vector":{"__isSmartRef__":true,"id":2550},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2544":{"offset":0,"color":{"__isSmartRef__":true,"id":2545}},"2545":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2546":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2547}},"2547":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2548":{"offset":1,"color":{"__isSmartRef__":true,"id":2549}},"2549":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2550":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2551":{"resizeWidth":true,"adjustForNewBounds":true},"2552":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2553":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2554":{"submorphs":[],"scripts":[],"id":864,"shape":{"__isSmartRef__":true,"id":2555},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2560},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":2561},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":2562},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1554},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2563},"__LivelyClassName__":"lively.morphic.Box"},"2555":{"position":{"__isSmartRef__":true,"id":2556},"_Extent":{"__isSmartRef__":true,"id":2557},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2558},"_Fill":{"__isSmartRef__":true,"id":2559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2556":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2557":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2558":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2559":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2560":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2561":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2562":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2563":{"onDrag":{"__isSmartRef__":true,"id":2564},"onDragEnd":{"__isSmartRef__":true,"id":2571},"onDragStart":{"__isSmartRef__":true,"id":2578}},"2564":{"varMapping":{"__isSmartRef__":true,"id":2565},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":2570},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2565":{"this":{"__isSmartRef__":true,"id":2554},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2566}},"2566":{"$super":{"__isSmartRef__":true,"id":2567}},"2567":{"varMapping":{"__isSmartRef__":true,"id":2568},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2569},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2568":{"obj":{"__isSmartRef__":true,"id":2554},"name":"onDrag"},"2569":{},"2570":{},"2571":{"varMapping":{"__isSmartRef__":true,"id":2572},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2577},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2572":{"this":{"__isSmartRef__":true,"id":2554},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2573}},"2573":{"$super":{"__isSmartRef__":true,"id":2574}},"2574":{"varMapping":{"__isSmartRef__":true,"id":2575},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2576},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2575":{"obj":{"__isSmartRef__":true,"id":2554},"name":"onDragEnd"},"2576":{},"2577":{},"2578":{"varMapping":{"__isSmartRef__":true,"id":2579},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":2584},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2579":{"this":{"__isSmartRef__":true,"id":2554},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2580}},"2580":{"$super":{"__isSmartRef__":true,"id":2581}},"2581":{"varMapping":{"__isSmartRef__":true,"id":2582},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2583},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2582":{"obj":{"__isSmartRef__":true,"id":2554},"name":"onDragStart"},"2583":{},"2584":{},"2585":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2586},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2586":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2587":{"adjustForNewBounds":true},"2588":{"x":1326.6587397135877,"y":105.10505518140758,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2589":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2590":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2591":{"x":1603,"y":115,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2592":{"requiredModules":["lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting"],"partsSpaceName":"PartsBin/Tools/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","comment":"Early version. Requires improvement.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2593":{"submorphs":[{"__isSmartRef__":true,"id":2594},{"__isSmartRef__":true,"id":2698},{"__isSmartRef__":true,"id":2806}],"scripts":[],"id":2638,"shape":{"__isSmartRef__":true,"id":2837},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":2839},"_Position":{"__isSmartRef__":true,"id":2840},"priorExtent":{"__isSmartRef__":true,"id":2841},"targetMorph":{"__isSmartRef__":true,"id":2594},"titleBar":{"__isSmartRef__":true,"id":2698},"contentOffset":{"__isSmartRef__":true,"id":2842},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":2843},"showsHalos":false,"name":"ScriptEditor1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2844},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":1528},"__LivelyClassName__":"lively.morphic.Window"},"2594":{"submorphs":[{"__isSmartRef__":true,"id":2595}],"scripts":[],"id":2639,"shape":{"__isSmartRef__":true,"id":2616},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2621},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":2622},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":2593},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":2595},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":1116},"_Scale":1,"layout":{"__isSmartRef__":true,"id":2623},"priorExtent":{"__isSmartRef__":true,"id":2624},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2625},"__LivelyClassName__":"lively.morphic.Box"},"2595":{"submorphs":[],"scripts":[],"id":2640,"shape":{"__isSmartRef__":true,"id":2596},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2601},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":2594},"layout":{"__isSmartRef__":true,"id":2602},"doitContext":{"__isSmartRef__":true,"id":1116},"charsReplaced":"1 + 2","lastFindLoc":-5,"showsHalos":false,"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"scriptSource","savedTextString":"// WordsDiagram (this)\n\n// ** WordsDiagram's Scripts **\nthis.addScript(function draw(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\tif (!pv) return ;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n});\n\nthis.addScript(function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n});\n\nthis.addScript(function setData(a) {\n\tthis.data = a;\n\tthis.render()\n});","textChunks":[{"__isSmartRef__":true,"id":2603}],"priorSelectionRange":[3403,3403],"_ClipMode":"auto","prevScroll":[0,1687],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":2605},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":2606}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1305535993976,"cachedTextString":"// ObjectEditor (this)\n\n// ** ObjectEditor's Scripts **\nthis.addScript(function chooseSubmorphsMenu() {\n var submorphs = this.submorphs.reject(function(morph){\n return !morph.name;\n })\n var morphNames = submorphs.pluck('name');\n var that = this;\n var items = morphNames.collect(function(name) {\n return [name, function() { that.setTarget($morph(name)) }]\n });\n MenuMorph.openAtHand('Select morph to edit', items);\n});\n\nthis.addScript(function chooseTargetMorphMenu() {\n var topLevelMorphs = this.world().submorphs.reject(function(morph){\n return !morph.name;\n })\n var morphNames = topLevelMorphs.pluck('name');\n var that = this;\n var items = morphNames.collect(function(name) {\n return [name, function() { that.setTarget($morph(name)) }]\n });\n MenuMorph.openAtHand('Select morph to edit', items);\n});\n\nthis.addScript(function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n});\n\nthis.addScript(function displaySourceForConnection(connection) {\n var code = \"\";\n if (connection) {\n var code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n});\n\nthis.addScript(function displaySourceForScript(scriptName) {\n var code = \"\";\n if (scriptName) {\n var code = this.generateSourceForScript(scriptName);\n } \n this.displayJavaScriptSource(code);\n});\n\nthis.addScript(function generateSourceForConnection(connection) {\n var c = connection;\n var targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n});\n\nthis.addScript(function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n});\n\nthis.addScript(function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n});\n\nthis.addScript(function reset() {\n this.target = null;\n this.setTitle(\"ObjectEditor - no target morph chosen\");\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.scriptPane.setTextString(\"\");\n});\n\nthis.addScript(function setTarget(morph) {\n this.reset();\n if (morph) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.setTitle(\"ObjectEditor - \"+ (this.target.getName()));\n this.scriptPane.doitContext = this.target;\n this.scriptList.setList(this.sortedScriptNamesOfObj(morph));\n this.connectionList.setList(this. sortedConnectionNamesOfObj(morph));\n if (this.scriptList.getList().size() > 0) {\n this.scriptList.selectAt(0);\n }\n }\n});\n\nthis.addScript(function sortedConnectionNamesOfObj(obj) {\n if (!obj.attributeConnections) {return []};\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n});\n\nthis.addScript(function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n});","renderContextTable":{"__isSmartRef__":true,"id":2607},"textString":"// ObjectEditor (this)\n\n// ** ObjectEditor's Scripts **\nthis.addScript(function chooseSubmorphsMenu() {\n var submorphs = this.submorphs.reject(function(morph){\n return !morph.name;\n })\n var morphNames = submorphs.pluck('name');\n var that = this;\n var items = morphNames.collect(function(name) {\n return [name, function() { that.setTarget($morph(name)) }]\n });\n MenuMorph.openAtHand('Select morph to edit', items);\n});\n\nthis.addScript(function chooseTargetMorphMenu() {\n var topLevelMorphs = this.world().submorphs.reject(function(morph){\n return !morph.name;\n })\n var morphNames = topLevelMorphs.pluck('name');\n var that = this;\n var items = morphNames.collect(function(name) {\n return [name, function() { that.setTarget($morph(name)) }]\n });\n MenuMorph.openAtHand('Select morph to edit', items);\n});\n\nthis.addScript(function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n});\n\nthis.addScript(function displaySourceForConnection(connection) {\n var code = \"\";\n if (connection) {\n var code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n});\n\nthis.addScript(function displaySourceForScript(scriptName) {\n var code = \"\";\n if (scriptName) {\n var code = this.generateSourceForScript(scriptName);\n } \n this.displayJavaScriptSource(code);\n});\n\nthis.addScript(function generateSourceForConnection(connection) {\n var c = connection;\n var targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n});\n\nthis.addScript(function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n});\n\nthis.addScript(function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n});\n\nthis.addScript(function reset() {\n this.target = null;\n this.setTitle(\"ObjectEditor - no target morph chosen\");\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.scriptPane.setTextString(\"\");\n});\n\nthis.addScript(function setTarget(morph) {\n this.reset();\n if (morph) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.setTitle(\"ObjectEditor - \"+ (this.target.getName()));\n this.scriptPane.doitContext = this.target;\n this.scriptList.setList(this.sortedScriptNamesOfObj(morph));\n this.connectionList.setList(this. sortedConnectionNamesOfObj(morph));\n if (this.scriptList.getList().size() > 0) {\n this.scriptList.selectAt(0);\n }\n }\n});\n\nthis.addScript(function sortedConnectionNamesOfObj(obj) {\n if (!obj.attributeConnections) {return []};\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n});\n\nthis.addScript(function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n});","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2608},"__LivelyClassName__":"lively.morphic.Text"},"2596":{"position":{"__isSmartRef__":true,"id":2597},"_Extent":{"__isSmartRef__":true,"id":2598},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2599},"_Fill":{"__isSmartRef__":true,"id":2600},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2597":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2598":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2599":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2600":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2601":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2602":{"resizeWidth":true,"resizeHeight":true},"2603":{"style":{"__isSmartRef__":true,"id":2604},"morph":{"__isSmartRef__":true,"id":2595},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2604":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2605":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2606":{"sourceObj":{"__isSmartRef__":true,"id":2595},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":2595},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2607":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2608":{"doSave":{"__isSmartRef__":true,"id":2609}},"2609":{"varMapping":{"__isSmartRef__":true,"id":2610},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":2615},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2610":{"this":{"__isSmartRef__":true,"id":2595},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2611}},"2611":{"$super":{"__isSmartRef__":true,"id":2612}},"2612":{"varMapping":{"__isSmartRef__":true,"id":2613},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2614},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2613":{"obj":{"__isSmartRef__":true,"id":2595},"name":"doSave"},"2614":{},"2615":{},"2616":{"position":{"__isSmartRef__":true,"id":2617},"_Extent":{"__isSmartRef__":true,"id":2618},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":2619},"_Fill":{"__isSmartRef__":true,"id":2620},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2617":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2618":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2619":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2620":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2621":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2622":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2623":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2624":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2625":{"addTargetScript":{"__isSmartRef__":true,"id":2626},"addTestObject":{"__isSmartRef__":true,"id":2629},"allMorphNames":{"__isSmartRef__":true,"id":2632},"allScriptListItems":{"__isSmartRef__":true,"id":2635},"bindMorphNames":{"__isSmartRef__":true,"id":2638},"doSearch":{"__isSmartRef__":true,"id":2641},"findSubobjects":{"__isSmartRef__":true,"id":2644},"generateSourceForConnection":{"__isSmartRef__":true,"id":2647},"generateSourceForObject":{"__isSmartRef__":true,"id":2650},"generateSourceForProperty":{"__isSmartRef__":true,"id":2653},"generateSourceForScript":{"__isSmartRef__":true,"id":2656},"generateSourceForValue":{"__isSmartRef__":true,"id":2659},"generateTargetCode":{"__isSmartRef__":true,"id":2662},"highlightSelectedObject":{"__isSmartRef__":true,"id":2665},"listItemsForObj":{"__isSmartRef__":true,"id":2668},"removeTargetScript":{"__isSmartRef__":true,"id":2671},"reset":{"__isSmartRef__":true,"id":2674},"setSourceInPane":{"__isSmartRef__":true,"id":2677},"setTarget":{"__isSmartRef__":true,"id":2680},"setupConnections":{"__isSmartRef__":true,"id":2683},"showTopLevelItems":{"__isSmartRef__":true,"id":2686},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2689},"updateScriptList":{"__isSmartRef__":true,"id":2692},"updateSourcePane":{"__isSmartRef__":true,"id":2695}},"2626":{"varMapping":{"__isSmartRef__":true,"id":2627},"source":"function addTargetScript(name) {\n\tvar target = this.target;\n\tif (!target) return;\n\n\ttarget.addScript(\"function \" + name + \"() {\\n\\n}\"); \n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":2628},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2627":{"this":{"__isSmartRef__":true,"id":2594}},"2628":{},"2629":{"varMapping":{"__isSmartRef__":true,"id":2630},"source":"function addTestObject() {\n\tthis.testObject = {\n\t\tname: 'ScriptEditorTest',\n\t\taddScript: function addScript(funcOrString, optName) {\n\t\t\tvar func = Function.fromString(funcOrString);\n\t\t\treturn func.asScriptOf(this, optName);\n\t\t}.asScript()\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":2631},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2630":{"this":{"__isSmartRef__":true,"id":2594}},"2631":{},"2632":{"varMapping":{"__isSmartRef__":true,"id":2633},"source":"function allMorphNames() {\n\tvar names = [];\n\tthis.world().withAllSubmorphsDo(function() { if (this.name) names.push(this.name) })\n\treturn names;\n}","funcProperties":{"__isSmartRef__":true,"id":2634},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2633":{"this":{"__isSmartRef__":true,"id":2594}},"2634":{},"2635":{"varMapping":{"__isSmartRef__":true,"id":2636},"source":"function allScriptListItems() {\n\tvar obj = this.target;\n\tif (!obj) return [];\n\n\tvar listItems = this.findSubobjects(obj).collect(function(ea) {\n\t\treturn this.listItemsForObj(ea);\n\t}, this).flatten()\n\n\treturn listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":2637},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2636":{"this":{"__isSmartRef__":true,"id":2594}},"2637":{},"2638":{"varMapping":{"__isSmartRef__":true,"id":2639},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":2640},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2639":{"this":{"__isSmartRef__":true,"id":2594}},"2640":{},"2641":{"varMapping":{"__isSmartRef__":true,"id":2642},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":2643},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2642":{"this":{"__isSmartRef__":true,"id":2594}},"2643":{},"2644":{"varMapping":{"__isSmartRef__":true,"id":2645},"source":"function findSubobjects(obj) {\n\tvar objs = [];\n\tobj.withAllSubmorphsDo(function(){ objs.push(this) });\n\n\tif (obj.testObject && obj.testObject.name)\n\t\tobjs.push(obj.testObject)\n\treturn objs\n}","funcProperties":{"__isSmartRef__":true,"id":2646},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2645":{"this":{"__isSmartRef__":true,"id":2594}},"2646":{},"2647":{"varMapping":{"__isSmartRef__":true,"id":2648},"source":"function generateSourceForConnection(baseObject, targetObject, connection) {\n\tvar c = connection;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(baseObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(baseObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2649},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2648":{"this":{"__isSmartRef__":true,"id":2594}},"2649":{},"2650":{"varMapping":{"__isSmartRef__":true,"id":2651},"source":"function generateSourceForObject(baseObject, targetObj) {\n\tvar source = \"// \" + targetObj.name + \" (\" + \n\t\tthis.generateTargetCode(baseObject, targetObj) + \")\\n\\n\"\n\n\n\tvar scriptNames = this.sortedScriptNamesOfObj(targetObj)\n\tif (scriptNames.length > 0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":2652},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2651":{"this":{"__isSmartRef__":true,"id":2594}},"2652":{},"2653":{"varMapping":{"__isSmartRef__":true,"id":2654},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":2655},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2654":{"this":{"__isSmartRef__":true,"id":2594}},"2655":{},"2656":{"varMapping":{"__isSmartRef__":true,"id":2657},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":2658},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2657":{"this":{"__isSmartRef__":true,"id":2594}},"2658":{},"2659":{"varMapping":{"__isSmartRef__":true,"id":2660},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":2661},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2660":{"this":{"__isSmartRef__":true,"id":2594}},"2661":{},"2662":{"varMapping":{"__isSmartRef__":true,"id":2663},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":2664},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2663":{"this":{"__isSmartRef__":true,"id":2594}},"2664":{},"2665":{"varMapping":{"__isSmartRef__":true,"id":2666},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":2667},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2666":{"this":{"__isSmartRef__":true,"id":2594}},"2667":{},"2668":{"varMapping":{"__isSmartRef__":true,"id":2669},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":2670},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2669":{"this":{"__isSmartRef__":true,"id":2594}},"2670":{},"2671":{"varMapping":{"__isSmartRef__":true,"id":2672},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":2673},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2672":{"this":{"__isSmartRef__":true,"id":2594}},"2673":{},"2674":{"varMapping":{"__isSmartRef__":true,"id":2675},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":2676},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2675":{"this":{"__isSmartRef__":true,"id":2594}},"2676":{},"2677":{"varMapping":{"__isSmartRef__":true,"id":2678},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":2679},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2678":{"this":{"__isSmartRef__":true,"id":2594}},"2679":{},"2680":{"varMapping":{"__isSmartRef__":true,"id":2681},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n\n\tmodule('lively.ide.SyntaxHighlighting').load(true)\n\tthis.get('scriptSource').highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":2682},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2681":{"this":{"__isSmartRef__":true,"id":2594}},"2682":{},"2683":{"varMapping":{"__isSmartRef__":true,"id":2684},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":2685},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2684":{"this":{"__isSmartRef__":true,"id":2594}},"2685":{},"2686":{"varMapping":{"__isSmartRef__":true,"id":2687},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":2688},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2687":{"this":{"__isSmartRef__":true,"id":2594}},"2688":{},"2689":{"varMapping":{"__isSmartRef__":true,"id":2690},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":2691},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2690":{"this":{"__isSmartRef__":true,"id":2594}},"2691":{},"2692":{"varMapping":{"__isSmartRef__":true,"id":2693},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":2694},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2693":{"this":{"__isSmartRef__":true,"id":2594}},"2694":{},"2695":{"varMapping":{"__isSmartRef__":true,"id":2696},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":2697},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2696":{"this":{"__isSmartRef__":true,"id":2594}},"2697":{},"2698":{"submorphs":[{"__isSmartRef__":true,"id":2699},{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2747},{"__isSmartRef__":true,"id":2773}],"scripts":[],"id":2641,"shape":{"__isSmartRef__":true,"id":2800},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2803},"_Position":{"__isSmartRef__":true,"id":2804},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":2593},"label":{"__isSmartRef__":true,"id":2699},"closeButton":{"__isSmartRef__":true,"id":2709},"menuButton":{"__isSmartRef__":true,"id":2747},"collapseButton":{"__isSmartRef__":true,"id":2773},"priorExtent":{"__isSmartRef__":true,"id":2805},"owner":{"__isSmartRef__":true,"id":2593},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"2699":{"submorphs":[],"scripts":[],"id":2642,"shape":{"__isSmartRef__":true,"id":2700},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2703},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2704},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2705}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":2698},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2707},"renderContextTable":{"__isSmartRef__":true,"id":2708},"__LivelyClassName__":"lively.morphic.Text"},"2700":{"_Position":{"__isSmartRef__":true,"id":2701},"_Extent":{"__isSmartRef__":true,"id":2702},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2619},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2701":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2702":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2703":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2704":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2705":{"style":{"__isSmartRef__":true,"id":2706},"morph":{"__isSmartRef__":true,"id":2699},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2706":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2707":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2708":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2709":{"submorphs":[{"__isSmartRef__":true,"id":2710}],"scripts":[],"id":2643,"shape":{"__isSmartRef__":true,"id":2720},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2734},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2724},"lighterFill":{"__isSmartRef__":true,"id":2735},"label":{"__isSmartRef__":true,"id":2710},"owner":{"__isSmartRef__":true,"id":2698},"layout":{"__isSmartRef__":true,"id":2744},"attributeConnections":[{"__isSmartRef__":true,"id":2745},{"__isSmartRef__":true,"id":2746}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2710":{"submorphs":[],"scripts":[],"id":2644,"shape":{"__isSmartRef__":true,"id":2711},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2714},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2715},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2716}],"owner":{"__isSmartRef__":true,"id":2709},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2718},"renderContextTable":{"__isSmartRef__":true,"id":2719},"__LivelyClassName__":"lively.morphic.Text"},"2711":{"_Position":{"__isSmartRef__":true,"id":2712},"_Extent":{"__isSmartRef__":true,"id":2713},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2619},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2712":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2713":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2714":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2715":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2716":{"style":{"__isSmartRef__":true,"id":2717},"morph":{"__isSmartRef__":true,"id":2710},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2717":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2718":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2719":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2720":{"_Position":{"__isSmartRef__":true,"id":2721},"_Extent":{"__isSmartRef__":true,"id":2722},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2723},"_Fill":{"__isSmartRef__":true,"id":2724},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2721":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2722":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2723":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2724":{"stops":[{"__isSmartRef__":true,"id":2725},{"__isSmartRef__":true,"id":2727},{"__isSmartRef__":true,"id":2729},{"__isSmartRef__":true,"id":2731}],"vector":{"__isSmartRef__":true,"id":2733},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2725":{"offset":0,"color":{"__isSmartRef__":true,"id":2726}},"2726":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2727":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2728}},"2728":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2729":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2730}},"2730":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2731":{"offset":1,"color":{"__isSmartRef__":true,"id":2732}},"2732":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2733":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2734":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2735":{"stops":[{"__isSmartRef__":true,"id":2736},{"__isSmartRef__":true,"id":2738},{"__isSmartRef__":true,"id":2740},{"__isSmartRef__":true,"id":2742}],"vector":{"__isSmartRef__":true,"id":2733},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2736":{"offset":0,"color":{"__isSmartRef__":true,"id":2737}},"2737":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2738":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2739}},"2739":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2740":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2741}},"2741":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2742":{"offset":1,"color":{"__isSmartRef__":true,"id":2743}},"2743":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2744":{"moveHorizontal":true},"2745":{"sourceObj":{"__isSmartRef__":true,"id":2709},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2593},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2746":{"sourceObj":{"__isSmartRef__":true,"id":2709},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2593},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2747":{"submorphs":[{"__isSmartRef__":true,"id":2748}],"scripts":[],"id":2645,"shape":{"__isSmartRef__":true,"id":2758},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2761},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2724},"lighterFill":{"__isSmartRef__":true,"id":2762},"label":{"__isSmartRef__":true,"id":2748},"owner":{"__isSmartRef__":true,"id":2698},"attributeConnections":[{"__isSmartRef__":true,"id":2771},{"__isSmartRef__":true,"id":2772}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2748":{"submorphs":[],"scripts":[],"id":2646,"shape":{"__isSmartRef__":true,"id":2749},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2752},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2753},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2754}],"owner":{"__isSmartRef__":true,"id":2747},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2756},"renderContextTable":{"__isSmartRef__":true,"id":2757},"__LivelyClassName__":"lively.morphic.Text"},"2749":{"_Position":{"__isSmartRef__":true,"id":2750},"_Extent":{"__isSmartRef__":true,"id":2751},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2619},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2750":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2751":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2752":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2753":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2754":{"style":{"__isSmartRef__":true,"id":2755},"morph":{"__isSmartRef__":true,"id":2748},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2755":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2756":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2757":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2758":{"_Position":{"__isSmartRef__":true,"id":2759},"_Extent":{"__isSmartRef__":true,"id":2760},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2723},"_Fill":{"__isSmartRef__":true,"id":2724},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2759":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2760":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2761":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2762":{"stops":[{"__isSmartRef__":true,"id":2763},{"__isSmartRef__":true,"id":2765},{"__isSmartRef__":true,"id":2767},{"__isSmartRef__":true,"id":2769}],"vector":{"__isSmartRef__":true,"id":2733},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2763":{"offset":0,"color":{"__isSmartRef__":true,"id":2764}},"2764":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2765":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2766}},"2766":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2767":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2768}},"2768":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2769":{"offset":1,"color":{"__isSmartRef__":true,"id":2770}},"2770":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2771":{"sourceObj":{"__isSmartRef__":true,"id":2747},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2593},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2772":{"sourceObj":{"__isSmartRef__":true,"id":2747},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2593},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2773":{"submorphs":[{"__isSmartRef__":true,"id":2774}],"scripts":[],"id":2647,"shape":{"__isSmartRef__":true,"id":2784},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2787},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2724},"lighterFill":{"__isSmartRef__":true,"id":2788},"label":{"__isSmartRef__":true,"id":2774},"owner":{"__isSmartRef__":true,"id":2698},"layout":{"__isSmartRef__":true,"id":2797},"attributeConnections":[{"__isSmartRef__":true,"id":2798},{"__isSmartRef__":true,"id":2799}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2774":{"submorphs":[],"scripts":[],"id":2648,"shape":{"__isSmartRef__":true,"id":2775},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2778},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2779},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2780}],"owner":{"__isSmartRef__":true,"id":2773},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2782},"renderContextTable":{"__isSmartRef__":true,"id":2783},"__LivelyClassName__":"lively.morphic.Text"},"2775":{"_Position":{"__isSmartRef__":true,"id":2776},"_Extent":{"__isSmartRef__":true,"id":2777},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2619},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2776":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2777":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2778":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2779":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2780":{"style":{"__isSmartRef__":true,"id":2781},"morph":{"__isSmartRef__":true,"id":2774},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2781":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2782":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2783":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2784":{"_Position":{"__isSmartRef__":true,"id":2785},"_Extent":{"__isSmartRef__":true,"id":2786},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2723},"_Fill":{"__isSmartRef__":true,"id":2724},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2785":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2786":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2787":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2788":{"stops":[{"__isSmartRef__":true,"id":2789},{"__isSmartRef__":true,"id":2791},{"__isSmartRef__":true,"id":2793},{"__isSmartRef__":true,"id":2795}],"vector":{"__isSmartRef__":true,"id":2733},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2789":{"offset":0,"color":{"__isSmartRef__":true,"id":2790}},"2790":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2791":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2792}},"2792":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2793":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2794}},"2794":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2795":{"offset":1,"color":{"__isSmartRef__":true,"id":2796}},"2796":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2797":{"moveHorizontal":true},"2798":{"sourceObj":{"__isSmartRef__":true,"id":2773},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2593},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2799":{"sourceObj":{"__isSmartRef__":true,"id":2773},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2593},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2800":{"_Position":{"__isSmartRef__":true,"id":2801},"_Extent":{"__isSmartRef__":true,"id":2802},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":2599},"_Fill":{"__isSmartRef__":true,"id":2543},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2801":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2802":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2803":{"resizeWidth":true,"adjustForNewBounds":true},"2804":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2805":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2806":{"submorphs":[],"scripts":[],"id":2649,"shape":{"__isSmartRef__":true,"id":2807},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2812},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":2813},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":2814},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":2593},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2815},"__LivelyClassName__":"lively.morphic.Box"},"2807":{"position":{"__isSmartRef__":true,"id":2808},"_Extent":{"__isSmartRef__":true,"id":2809},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2810},"_Fill":{"__isSmartRef__":true,"id":2811},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2808":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2809":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2810":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2811":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2812":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2813":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2814":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2815":{"onDrag":{"__isSmartRef__":true,"id":2816},"onDragEnd":{"__isSmartRef__":true,"id":2823},"onDragStart":{"__isSmartRef__":true,"id":2830}},"2816":{"varMapping":{"__isSmartRef__":true,"id":2817},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":2822},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2817":{"this":{"__isSmartRef__":true,"id":2806},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2818}},"2818":{"$super":{"__isSmartRef__":true,"id":2819}},"2819":{"varMapping":{"__isSmartRef__":true,"id":2820},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2821},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2820":{"obj":{"__isSmartRef__":true,"id":2806},"name":"onDrag"},"2821":{},"2822":{},"2823":{"varMapping":{"__isSmartRef__":true,"id":2824},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2829},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2824":{"this":{"__isSmartRef__":true,"id":2806},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2825}},"2825":{"$super":{"__isSmartRef__":true,"id":2826}},"2826":{"varMapping":{"__isSmartRef__":true,"id":2827},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2828},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2827":{"obj":{"__isSmartRef__":true,"id":2806},"name":"onDragEnd"},"2828":{},"2829":{},"2830":{"varMapping":{"__isSmartRef__":true,"id":2831},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":2836},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2831":{"this":{"__isSmartRef__":true,"id":2806},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2832}},"2832":{"$super":{"__isSmartRef__":true,"id":2833}},"2833":{"varMapping":{"__isSmartRef__":true,"id":2834},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":2835},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2834":{"obj":{"__isSmartRef__":true,"id":2806},"name":"onDragStart"},"2835":{},"2836":{},"2837":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2838},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2838":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2839":{"adjustForNewBounds":true},"2840":{"x":1228.4189794738272,"y":227.10305717940957,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2841":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2842":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2843":{"x":821,"y":101,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2844":{"requiredModules":["lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting","lively.ide.SyntaxHighlighting"],"partsSpaceName":"PartsBin/Tools/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","comment":"Early version. Requires improvement.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2845":{"submorphs":[{"__isSmartRef__":true,"id":2846},{"__isSmartRef__":true,"id":3261}],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":3359},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":3361},"_Position":{"__isSmartRef__":true,"id":3362},"priorExtent":{"__isSmartRef__":true,"id":3363},"targetMorph":{"__isSmartRef__":true,"id":2846},"titleBar":{"__isSmartRef__":true,"id":3261},"contentOffset":{"__isSmartRef__":true,"id":3260},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"prevDragPos":{"__isSmartRef__":true,"id":3364},"showsHalos":false,"name":"VersionViewer","partsBinMetaInfo":{"__isSmartRef__":true,"id":3365},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":1528},"_Scale":1,"__LivelyClassName__":"lively.morphic.Window"},"2846":{"submorphs":[{"__isSmartRef__":true,"id":2847},{"__isSmartRef__":true,"id":2861},{"__isSmartRef__":true,"id":3172},{"__isSmartRef__":true,"id":3208},{"__isSmartRef__":true,"id":3232}],"scripts":[],"id":227,"shape":{"__isSmartRef__":true,"id":3256},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3259},"_Position":{"__isSmartRef__":true,"id":3260},"urlPane":{"__isSmartRef__":true,"id":2847},"versionList":{"__isSmartRef__":true,"id":2861},"revertButton":{"__isSmartRef__":true,"id":3172},"openButton":{"__isSmartRef__":true,"id":3208},"visitButton":{"__isSmartRef__":true,"id":3232},"ownerWidget":{"__isSmartRef__":true,"id":2857},"owner":{"__isSmartRef__":true,"id":2845},"ownerApp":{"__isSmartRef__":true,"id":2857},"__SourceModuleName__":"Global.lively.morphic.MorphAddons","__LivelyClassName__":"lively.morphic.Panel"},"2847":{"submorphs":[],"scripts":[],"id":228,"shape":{"__isSmartRef__":true,"id":2848},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":true,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2853},"_MaxTextWidth":null,"_MaxTextHeight":25,"textChunks":[{"__isSmartRef__":true,"id":2854}],"owner":{"__isSmartRef__":true,"id":2846},"isInputLine":true,"noEval":true,"attributeConnections":[{"__isSmartRef__":true,"id":2856}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"__SourceModuleName__":"Global.lively.morphic.TextCore","priorSelectionRange":[0,3],"showsHalos":false,"priorExtent":{"__isSmartRef__":true,"id":2859},"renderContextTable":{"__isSmartRef__":true,"id":2860},"savedTextString":"http://lively-kernel.org/repository/webwerkstatt/lauritz/objectEditor.xhtml","__LivelyClassName__":"lively.morphic.Text"},"2848":{"position":{"__isSmartRef__":true,"id":2849},"_Extent":{"__isSmartRef__":true,"id":2850},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":{"__isSmartRef__":true,"id":2852},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2849":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2850":{"x":496,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2851":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2852":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2853":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2854":{"style":{"__isSmartRef__":true,"id":2855},"morph":{"__isSmartRef__":true,"id":2847},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2855":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2856":{"sourceObj":{"__isSmartRef__":true,"id":2847},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2857},"targetMethodName":"setTarget","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2857":{"panel":{"__isSmartRef__":true,"id":2846},"view":{"__isSmartRef__":true,"id":2845},"__SourceModuleName__":"Global.lively.ide.VersionTools","url":{"__isSmartRef__":true,"id":2858},"__LivelyClassName__":"lively.ide.FileVersionViewer"},"2858":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2859":{"x":496,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2860":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"2861":{"submorphs":[],"scripts":[],"id":229,"shape":{"__isSmartRef__":true,"id":2862},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2866},"itemList":[{"__isSmartRef__":true,"id":2867},{"__isSmartRef__":true,"id":2872},{"__isSmartRef__":true,"id":2877},{"__isSmartRef__":true,"id":2882},{"__isSmartRef__":true,"id":2887},{"__isSmartRef__":true,"id":2892},{"__isSmartRef__":true,"id":2897},{"__isSmartRef__":true,"id":2902},{"__isSmartRef__":true,"id":2907},{"__isSmartRef__":true,"id":2912},{"__isSmartRef__":true,"id":2917},{"__isSmartRef__":true,"id":2922},{"__isSmartRef__":true,"id":2927},{"__isSmartRef__":true,"id":2932},{"__isSmartRef__":true,"id":2937},{"__isSmartRef__":true,"id":2942},{"__isSmartRef__":true,"id":2947},{"__isSmartRef__":true,"id":2952},{"__isSmartRef__":true,"id":2957},{"__isSmartRef__":true,"id":2962},{"__isSmartRef__":true,"id":2967},{"__isSmartRef__":true,"id":2972},{"__isSmartRef__":true,"id":2977},{"__isSmartRef__":true,"id":2982},{"__isSmartRef__":true,"id":2987},{"__isSmartRef__":true,"id":2992},{"__isSmartRef__":true,"id":2997},{"__isSmartRef__":true,"id":3002},{"__isSmartRef__":true,"id":3007},{"__isSmartRef__":true,"id":3012},{"__isSmartRef__":true,"id":3017},{"__isSmartRef__":true,"id":3022},{"__isSmartRef__":true,"id":3027},{"__isSmartRef__":true,"id":3032},{"__isSmartRef__":true,"id":3037},{"__isSmartRef__":true,"id":3042},{"__isSmartRef__":true,"id":3047},{"__isSmartRef__":true,"id":3052},{"__isSmartRef__":true,"id":3057},{"__isSmartRef__":true,"id":3062},{"__isSmartRef__":true,"id":3067},{"__isSmartRef__":true,"id":3072},{"__isSmartRef__":true,"id":3077},{"__isSmartRef__":true,"id":3082},{"__isSmartRef__":true,"id":3087},{"__isSmartRef__":true,"id":3092},{"__isSmartRef__":true,"id":3097},{"__isSmartRef__":true,"id":3102},{"__isSmartRef__":true,"id":3107},{"__isSmartRef__":true,"id":3112},{"__isSmartRef__":true,"id":3117},{"__isSmartRef__":true,"id":3122},{"__isSmartRef__":true,"id":3127},{"__isSmartRef__":true,"id":3132},{"__isSmartRef__":true,"id":3137},{"__isSmartRef__":true,"id":3142},{"__isSmartRef__":true,"id":3147},{"__isSmartRef__":true,"id":3152},{"__isSmartRef__":true,"id":3157},{"__isSmartRef__":true,"id":3162},{"__isSmartRef__":true,"id":3167}],"selectedLineNo":33,"owner":{"__isSmartRef__":true,"id":2846},"dragEnabled":false,"__SourceModuleName__":"Global.lively.morphic.Core","prevScroll":[0,524],"selection":{"__isSmartRef__":true,"id":3033},"__LivelyClassName__":"lively.morphic.List"},"2862":{"position":{"__isSmartRef__":true,"id":2863},"_Extent":{"__isSmartRef__":true,"id":2864},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":{"__isSmartRef__":true,"id":2865},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2863":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2864":{"x":450,"y":200,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2865":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2866":{"x":0,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2867":{"isListItem":true,"string":"lauritz, 17:48:02 GMT+0200 (CEST), Mon May 16 2011, Revision 72656","value":{"__isSmartRef__":true,"id":2868}},"2868":{"rev":72656,"author":"lauritz","date":{"__isSmartRef__":true,"id":2869},"url":{"__isSmartRef__":true,"id":2870},"changes":[{"__isSmartRef__":true,"id":2871}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2869":{},"2870":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2871":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2872":{"isListItem":true,"string":"lauritz, 17:44:53 GMT+0200 (CEST), Mon May 16 2011, Revision 72648","value":{"__isSmartRef__":true,"id":2873}},"2873":{"rev":72648,"author":"lauritz","date":{"__isSmartRef__":true,"id":2874},"url":{"__isSmartRef__":true,"id":2875},"changes":[{"__isSmartRef__":true,"id":2876}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2874":{},"2875":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2876":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2877":{"isListItem":true,"string":"lauritz, 17:44:15 GMT+0200 (CEST), Mon May 16 2011, Revision 72646","value":{"__isSmartRef__":true,"id":2878}},"2878":{"rev":72646,"author":"lauritz","date":{"__isSmartRef__":true,"id":2879},"url":{"__isSmartRef__":true,"id":2880},"changes":[{"__isSmartRef__":true,"id":2881}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2879":{},"2880":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2881":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2882":{"isListItem":true,"string":"lauritz, 17:36:19 GMT+0200 (CEST), Mon May 16 2011, Revision 72615","value":{"__isSmartRef__":true,"id":2883}},"2883":{"rev":72615,"author":"lauritz","date":{"__isSmartRef__":true,"id":2884},"url":{"__isSmartRef__":true,"id":2885},"changes":[{"__isSmartRef__":true,"id":2886}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2884":{},"2885":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2886":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2887":{"isListItem":true,"string":"lauritz, 17:33:51 GMT+0200 (CEST), Mon May 16 2011, Revision 72614","value":{"__isSmartRef__":true,"id":2888}},"2888":{"rev":72614,"author":"lauritz","date":{"__isSmartRef__":true,"id":2889},"url":{"__isSmartRef__":true,"id":2890},"changes":[{"__isSmartRef__":true,"id":2891}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2889":{},"2890":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2891":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2892":{"isListItem":true,"string":"lauritz, 17:31:01 GMT+0200 (CEST), Mon May 16 2011, Revision 72595","value":{"__isSmartRef__":true,"id":2893}},"2893":{"rev":72595,"author":"lauritz","date":{"__isSmartRef__":true,"id":2894},"url":{"__isSmartRef__":true,"id":2895},"changes":[{"__isSmartRef__":true,"id":2896}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2894":{},"2895":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2896":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2897":{"isListItem":true,"string":"lauritz, 17:24:37 GMT+0200 (CEST), Mon May 16 2011, Revision 72593","value":{"__isSmartRef__":true,"id":2898}},"2898":{"rev":72593,"author":"lauritz","date":{"__isSmartRef__":true,"id":2899},"url":{"__isSmartRef__":true,"id":2900},"changes":[{"__isSmartRef__":true,"id":2901}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2899":{},"2900":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2901":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2902":{"isListItem":true,"string":"lauritz, 17:18:39 GMT+0200 (CEST), Mon May 16 2011, Revision 72589","value":{"__isSmartRef__":true,"id":2903}},"2903":{"rev":72589,"author":"lauritz","date":{"__isSmartRef__":true,"id":2904},"url":{"__isSmartRef__":true,"id":2905},"changes":[{"__isSmartRef__":true,"id":2906}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2904":{},"2905":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2906":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2907":{"isListItem":true,"string":"robertkrahn, 15:06:30 GMT+0200 (CEST), Mon May 16 2011, Revision 72537","value":{"__isSmartRef__":true,"id":2908}},"2908":{"rev":72537,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":2909},"url":{"__isSmartRef__":true,"id":2910},"changes":[{"__isSmartRef__":true,"id":2911}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2909":{},"2910":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2911":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2912":{"isListItem":true,"string":"lauritz, 16:10:24 GMT+0200 (CEST), Sun May 15 2011, Revision 72270","value":{"__isSmartRef__":true,"id":2913}},"2913":{"rev":72270,"author":"lauritz","date":{"__isSmartRef__":true,"id":2914},"url":{"__isSmartRef__":true,"id":2915},"changes":[{"__isSmartRef__":true,"id":2916}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2914":{},"2915":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2916":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2917":{"isListItem":true,"string":"lauritz, 16:09:27 GMT+0200 (CEST), Sun May 15 2011, Revision 72266","value":{"__isSmartRef__":true,"id":2918}},"2918":{"rev":72266,"author":"lauritz","date":{"__isSmartRef__":true,"id":2919},"url":{"__isSmartRef__":true,"id":2920},"changes":[{"__isSmartRef__":true,"id":2921}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2919":{},"2920":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2921":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2922":{"isListItem":true,"string":"lauritz, 16:01:37 GMT+0200 (CEST), Sun May 15 2011, Revision 72258","value":{"__isSmartRef__":true,"id":2923}},"2923":{"rev":72258,"author":"lauritz","date":{"__isSmartRef__":true,"id":2924},"url":{"__isSmartRef__":true,"id":2925},"changes":[{"__isSmartRef__":true,"id":2926}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2924":{},"2925":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2926":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2927":{"isListItem":true,"string":"lauritz, 14:45:06 GMT+0200 (CEST), Sun May 15 2011, Revision 72242","value":{"__isSmartRef__":true,"id":2928}},"2928":{"rev":72242,"author":"lauritz","date":{"__isSmartRef__":true,"id":2929},"url":{"__isSmartRef__":true,"id":2930},"changes":[{"__isSmartRef__":true,"id":2931}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2929":{},"2930":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2931":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2932":{"isListItem":true,"string":"lauritz, 14:43:11 GMT+0200 (CEST), Sun May 15 2011, Revision 72241","value":{"__isSmartRef__":true,"id":2933}},"2933":{"rev":72241,"author":"lauritz","date":{"__isSmartRef__":true,"id":2934},"url":{"__isSmartRef__":true,"id":2935},"changes":[{"__isSmartRef__":true,"id":2936}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2934":{},"2935":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2936":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2937":{"isListItem":true,"string":"lauritz, 14:27:17 GMT+0200 (CEST), Sun May 15 2011, Revision 72215","value":{"__isSmartRef__":true,"id":2938}},"2938":{"rev":72215,"author":"lauritz","date":{"__isSmartRef__":true,"id":2939},"url":{"__isSmartRef__":true,"id":2940},"changes":[{"__isSmartRef__":true,"id":2941}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2939":{},"2940":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2941":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2942":{"isListItem":true,"string":"lauritz, 14:24:04 GMT+0200 (CEST), Sun May 15 2011, Revision 72214","value":{"__isSmartRef__":true,"id":2943}},"2943":{"rev":72214,"author":"lauritz","date":{"__isSmartRef__":true,"id":2944},"url":{"__isSmartRef__":true,"id":2945},"changes":[{"__isSmartRef__":true,"id":2946}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2944":{},"2945":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2946":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2947":{"isListItem":true,"string":"lauritz, 14:14:57 GMT+0200 (CEST), Sun May 15 2011, Revision 72213","value":{"__isSmartRef__":true,"id":2948}},"2948":{"rev":72213,"author":"lauritz","date":{"__isSmartRef__":true,"id":2949},"url":{"__isSmartRef__":true,"id":2950},"changes":[{"__isSmartRef__":true,"id":2951}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2949":{},"2950":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2951":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2952":{"isListItem":true,"string":"lauritz, 14:14:40 GMT+0200 (CEST), Sun May 15 2011, Revision 72212","value":{"__isSmartRef__":true,"id":2953}},"2953":{"rev":72212,"author":"lauritz","date":{"__isSmartRef__":true,"id":2954},"url":{"__isSmartRef__":true,"id":2955},"changes":[{"__isSmartRef__":true,"id":2956}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2954":{},"2955":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2956":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2957":{"isListItem":true,"string":"lauritz, 14:08:11 GMT+0200 (CEST), Sun May 15 2011, Revision 72211","value":{"__isSmartRef__":true,"id":2958}},"2958":{"rev":72211,"author":"lauritz","date":{"__isSmartRef__":true,"id":2959},"url":{"__isSmartRef__":true,"id":2960},"changes":[{"__isSmartRef__":true,"id":2961}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2959":{},"2960":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2961":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2962":{"isListItem":true,"string":"lauritz, 13:49:10 GMT+0200 (CEST), Sun May 15 2011, Revision 72210","value":{"__isSmartRef__":true,"id":2963}},"2963":{"rev":72210,"author":"lauritz","date":{"__isSmartRef__":true,"id":2964},"url":{"__isSmartRef__":true,"id":2965},"changes":[{"__isSmartRef__":true,"id":2966}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2964":{},"2965":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2966":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2967":{"isListItem":true,"string":"lauritz, 13:48:21 GMT+0200 (CEST), Sun May 15 2011, Revision 72209","value":{"__isSmartRef__":true,"id":2968}},"2968":{"rev":72209,"author":"lauritz","date":{"__isSmartRef__":true,"id":2969},"url":{"__isSmartRef__":true,"id":2970},"changes":[{"__isSmartRef__":true,"id":2971}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2969":{},"2970":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2971":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2972":{"isListItem":true,"string":"lauritz, 13:47:49 GMT+0200 (CEST), Sun May 15 2011, Revision 72208","value":{"__isSmartRef__":true,"id":2973}},"2973":{"rev":72208,"author":"lauritz","date":{"__isSmartRef__":true,"id":2974},"url":{"__isSmartRef__":true,"id":2975},"changes":[{"__isSmartRef__":true,"id":2976}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2974":{},"2975":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2976":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2977":{"isListItem":true,"string":"lauritz, 13:31:10 GMT+0200 (CEST), Sun May 15 2011, Revision 72207","value":{"__isSmartRef__":true,"id":2978}},"2978":{"rev":72207,"author":"lauritz","date":{"__isSmartRef__":true,"id":2979},"url":{"__isSmartRef__":true,"id":2980},"changes":[{"__isSmartRef__":true,"id":2981}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2979":{},"2980":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2981":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2982":{"isListItem":true,"string":"lauritz, 13:30:50 GMT+0200 (CEST), Sun May 15 2011, Revision 72206","value":{"__isSmartRef__":true,"id":2983}},"2983":{"rev":72206,"author":"lauritz","date":{"__isSmartRef__":true,"id":2984},"url":{"__isSmartRef__":true,"id":2985},"changes":[{"__isSmartRef__":true,"id":2986}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2984":{},"2985":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2986":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2987":{"isListItem":true,"string":"lauritz, 13:18:59 GMT+0200 (CEST), Sun May 15 2011, Revision 72192","value":{"__isSmartRef__":true,"id":2988}},"2988":{"rev":72192,"author":"lauritz","date":{"__isSmartRef__":true,"id":2989},"url":{"__isSmartRef__":true,"id":2990},"changes":[{"__isSmartRef__":true,"id":2991}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2989":{},"2990":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2991":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2992":{"isListItem":true,"string":"lauritz, 13:17:33 GMT+0200 (CEST), Sun May 15 2011, Revision 72191","value":{"__isSmartRef__":true,"id":2993}},"2993":{"rev":72191,"author":"lauritz","date":{"__isSmartRef__":true,"id":2994},"url":{"__isSmartRef__":true,"id":2995},"changes":[{"__isSmartRef__":true,"id":2996}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2994":{},"2995":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2996":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2997":{"isListItem":true,"string":"lauritz, 13:13:28 GMT+0200 (CEST), Sun May 15 2011, Revision 72190","value":{"__isSmartRef__":true,"id":2998}},"2998":{"rev":72190,"author":"lauritz","date":{"__isSmartRef__":true,"id":2999},"url":{"__isSmartRef__":true,"id":3000},"changes":[{"__isSmartRef__":true,"id":3001}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2999":{},"3000":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3001":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3002":{"isListItem":true,"string":"lauritz, 12:55:19 GMT+0200 (CEST), Sun May 15 2011, Revision 72189","value":{"__isSmartRef__":true,"id":3003}},"3003":{"rev":72189,"author":"lauritz","date":{"__isSmartRef__":true,"id":3004},"url":{"__isSmartRef__":true,"id":3005},"changes":[{"__isSmartRef__":true,"id":3006}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3004":{},"3005":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3006":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3007":{"isListItem":true,"string":"lauritz, 12:54:29 GMT+0200 (CEST), Sun May 15 2011, Revision 72188","value":{"__isSmartRef__":true,"id":3008}},"3008":{"rev":72188,"author":"lauritz","date":{"__isSmartRef__":true,"id":3009},"url":{"__isSmartRef__":true,"id":3010},"changes":[{"__isSmartRef__":true,"id":3011}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3009":{},"3010":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3011":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3012":{"isListItem":true,"string":"lauritz, 12:45:03 GMT+0200 (CEST), Sun May 15 2011, Revision 72187","value":{"__isSmartRef__":true,"id":3013}},"3013":{"rev":72187,"author":"lauritz","date":{"__isSmartRef__":true,"id":3014},"url":{"__isSmartRef__":true,"id":3015},"changes":[{"__isSmartRef__":true,"id":3016}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3014":{},"3015":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3016":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3017":{"isListItem":true,"string":"lauritz, 12:41:33 GMT+0200 (CEST), Sun May 15 2011, Revision 72186","value":{"__isSmartRef__":true,"id":3018}},"3018":{"rev":72186,"author":"lauritz","date":{"__isSmartRef__":true,"id":3019},"url":{"__isSmartRef__":true,"id":3020},"changes":[{"__isSmartRef__":true,"id":3021}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3019":{},"3020":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3021":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3022":{"isListItem":true,"string":"lauritz, 12:38:06 GMT+0200 (CEST), Sun May 15 2011, Revision 72185","value":{"__isSmartRef__":true,"id":3023}},"3023":{"rev":72185,"author":"lauritz","date":{"__isSmartRef__":true,"id":3024},"url":{"__isSmartRef__":true,"id":3025},"changes":[{"__isSmartRef__":true,"id":3026}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3024":{},"3025":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3026":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3027":{"isListItem":true,"string":"lauritz, 12:35:05 GMT+0200 (CEST), Sun May 15 2011, Revision 72184","value":{"__isSmartRef__":true,"id":3028}},"3028":{"rev":72184,"author":"lauritz","date":{"__isSmartRef__":true,"id":3029},"url":{"__isSmartRef__":true,"id":3030},"changes":[{"__isSmartRef__":true,"id":3031}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3029":{},"3030":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3031":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3032":{"isListItem":true,"string":"lauritz, 12:30:16 GMT+0200 (CEST), Sun May 15 2011, Revision 72183","value":{"__isSmartRef__":true,"id":3033}},"3033":{"rev":72183,"author":"lauritz","date":{"__isSmartRef__":true,"id":3034},"url":{"__isSmartRef__":true,"id":3035},"changes":[{"__isSmartRef__":true,"id":3036}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3034":{},"3035":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3036":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3037":{"isListItem":true,"string":"lauritz, 12:20:21 GMT+0200 (CEST), Sun May 15 2011, Revision 72182","value":{"__isSmartRef__":true,"id":3038}},"3038":{"rev":72182,"author":"lauritz","date":{"__isSmartRef__":true,"id":3039},"url":{"__isSmartRef__":true,"id":3040},"changes":[{"__isSmartRef__":true,"id":3041}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3039":{},"3040":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3041":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3042":{"isListItem":true,"string":"lauritz, 12:17:27 GMT+0200 (CEST), Sun May 15 2011, Revision 72181","value":{"__isSmartRef__":true,"id":3043}},"3043":{"rev":72181,"author":"lauritz","date":{"__isSmartRef__":true,"id":3044},"url":{"__isSmartRef__":true,"id":3045},"changes":[{"__isSmartRef__":true,"id":3046}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3044":{},"3045":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3046":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3047":{"isListItem":true,"string":"lauritz, 12:01:22 GMT+0200 (CEST), Sun May 15 2011, Revision 72177","value":{"__isSmartRef__":true,"id":3048}},"3048":{"rev":72177,"author":"lauritz","date":{"__isSmartRef__":true,"id":3049},"url":{"__isSmartRef__":true,"id":3050},"changes":[{"__isSmartRef__":true,"id":3051}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3049":{},"3050":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3051":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3052":{"isListItem":true,"string":"lauritz, 11:56:17 GMT+0200 (CEST), Sun May 15 2011, Revision 72176","value":{"__isSmartRef__":true,"id":3053}},"3053":{"rev":72176,"author":"lauritz","date":{"__isSmartRef__":true,"id":3054},"url":{"__isSmartRef__":true,"id":3055},"changes":[{"__isSmartRef__":true,"id":3056}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3054":{},"3055":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3056":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3057":{"isListItem":true,"string":"lauritz, 11:53:11 GMT+0200 (CEST), Sun May 15 2011, Revision 72175","value":{"__isSmartRef__":true,"id":3058}},"3058":{"rev":72175,"author":"lauritz","date":{"__isSmartRef__":true,"id":3059},"url":{"__isSmartRef__":true,"id":3060},"changes":[{"__isSmartRef__":true,"id":3061}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3059":{},"3060":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3061":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3062":{"isListItem":true,"string":"lauritz, 11:37:44 GMT+0200 (CEST), Sun May 15 2011, Revision 72174","value":{"__isSmartRef__":true,"id":3063}},"3063":{"rev":72174,"author":"lauritz","date":{"__isSmartRef__":true,"id":3064},"url":{"__isSmartRef__":true,"id":3065},"changes":[{"__isSmartRef__":true,"id":3066}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3064":{},"3065":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3066":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3067":{"isListItem":true,"string":"lauritz, 10:53:07 GMT+0200 (CEST), Sun May 15 2011, Revision 72173","value":{"__isSmartRef__":true,"id":3068}},"3068":{"rev":72173,"author":"lauritz","date":{"__isSmartRef__":true,"id":3069},"url":{"__isSmartRef__":true,"id":3070},"changes":[{"__isSmartRef__":true,"id":3071}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3069":{},"3070":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3071":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3072":{"isListItem":true,"string":"lauritz, 10:49:12 GMT+0200 (CEST), Sun May 15 2011, Revision 72172","value":{"__isSmartRef__":true,"id":3073}},"3073":{"rev":72172,"author":"lauritz","date":{"__isSmartRef__":true,"id":3074},"url":{"__isSmartRef__":true,"id":3075},"changes":[{"__isSmartRef__":true,"id":3076}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3074":{},"3075":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3076":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3077":{"isListItem":true,"string":"lauritz, 10:40:04 GMT+0200 (CEST), Sun May 15 2011, Revision 72171","value":{"__isSmartRef__":true,"id":3078}},"3078":{"rev":72171,"author":"lauritz","date":{"__isSmartRef__":true,"id":3079},"url":{"__isSmartRef__":true,"id":3080},"changes":[{"__isSmartRef__":true,"id":3081}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3079":{},"3080":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3081":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3082":{"isListItem":true,"string":"lauritz, 10:33:36 GMT+0200 (CEST), Sun May 15 2011, Revision 72170","value":{"__isSmartRef__":true,"id":3083}},"3083":{"rev":72170,"author":"lauritz","date":{"__isSmartRef__":true,"id":3084},"url":{"__isSmartRef__":true,"id":3085},"changes":[{"__isSmartRef__":true,"id":3086}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3084":{},"3085":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3086":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3087":{"isListItem":true,"string":"lauritz, 00:34:25 GMT+0200 (CEST), Sat May 14 2011, Revision 72088","value":{"__isSmartRef__":true,"id":3088}},"3088":{"rev":72088,"author":"lauritz","date":{"__isSmartRef__":true,"id":3089},"url":{"__isSmartRef__":true,"id":3090},"changes":[{"__isSmartRef__":true,"id":3091}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3089":{},"3090":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3091":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3092":{"isListItem":true,"string":"lauritz, 00:32:55 GMT+0200 (CEST), Sat May 14 2011, Revision 72078","value":{"__isSmartRef__":true,"id":3093}},"3093":{"rev":72078,"author":"lauritz","date":{"__isSmartRef__":true,"id":3094},"url":{"__isSmartRef__":true,"id":3095},"changes":[{"__isSmartRef__":true,"id":3096}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3094":{},"3095":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3096":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3097":{"isListItem":true,"string":"lauritz, 00:32:07 GMT+0200 (CEST), Sat May 14 2011, Revision 72072","value":{"__isSmartRef__":true,"id":3098}},"3098":{"rev":72072,"author":"lauritz","date":{"__isSmartRef__":true,"id":3099},"url":{"__isSmartRef__":true,"id":3100},"changes":[{"__isSmartRef__":true,"id":3101}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3099":{},"3100":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3101":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3102":{"isListItem":true,"string":"lauritz, 00:17:36 GMT+0200 (CEST), Sat May 14 2011, Revision 72048","value":{"__isSmartRef__":true,"id":3103}},"3103":{"rev":72048,"author":"lauritz","date":{"__isSmartRef__":true,"id":3104},"url":{"__isSmartRef__":true,"id":3105},"changes":[{"__isSmartRef__":true,"id":3106}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3104":{},"3105":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3106":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3107":{"isListItem":true,"string":"lauritz, 19:03:23 GMT+0200 (CEST), Fri May 13 2011, Revision 71813","value":{"__isSmartRef__":true,"id":3108}},"3108":{"rev":71813,"author":"lauritz","date":{"__isSmartRef__":true,"id":3109},"url":{"__isSmartRef__":true,"id":3110},"changes":[{"__isSmartRef__":true,"id":3111}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3109":{},"3110":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3111":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3112":{"isListItem":true,"string":"lauritz, 19:02:12 GMT+0200 (CEST), Fri May 13 2011, Revision 71812","value":{"__isSmartRef__":true,"id":3113}},"3113":{"rev":71812,"author":"lauritz","date":{"__isSmartRef__":true,"id":3114},"url":{"__isSmartRef__":true,"id":3115},"changes":[{"__isSmartRef__":true,"id":3116}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3114":{},"3115":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3116":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3117":{"isListItem":true,"string":"lauritz, 18:59:56 GMT+0200 (CEST), Fri May 13 2011, Revision 71811","value":{"__isSmartRef__":true,"id":3118}},"3118":{"rev":71811,"author":"lauritz","date":{"__isSmartRef__":true,"id":3119},"url":{"__isSmartRef__":true,"id":3120},"changes":[{"__isSmartRef__":true,"id":3121}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3119":{},"3120":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3121":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3122":{"isListItem":true,"string":"lauritz, 18:55:57 GMT+0200 (CEST), Fri May 13 2011, Revision 71810","value":{"__isSmartRef__":true,"id":3123}},"3123":{"rev":71810,"author":"lauritz","date":{"__isSmartRef__":true,"id":3124},"url":{"__isSmartRef__":true,"id":3125},"changes":[{"__isSmartRef__":true,"id":3126}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3124":{},"3125":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3126":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3127":{"isListItem":true,"string":"lauritz, 18:47:55 GMT+0200 (CEST), Fri May 13 2011, Revision 71809","value":{"__isSmartRef__":true,"id":3128}},"3128":{"rev":71809,"author":"lauritz","date":{"__isSmartRef__":true,"id":3129},"url":{"__isSmartRef__":true,"id":3130},"changes":[{"__isSmartRef__":true,"id":3131}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3129":{},"3130":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3131":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3132":{"isListItem":true,"string":"lauritz, 18:47:14 GMT+0200 (CEST), Fri May 13 2011, Revision 71808","value":{"__isSmartRef__":true,"id":3133}},"3133":{"rev":71808,"author":"lauritz","date":{"__isSmartRef__":true,"id":3134},"url":{"__isSmartRef__":true,"id":3135},"changes":[{"__isSmartRef__":true,"id":3136}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3134":{},"3135":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3136":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3137":{"isListItem":true,"string":"lauritz, 18:38:09 GMT+0200 (CEST), Fri May 13 2011, Revision 71807","value":{"__isSmartRef__":true,"id":3138}},"3138":{"rev":71807,"author":"lauritz","date":{"__isSmartRef__":true,"id":3139},"url":{"__isSmartRef__":true,"id":3140},"changes":[{"__isSmartRef__":true,"id":3141}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3139":{},"3140":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3141":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3142":{"isListItem":true,"string":"lauritz, 18:32:26 GMT+0200 (CEST), Fri May 13 2011, Revision 71806","value":{"__isSmartRef__":true,"id":3143}},"3143":{"rev":71806,"author":"lauritz","date":{"__isSmartRef__":true,"id":3144},"url":{"__isSmartRef__":true,"id":3145},"changes":[{"__isSmartRef__":true,"id":3146}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3144":{},"3145":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3146":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3147":{"isListItem":true,"string":"lauritz, 18:23:35 GMT+0200 (CEST), Fri May 13 2011, Revision 71804","value":{"__isSmartRef__":true,"id":3148}},"3148":{"rev":71804,"author":"lauritz","date":{"__isSmartRef__":true,"id":3149},"url":{"__isSmartRef__":true,"id":3150},"changes":[{"__isSmartRef__":true,"id":3151}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3149":{},"3150":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3151":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3152":{"isListItem":true,"string":"lauritz, 18:09:05 GMT+0200 (CEST), Fri May 13 2011, Revision 71802","value":{"__isSmartRef__":true,"id":3153}},"3153":{"rev":71802,"author":"lauritz","date":{"__isSmartRef__":true,"id":3154},"url":{"__isSmartRef__":true,"id":3155},"changes":[{"__isSmartRef__":true,"id":3156}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3154":{},"3155":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3156":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3157":{"isListItem":true,"string":"lauritz, 18:08:34 GMT+0200 (CEST), Fri May 13 2011, Revision 71801","value":{"__isSmartRef__":true,"id":3158}},"3158":{"rev":71801,"author":"lauritz","date":{"__isSmartRef__":true,"id":3159},"url":{"__isSmartRef__":true,"id":3160},"changes":[{"__isSmartRef__":true,"id":3161}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3159":{},"3160":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3161":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3162":{"isListItem":true,"string":"lauritz, 18:00:10 GMT+0200 (CEST), Fri May 13 2011, Revision 71787","value":{"__isSmartRef__":true,"id":3163}},"3163":{"rev":71787,"author":"lauritz","date":{"__isSmartRef__":true,"id":3164},"url":{"__isSmartRef__":true,"id":3165},"changes":[{"__isSmartRef__":true,"id":3166}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3164":{},"3165":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3166":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3167":{"isListItem":true,"string":"lauritz, 17:47:57 GMT+0200 (CEST), Fri May 13 2011, Revision 71776","value":{"__isSmartRef__":true,"id":3168}},"3168":{"rev":71776,"author":"lauritz","date":{"__isSmartRef__":true,"id":3169},"url":{"__isSmartRef__":true,"id":3170},"changes":[{"__isSmartRef__":true,"id":3171}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3169":{},"3170":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3171":{"type":"S:added","url":null},"3172":{"submorphs":[{"__isSmartRef__":true,"id":3173}],"scripts":[],"id":230,"shape":{"__isSmartRef__":true,"id":3183},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3197},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3187},"lighterFill":{"__isSmartRef__":true,"id":3198},"label":{"__isSmartRef__":true,"id":3173},"owner":{"__isSmartRef__":true,"id":2846},"attributeConnections":[{"__isSmartRef__":true,"id":3207}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3173":{"submorphs":[],"scripts":[],"id":231,"shape":{"__isSmartRef__":true,"id":3174},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3177},"_MaxTextWidth":null,"_MaxTextHeight":25,"textChunks":[{"__isSmartRef__":true,"id":3178}],"_Padding":{"__isSmartRef__":true,"id":3180},"owner":{"__isSmartRef__":true,"id":3172},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3181},"renderContextTable":{"__isSmartRef__":true,"id":3182},"__LivelyClassName__":"lively.morphic.Text"},"3174":{"position":{"__isSmartRef__":true,"id":3175},"_Extent":{"__isSmartRef__":true,"id":3176},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3175":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3176":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3177":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3178":{"style":{"__isSmartRef__":true,"id":3179},"morph":{"__isSmartRef__":true,"id":3173},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3179":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3180":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3181":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3182":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3183":{"position":{"__isSmartRef__":true,"id":3184},"_Extent":{"__isSmartRef__":true,"id":3185},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3186},"_Fill":{"__isSmartRef__":true,"id":3187},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3184":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3185":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3186":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3187":{"stops":[{"__isSmartRef__":true,"id":3188},{"__isSmartRef__":true,"id":3190},{"__isSmartRef__":true,"id":3192},{"__isSmartRef__":true,"id":3194}],"vector":{"__isSmartRef__":true,"id":3196},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3188":{"offset":0,"color":{"__isSmartRef__":true,"id":3189}},"3189":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3190":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3191}},"3191":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3192":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3193}},"3193":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3194":{"offset":1,"color":{"__isSmartRef__":true,"id":3195}},"3195":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3196":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3197":{"x":0,"y":225,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3198":{"stops":[{"__isSmartRef__":true,"id":3199},{"__isSmartRef__":true,"id":3201},{"__isSmartRef__":true,"id":3203},{"__isSmartRef__":true,"id":3205}],"vector":{"__isSmartRef__":true,"id":3196},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3199":{"offset":0,"color":{"__isSmartRef__":true,"id":3200}},"3200":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3201":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3202}},"3202":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3203":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3204}},"3204":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3205":{"offset":1,"color":{"__isSmartRef__":true,"id":3206}},"3206":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3207":{"sourceObj":{"__isSmartRef__":true,"id":3172},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2857},"targetMethodName":"revert","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3208":{"submorphs":[{"__isSmartRef__":true,"id":3209}],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":3218},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3221},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3187},"lighterFill":{"__isSmartRef__":true,"id":3222},"label":{"__isSmartRef__":true,"id":3209},"owner":{"__isSmartRef__":true,"id":2846},"attributeConnections":[{"__isSmartRef__":true,"id":3231}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3209":{"submorphs":[],"scripts":[],"id":233,"shape":{"__isSmartRef__":true,"id":3210},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3213},"_MaxTextWidth":null,"_MaxTextHeight":25,"textChunks":[{"__isSmartRef__":true,"id":3214}],"_Padding":{"__isSmartRef__":true,"id":3180},"owner":{"__isSmartRef__":true,"id":3208},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3216},"renderContextTable":{"__isSmartRef__":true,"id":3217},"__LivelyClassName__":"lively.morphic.Text"},"3210":{"position":{"__isSmartRef__":true,"id":3211},"_Extent":{"__isSmartRef__":true,"id":3212},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3211":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3212":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3213":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3214":{"style":{"__isSmartRef__":true,"id":3215},"morph":{"__isSmartRef__":true,"id":3209},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3215":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3216":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3217":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3218":{"position":{"__isSmartRef__":true,"id":3219},"_Extent":{"__isSmartRef__":true,"id":3220},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3186},"_Fill":{"__isSmartRef__":true,"id":3187},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3219":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3220":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3221":{"x":148.5,"y":225,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3222":{"stops":[{"__isSmartRef__":true,"id":3223},{"__isSmartRef__":true,"id":3225},{"__isSmartRef__":true,"id":3227},{"__isSmartRef__":true,"id":3229}],"vector":{"__isSmartRef__":true,"id":3196},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3223":{"offset":0,"color":{"__isSmartRef__":true,"id":3224}},"3224":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3225":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3226}},"3226":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3227":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3228}},"3228":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3229":{"offset":1,"color":{"__isSmartRef__":true,"id":3230}},"3230":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3231":{"sourceObj":{"__isSmartRef__":true,"id":3208},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2857},"targetMethodName":"showVersion","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3232":{"submorphs":[{"__isSmartRef__":true,"id":3233}],"scripts":[],"id":234,"shape":{"__isSmartRef__":true,"id":3242},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3245},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3187},"lighterFill":{"__isSmartRef__":true,"id":3246},"label":{"__isSmartRef__":true,"id":3233},"owner":{"__isSmartRef__":true,"id":2846},"attributeConnections":[{"__isSmartRef__":true,"id":3255}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3233":{"submorphs":[],"scripts":[],"id":235,"shape":{"__isSmartRef__":true,"id":3234},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3237},"_MaxTextWidth":null,"_MaxTextHeight":25,"textChunks":[{"__isSmartRef__":true,"id":3238}],"_Padding":{"__isSmartRef__":true,"id":3180},"owner":{"__isSmartRef__":true,"id":3232},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3240},"renderContextTable":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.morphic.Text"},"3234":{"position":{"__isSmartRef__":true,"id":3235},"_Extent":{"__isSmartRef__":true,"id":3236},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3235":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3236":{"x":153,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3237":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3238":{"style":{"__isSmartRef__":true,"id":3239},"morph":{"__isSmartRef__":true,"id":3233},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3239":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3240":{"x":153,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3241":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3242":{"position":{"__isSmartRef__":true,"id":3243},"_Extent":{"__isSmartRef__":true,"id":3244},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3186},"_Fill":{"__isSmartRef__":true,"id":3187},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3243":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3244":{"x":153,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3245":{"x":297,"y":225,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3246":{"stops":[{"__isSmartRef__":true,"id":3247},{"__isSmartRef__":true,"id":3249},{"__isSmartRef__":true,"id":3251},{"__isSmartRef__":true,"id":3253}],"vector":{"__isSmartRef__":true,"id":3196},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3247":{"offset":0,"color":{"__isSmartRef__":true,"id":3248}},"3248":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3249":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3250}},"3250":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3251":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3252}},"3252":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3253":{"offset":1,"color":{"__isSmartRef__":true,"id":3254}},"3254":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3255":{"sourceObj":{"__isSmartRef__":true,"id":3232},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2857},"targetMethodName":"visitVersion","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3256":{"position":{"__isSmartRef__":true,"id":3257},"_Extent":{"__isSmartRef__":true,"id":3258},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3257":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3258":{"x":450,"y":250,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3259":{"adjustForNewBounds":true},"3260":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3261":{"submorphs":[{"__isSmartRef__":true,"id":3262},{"__isSmartRef__":true,"id":3272},{"__isSmartRef__":true,"id":3299},{"__isSmartRef__":true,"id":3325}],"scripts":[],"id":236,"shape":{"__isSmartRef__":true,"id":3352},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3356},"_Position":{"__isSmartRef__":true,"id":3357},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":2845},"label":{"__isSmartRef__":true,"id":3262},"closeButton":{"__isSmartRef__":true,"id":3272},"menuButton":{"__isSmartRef__":true,"id":3299},"collapseButton":{"__isSmartRef__":true,"id":3325},"priorExtent":{"__isSmartRef__":true,"id":3358},"owner":{"__isSmartRef__":true,"id":2845},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"3262":{"submorphs":[],"scripts":[],"id":237,"shape":{"__isSmartRef__":true,"id":3263},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3266},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":3267}],"isLabel":true,"eventsAreIgnored":true,"_Padding":{"__isSmartRef__":true,"id":3269},"_FontSize":10,"owner":{"__isSmartRef__":true,"id":3261},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3270},"renderContextTable":{"__isSmartRef__":true,"id":3271},"__LivelyClassName__":"lively.morphic.Text"},"3263":{"position":{"__isSmartRef__":true,"id":3264},"_Extent":{"__isSmartRef__":true,"id":3265},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3264":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3265":{"x":48,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3266":{"x":201,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3267":{"style":{"__isSmartRef__":true,"id":3268},"morph":{"__isSmartRef__":true,"id":3262},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3268":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3269":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3270":{"x":48,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3271":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3272":{"submorphs":[{"__isSmartRef__":true,"id":3273}],"scripts":[],"id":238,"shape":{"__isSmartRef__":true,"id":3283},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3286},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3187},"lighterFill":{"__isSmartRef__":true,"id":3287},"label":{"__isSmartRef__":true,"id":3273},"owner":{"__isSmartRef__":true,"id":3261},"layout":{"__isSmartRef__":true,"id":3296},"attributeConnections":[{"__isSmartRef__":true,"id":3297},{"__isSmartRef__":true,"id":3298}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"3273":{"submorphs":[],"scripts":[],"id":239,"shape":{"__isSmartRef__":true,"id":3274},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3277},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":3278}],"_Padding":{"__isSmartRef__":true,"id":3280},"owner":{"__isSmartRef__":true,"id":3272},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3281},"renderContextTable":{"__isSmartRef__":true,"id":3282},"__LivelyClassName__":"lively.morphic.Text"},"3274":{"position":{"__isSmartRef__":true,"id":3275},"_Extent":{"__isSmartRef__":true,"id":3276},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3275":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3276":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3277":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3278":{"style":{"__isSmartRef__":true,"id":3279},"morph":{"__isSmartRef__":true,"id":3273},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3279":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3280":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3281":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3282":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3283":{"position":{"__isSmartRef__":true,"id":3284},"_Extent":{"__isSmartRef__":true,"id":3285},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3186},"_Fill":{"__isSmartRef__":true,"id":3187},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3284":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3285":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3286":{"x":430,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3287":{"stops":[{"__isSmartRef__":true,"id":3288},{"__isSmartRef__":true,"id":3290},{"__isSmartRef__":true,"id":3292},{"__isSmartRef__":true,"id":3294}],"vector":{"__isSmartRef__":true,"id":3196},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3288":{"offset":0,"color":{"__isSmartRef__":true,"id":3289}},"3289":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3290":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3291}},"3291":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3292":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3293}},"3293":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3294":{"offset":1,"color":{"__isSmartRef__":true,"id":3295}},"3295":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3296":{"moveHorizontal":true},"3297":{"sourceObj":{"__isSmartRef__":true,"id":3272},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2845},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3298":{"sourceObj":{"__isSmartRef__":true,"id":3272},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2845},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3299":{"submorphs":[{"__isSmartRef__":true,"id":3300}],"scripts":[],"id":240,"shape":{"__isSmartRef__":true,"id":3310},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3313},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3187},"lighterFill":{"__isSmartRef__":true,"id":3314},"label":{"__isSmartRef__":true,"id":3300},"owner":{"__isSmartRef__":true,"id":3261},"attributeConnections":[{"__isSmartRef__":true,"id":3323},{"__isSmartRef__":true,"id":3324}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"3300":{"submorphs":[],"scripts":[],"id":241,"shape":{"__isSmartRef__":true,"id":3301},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3304},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":3305}],"_Padding":{"__isSmartRef__":true,"id":3307},"owner":{"__isSmartRef__":true,"id":3299},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3308},"renderContextTable":{"__isSmartRef__":true,"id":3309},"__LivelyClassName__":"lively.morphic.Text"},"3301":{"position":{"__isSmartRef__":true,"id":3302},"_Extent":{"__isSmartRef__":true,"id":3303},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3302":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3303":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3304":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3305":{"style":{"__isSmartRef__":true,"id":3306},"morph":{"__isSmartRef__":true,"id":3300},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3306":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3307":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3308":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3309":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3310":{"position":{"__isSmartRef__":true,"id":3311},"_Extent":{"__isSmartRef__":true,"id":3312},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3186},"_Fill":{"__isSmartRef__":true,"id":3187},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3311":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3312":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3313":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3314":{"stops":[{"__isSmartRef__":true,"id":3315},{"__isSmartRef__":true,"id":3317},{"__isSmartRef__":true,"id":3319},{"__isSmartRef__":true,"id":3321}],"vector":{"__isSmartRef__":true,"id":3196},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3315":{"offset":0,"color":{"__isSmartRef__":true,"id":3316}},"3316":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3317":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3318}},"3318":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3319":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3320}},"3320":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3321":{"offset":1,"color":{"__isSmartRef__":true,"id":3322}},"3322":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3323":{"sourceObj":{"__isSmartRef__":true,"id":3299},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2845},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3324":{"sourceObj":{"__isSmartRef__":true,"id":3299},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2845},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3325":{"submorphs":[{"__isSmartRef__":true,"id":3326}],"scripts":[],"id":242,"shape":{"__isSmartRef__":true,"id":3336},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3339},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3187},"lighterFill":{"__isSmartRef__":true,"id":3340},"label":{"__isSmartRef__":true,"id":3326},"owner":{"__isSmartRef__":true,"id":3261},"layout":{"__isSmartRef__":true,"id":3349},"attributeConnections":[{"__isSmartRef__":true,"id":3350},{"__isSmartRef__":true,"id":3351}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"3326":{"submorphs":[],"scripts":[],"id":243,"shape":{"__isSmartRef__":true,"id":3327},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3330},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":3331}],"_Padding":{"__isSmartRef__":true,"id":3333},"owner":{"__isSmartRef__":true,"id":3325},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3334},"renderContextTable":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.morphic.Text"},"3327":{"position":{"__isSmartRef__":true,"id":3328},"_Extent":{"__isSmartRef__":true,"id":3329},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2851},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3328":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3329":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3330":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3331":{"style":{"__isSmartRef__":true,"id":3332},"morph":{"__isSmartRef__":true,"id":3326},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3332":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3333":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3334":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3335":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3336":{"position":{"__isSmartRef__":true,"id":3337},"_Extent":{"__isSmartRef__":true,"id":3338},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3186},"_Fill":{"__isSmartRef__":true,"id":3187},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3337":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3338":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3339":{"x":411,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3340":{"stops":[{"__isSmartRef__":true,"id":3341},{"__isSmartRef__":true,"id":3343},{"__isSmartRef__":true,"id":3345},{"__isSmartRef__":true,"id":3347}],"vector":{"__isSmartRef__":true,"id":3196},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3341":{"offset":0,"color":{"__isSmartRef__":true,"id":3342}},"3342":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3343":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3344}},"3344":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3345":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3346}},"3346":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3347":{"offset":1,"color":{"__isSmartRef__":true,"id":3348}},"3348":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3349":{"moveHorizontal":true},"3350":{"sourceObj":{"__isSmartRef__":true,"id":3325},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2845},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3351":{"sourceObj":{"__isSmartRef__":true,"id":3325},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2845},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3352":{"position":{"__isSmartRef__":true,"id":3353},"_Extent":{"__isSmartRef__":true,"id":3354},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":3355},"_Fill":{"__isSmartRef__":true,"id":2543},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3353":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3354":{"x":450,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3355":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3356":{"resizeWidth":true,"adjustForNewBounds":true},"3357":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3358":{"x":450,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3359":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":3360},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3360":{"x":450,"y":272,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3361":{"adjustForNewBounds":true},"3362":{"x":328,"y":910,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3363":{"x":450,"y":272,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3364":{"x":482,"y":63,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3365":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__SourceModuleName__":"Global.lively.PartsBin","comment":"Shows versions of a file.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3366":{"submorphs":[{"__isSmartRef__":true,"id":3367},{"__isSmartRef__":true,"id":3380}],"scripts":[],"id":494,"shape":{"__isSmartRef__":true,"id":3492},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":3494},"_Position":{"__isSmartRef__":true,"id":3495},"priorExtent":{"__isSmartRef__":true,"id":3496},"targetMorph":{"__isSmartRef__":true,"id":3367},"titleBar":{"__isSmartRef__":true,"id":3380},"contentOffset":{"__isSmartRef__":true,"id":3374},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":1528},"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":3497},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window"},"3367":{"submorphs":[],"scripts":[],"id":493,"shape":{"__isSmartRef__":true,"id":3368},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3373},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3374},"priorExtent":{"__isSmartRef__":true,"id":3375},"_MaxTextWidth":500,"_MaxTextHeight":200,"textChunks":[{"__isSmartRef__":true,"id":3376}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3366},"layout":{"__isSmartRef__":true,"id":3378},"doitContext":{"__isSmartRef__":true,"id":1116},"priorSelectionRange":[12,12],"showsHalos":false,"charsReplaced":"submorphs:\t,\ntitleBar:\t\ncontentOffset:\tpt(0.0,22.0)\ncollapsedTransform:\tnull\ncollapsedExtent:\tnull\nexpandedTransform:\ttranslate(377.66px,419.51px)\nexpandedExtent:\tpt(861.5,575.2)\nhighlighted:\ttrue\n_Rotation:\t0\n_Scale:\t1\nprevDragPos:\tpt(450.0,214.0)\nshowsHalos:\tfalse\nname:\tObjectEditor\n__SourceModuleName__:\tGlobal.lively.morphic.Widgets\ntarget:\tnull\nexpandedPosition:\tpt(377.7,419.5)\npartsBinMetaInfo:\t[object Object]\nscriptList:\t\nscriptPane:\t\nclassButton:\t\nconnectionList:\t\ntargetButton:\t\nowner:\t\n_renderContext:\talively.morphic.HTML.RenderContext\neventHandler:\t\nhalos:\t,, 0) this.scriptList.selectAt(0);\n}","funcProperties":{"__isSmartRef__":true,"id":3681},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3680":{"this":{"__isSmartRef__":true,"id":1116}},"3681":{},"3682":{"varMapping":{"__isSmartRef__":true,"id":3683},"source":"function reset() {\n this.target = null;\n this.setTitle(\"ObjectEditor - no target morph chosen\");\n this.scriptPane.doitContext = null;\n this.scriptList.setList([]);\n this.connectionList.setList([]);\n this.scriptPane.setTextString(\"\");\n this.get('morphSelection').setTextString('');\n}","funcProperties":{"__isSmartRef__":true,"id":3684},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3683":{"this":{"__isSmartRef__":true,"id":1116}},"3684":{},"3685":{"varMapping":{"__isSmartRef__":true,"id":3686},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":3687},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3686":{"this":{"__isSmartRef__":true,"id":1116}},"3687":{},"3688":{"varMapping":{"__isSmartRef__":true,"id":3689},"source":"function generateSourceForConnection(connection) {\n var c = connection;\n var targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":3690},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3689":{"this":{"__isSmartRef__":true,"id":1116}},"3690":{},"3691":{"varMapping":{"__isSmartRef__":true,"id":3692},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":3693},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3692":{"this":{"__isSmartRef__":true,"id":1116}},"3693":{},"3694":{"varMapping":{"__isSmartRef__":true,"id":3695},"source":"function sortedConnectionNamesOfObj(obj) {\n if (!obj.attributeConnections) {return []};\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n}","funcProperties":{"__isSmartRef__":true,"id":3696},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3695":{"this":{"__isSmartRef__":true,"id":1116}},"3696":{},"3697":{"varMapping":{"__isSmartRef__":true,"id":3698},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":3699},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3698":{"this":{"__isSmartRef__":true,"id":1116}},"3699":{},"3700":{"varMapping":{"__isSmartRef__":true,"id":3701},"source":"function displaySourceForScript(scriptName) {\n var code = \"\";\n if (scriptName) {\n var code = this.generateSourceForScript(scriptName);\n } \n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":3702},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3701":{"this":{"__isSmartRef__":true,"id":1116}},"3702":{},"3703":{"varMapping":{"__isSmartRef__":true,"id":3704},"source":"function displaySourceForConnection(connection) {\n var code = \"\";\n if (connection) {\n var code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":3705},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3704":{"this":{"__isSmartRef__":true,"id":1116}},"3705":{},"3706":{"varMapping":{"__isSmartRef__":true,"id":3707},"source":"function setupConnections() {\n connect(this.get('morphSelection'), 'selection', this, 'setTarget');\n}","funcProperties":{"__isSmartRef__":true,"id":3708},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3707":{"this":{"__isSmartRef__":true,"id":1116}},"3708":{},"3709":{"submorphs":[{"__isSmartRef__":true,"id":3710},{"__isSmartRef__":true,"id":3721},{"__isSmartRef__":true,"id":3753},{"__isSmartRef__":true,"id":3783}],"scripts":[],"id":8107,"renderContextTable":{"__isSmartRef__":true,"id":3796},"shape":{"__isSmartRef__":true,"id":3797},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3803},"layout":{"__isSmartRef__":true,"id":3804},"ownerApp":{"__isSmartRef__":true,"id":3751},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Box"},"3710":{"submorphs":[],"scripts":[],"id":8108,"renderContextTable":{"__isSmartRef__":true,"id":3711},"textChunks":[{"__isSmartRef__":true,"id":3712}],"shape":{"__isSmartRef__":true,"id":3714},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":277},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3719},"priorExtent":{"__isSmartRef__":true,"id":3720},"_MaxTextWidth":null,"_MaxTextHeight":20,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3709},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3711":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3712":{"style":{"__isSmartRef__":true,"id":3713},"morph":{"__isSmartRef__":true,"id":3710},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Enter link URL","__LivelyClassName__":"lively.morphic.TextChunk"},"3713":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3714":{"_Position":{"__isSmartRef__":true,"id":3715},"renderContextTable":{"__isSmartRef__":true,"id":3716},"_Extent":{"__isSmartRef__":true,"id":3717},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":275},"_Fill":{"__isSmartRef__":true,"id":3718},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3715":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3716":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3717":{"x":103,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3718":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3719":{"x":4,"y":4,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3720":{"x":103,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3721":{"submorphs":[{"__isSmartRef__":true,"id":3722}],"scripts":[],"id":8109,"renderContextTable":{"__isSmartRef__":true,"id":3733},"shape":{"__isSmartRef__":true,"id":3734},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3738},"priorExtent":{"__isSmartRef__":true,"id":3739},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":312},"lighterFill":{"__isSmartRef__":true,"id":3740},"label":{"__isSmartRef__":true,"id":3722},"layout":{"__isSmartRef__":true,"id":3749},"owner":{"__isSmartRef__":true,"id":3709},"attributeConnections":[{"__isSmartRef__":true,"id":3750},{"__isSmartRef__":true,"id":3794}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3722":{"submorphs":[],"scripts":[],"id":8110,"renderContextTable":{"__isSmartRef__":true,"id":3723},"textChunks":[{"__isSmartRef__":true,"id":3724}],"shape":{"__isSmartRef__":true,"id":3726},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3730},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3731},"priorExtent":{"__isSmartRef__":true,"id":3732},"_MaxTextWidth":null,"_MaxTextHeight":30,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3721},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3723":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3724":{"style":{"__isSmartRef__":true,"id":3725},"morph":{"__isSmartRef__":true,"id":3722},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk"},"3725":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3726":{"_Position":{"__isSmartRef__":true,"id":3727},"renderContextTable":{"__isSmartRef__":true,"id":3728},"_Extent":{"__isSmartRef__":true,"id":3729},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":275},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3727":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3728":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3729":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3730":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3731":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3732":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3733":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3734":{"_Position":{"__isSmartRef__":true,"id":3735},"renderContextTable":{"__isSmartRef__":true,"id":3736},"_Extent":{"__isSmartRef__":true,"id":3737},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":311},"_Fill":{"__isSmartRef__":true,"id":312},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3735":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3736":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3737":{"x":60,"y":30,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3738":{"x":236,"y":56,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3739":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3740":{"stops":[{"__isSmartRef__":true,"id":3741},{"__isSmartRef__":true,"id":3743},{"__isSmartRef__":true,"id":3745},{"__isSmartRef__":true,"id":3747}],"vector":{"__isSmartRef__":true,"id":321},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3741":{"offset":0,"color":{"__isSmartRef__":true,"id":3742}},"3742":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3743":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3744}},"3744":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3745":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3746}},"3746":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3747":{"offset":1,"color":{"__isSmartRef__":true,"id":3748}},"3748":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3749":{"moveHorizontal":true},"3750":{"sourceObj":{"__isSmartRef__":true,"id":3721},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3751},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3751":{"message":"Enter link URL","attributeConnections":[{"__isSmartRef__":true,"id":3752}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"panel":{"__isSmartRef__":true,"id":3709},"label":{"__isSmartRef__":true,"id":3710},"cancelButton":{"__isSmartRef__":true,"id":3721},"okButton":{"__isSmartRef__":true,"id":3753},"inputText":{"__isSmartRef__":true,"id":3783},"view":{"__isSmartRef__":true,"id":3709},"__SourceModuleName__":"Global.lively.morphic.Widgets","result":null,"__LivelyClassName__":"lively.morphic.PromptDialog"},"3752":{"sourceObj":{"__isSmartRef__":true,"id":3751},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":3751},"targetMethodName":"triggerCallback","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3753":{"submorphs":[{"__isSmartRef__":true,"id":3754}],"scripts":[],"id":8111,"renderContextTable":{"__isSmartRef__":true,"id":3764},"shape":{"__isSmartRef__":true,"id":3765},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3769},"priorExtent":{"__isSmartRef__":true,"id":3770},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":312},"lighterFill":{"__isSmartRef__":true,"id":3771},"label":{"__isSmartRef__":true,"id":3754},"layout":{"__isSmartRef__":true,"id":3780},"owner":{"__isSmartRef__":true,"id":3709},"attributeConnections":[{"__isSmartRef__":true,"id":3781},{"__isSmartRef__":true,"id":3782}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3754":{"submorphs":[],"scripts":[],"id":8112,"renderContextTable":{"__isSmartRef__":true,"id":3755},"textChunks":[{"__isSmartRef__":true,"id":3756}],"shape":{"__isSmartRef__":true,"id":3758},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3730},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3762},"priorExtent":{"__isSmartRef__":true,"id":3763},"_MaxTextWidth":null,"_MaxTextHeight":30,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3753},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3755":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3756":{"style":{"__isSmartRef__":true,"id":3757},"morph":{"__isSmartRef__":true,"id":3754},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"OK","__LivelyClassName__":"lively.morphic.TextChunk"},"3757":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3758":{"_Position":{"__isSmartRef__":true,"id":3759},"renderContextTable":{"__isSmartRef__":true,"id":3760},"_Extent":{"__isSmartRef__":true,"id":3761},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":275},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3759":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3760":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3761":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3762":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3763":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3764":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3765":{"_Position":{"__isSmartRef__":true,"id":3766},"renderContextTable":{"__isSmartRef__":true,"id":3767},"_Extent":{"__isSmartRef__":true,"id":3768},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":311},"_Fill":{"__isSmartRef__":true,"id":312},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3766":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3767":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3768":{"x":60,"y":30,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3769":{"x":172,"y":56,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3770":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3771":{"stops":[{"__isSmartRef__":true,"id":3772},{"__isSmartRef__":true,"id":3774},{"__isSmartRef__":true,"id":3776},{"__isSmartRef__":true,"id":3778}],"vector":{"__isSmartRef__":true,"id":321},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3772":{"offset":0,"color":{"__isSmartRef__":true,"id":3773}},"3773":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3774":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3775}},"3775":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3776":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3777}},"3777":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3778":{"offset":1,"color":{"__isSmartRef__":true,"id":3779}},"3779":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3780":{"moveHorizontal":true},"3781":{"sourceObj":{"__isSmartRef__":true,"id":3753},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3751},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3782":{"sourceObj":{"__isSmartRef__":true,"id":3753},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3783},"targetMethodName":"doSave","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3783":{"submorphs":[],"scripts":[],"id":8113,"renderContextTable":{"__isSmartRef__":true,"id":3784},"textChunks":[{"__isSmartRef__":true,"id":3785}],"shape":{"__isSmartRef__":true,"id":3787},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":277},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3791},"priorExtent":{"__isSmartRef__":true,"id":3792},"_MaxTextWidth":292,"_MaxTextHeight":20,"evalEnabled":false,"isInputLine":true,"attributeConnections":[{"__isSmartRef__":true,"id":3793}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"owner":{"__isSmartRef__":true,"id":3709},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3784":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3785":{"style":{"__isSmartRef__":true,"id":3786},"morph":{"__isSmartRef__":true,"id":3783},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3786":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3787":{"_Position":{"__isSmartRef__":true,"id":3788},"renderContextTable":{"__isSmartRef__":true,"id":3789},"_Extent":{"__isSmartRef__":true,"id":3790},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":275},"_Fill":{"__isSmartRef__":true,"id":276},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3788":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3789":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3790":{"x":292,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3791":{"x":4,"y":24,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3792":{"x":292,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3793":{"sourceObj":{"__isSmartRef__":true,"id":3783},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3751},"targetMethodName":"result","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3794":{"sourceObj":{"__isSmartRef__":true,"id":3721},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3751},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3795":{"source":{"__isSmartRef__":true,"id":3721},"target":{"__isSmartRef__":true,"id":3751}},"3796":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3797":{"_Position":{"__isSmartRef__":true,"id":3798},"renderContextTable":{"__isSmartRef__":true,"id":3799},"_Extent":{"__isSmartRef__":true,"id":3800},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3801},"_Fill":{"__isSmartRef__":true,"id":3802},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3798":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3799":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3800":{"x":300,"y":90,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3801":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3802":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3803":{"x":4850,"y":2710.345981191636,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3804":{"adjustForNewBounds":true},"3805":{"submorphs":[{"__isSmartRef__":true,"id":3806},{"__isSmartRef__":true,"id":3816},{"__isSmartRef__":true,"id":3847},{"__isSmartRef__":true,"id":3877}],"scripts":[],"id":8114,"renderContextTable":{"__isSmartRef__":true,"id":3890},"shape":{"__isSmartRef__":true,"id":3891},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3897},"layout":{"__isSmartRef__":true,"id":3898},"ownerApp":{"__isSmartRef__":true,"id":3845},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Box"},"3806":{"submorphs":[],"scripts":[],"id":8115,"renderContextTable":{"__isSmartRef__":true,"id":3807},"textChunks":[{"__isSmartRef__":true,"id":3808}],"shape":{"__isSmartRef__":true,"id":3810},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":277},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3814},"priorExtent":{"__isSmartRef__":true,"id":3815},"_MaxTextWidth":null,"_MaxTextHeight":20,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3805},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3807":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3808":{"style":{"__isSmartRef__":true,"id":3809},"morph":{"__isSmartRef__":true,"id":3806},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Enter link URL","__LivelyClassName__":"lively.morphic.TextChunk"},"3809":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3810":{"_Position":{"__isSmartRef__":true,"id":3811},"renderContextTable":{"__isSmartRef__":true,"id":3812},"_Extent":{"__isSmartRef__":true,"id":3813},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":275},"_Fill":{"__isSmartRef__":true,"id":3718},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3811":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3812":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3813":{"x":103,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3814":{"x":4,"y":4,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3815":{"x":103,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3816":{"submorphs":[{"__isSmartRef__":true,"id":3817}],"scripts":[],"id":8116,"renderContextTable":{"__isSmartRef__":true,"id":3827},"shape":{"__isSmartRef__":true,"id":3828},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3832},"priorExtent":{"__isSmartRef__":true,"id":3833},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":312},"lighterFill":{"__isSmartRef__":true,"id":3834},"label":{"__isSmartRef__":true,"id":3817},"layout":{"__isSmartRef__":true,"id":3843},"owner":{"__isSmartRef__":true,"id":3805},"attributeConnections":[{"__isSmartRef__":true,"id":3844},{"__isSmartRef__":true,"id":3888}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3817":{"submorphs":[],"scripts":[],"id":8117,"renderContextTable":{"__isSmartRef__":true,"id":3818},"textChunks":[{"__isSmartRef__":true,"id":3819}],"shape":{"__isSmartRef__":true,"id":3821},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3730},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3825},"priorExtent":{"__isSmartRef__":true,"id":3826},"_MaxTextWidth":null,"_MaxTextHeight":30,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3816},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3818":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3819":{"style":{"__isSmartRef__":true,"id":3820},"morph":{"__isSmartRef__":true,"id":3817},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk"},"3820":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3821":{"_Position":{"__isSmartRef__":true,"id":3822},"renderContextTable":{"__isSmartRef__":true,"id":3823},"_Extent":{"__isSmartRef__":true,"id":3824},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":275},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3822":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3823":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3824":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3825":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3826":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3827":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3828":{"_Position":{"__isSmartRef__":true,"id":3829},"renderContextTable":{"__isSmartRef__":true,"id":3830},"_Extent":{"__isSmartRef__":true,"id":3831},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":311},"_Fill":{"__isSmartRef__":true,"id":312},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3829":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3830":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3831":{"x":60,"y":30,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3832":{"x":236,"y":56,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3833":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3834":{"stops":[{"__isSmartRef__":true,"id":3835},{"__isSmartRef__":true,"id":3837},{"__isSmartRef__":true,"id":3839},{"__isSmartRef__":true,"id":3841}],"vector":{"__isSmartRef__":true,"id":321},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3835":{"offset":0,"color":{"__isSmartRef__":true,"id":3836}},"3836":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3837":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3838}},"3838":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3839":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3840}},"3840":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3841":{"offset":1,"color":{"__isSmartRef__":true,"id":3842}},"3842":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3843":{"moveHorizontal":true},"3844":{"sourceObj":{"__isSmartRef__":true,"id":3816},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3845},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3845":{"message":"Enter link URL","attributeConnections":[{"__isSmartRef__":true,"id":3846}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"panel":{"__isSmartRef__":true,"id":3805},"label":{"__isSmartRef__":true,"id":3806},"cancelButton":{"__isSmartRef__":true,"id":3816},"okButton":{"__isSmartRef__":true,"id":3847},"inputText":{"__isSmartRef__":true,"id":3877},"view":{"__isSmartRef__":true,"id":3805},"__SourceModuleName__":"Global.lively.morphic.Widgets","result":null,"__LivelyClassName__":"lively.morphic.PromptDialog"},"3846":{"sourceObj":{"__isSmartRef__":true,"id":3845},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":3845},"targetMethodName":"triggerCallback","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3847":{"submorphs":[{"__isSmartRef__":true,"id":3848}],"scripts":[],"id":8118,"renderContextTable":{"__isSmartRef__":true,"id":3858},"shape":{"__isSmartRef__":true,"id":3859},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3863},"priorExtent":{"__isSmartRef__":true,"id":3864},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":312},"lighterFill":{"__isSmartRef__":true,"id":3865},"label":{"__isSmartRef__":true,"id":3848},"layout":{"__isSmartRef__":true,"id":3874},"owner":{"__isSmartRef__":true,"id":3805},"attributeConnections":[{"__isSmartRef__":true,"id":3875},{"__isSmartRef__":true,"id":3876}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3848":{"submorphs":[],"scripts":[],"id":8119,"renderContextTable":{"__isSmartRef__":true,"id":3849},"textChunks":[{"__isSmartRef__":true,"id":3850}],"shape":{"__isSmartRef__":true,"id":3852},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3730},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3856},"priorExtent":{"__isSmartRef__":true,"id":3857},"_MaxTextWidth":null,"_MaxTextHeight":30,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3847},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3849":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3850":{"style":{"__isSmartRef__":true,"id":3851},"morph":{"__isSmartRef__":true,"id":3848},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"OK","__LivelyClassName__":"lively.morphic.TextChunk"},"3851":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3852":{"_Position":{"__isSmartRef__":true,"id":3853},"renderContextTable":{"__isSmartRef__":true,"id":3854},"_Extent":{"__isSmartRef__":true,"id":3855},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":275},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3853":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3854":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3855":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3856":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3857":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3858":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3859":{"_Position":{"__isSmartRef__":true,"id":3860},"renderContextTable":{"__isSmartRef__":true,"id":3861},"_Extent":{"__isSmartRef__":true,"id":3862},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":311},"_Fill":{"__isSmartRef__":true,"id":312},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3860":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3861":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3862":{"x":60,"y":30,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3863":{"x":172,"y":56,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3864":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3865":{"stops":[{"__isSmartRef__":true,"id":3866},{"__isSmartRef__":true,"id":3868},{"__isSmartRef__":true,"id":3870},{"__isSmartRef__":true,"id":3872}],"vector":{"__isSmartRef__":true,"id":321},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3866":{"offset":0,"color":{"__isSmartRef__":true,"id":3867}},"3867":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3868":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3869}},"3869":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3870":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3871}},"3871":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3872":{"offset":1,"color":{"__isSmartRef__":true,"id":3873}},"3873":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3874":{"moveHorizontal":true},"3875":{"sourceObj":{"__isSmartRef__":true,"id":3847},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3845},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3876":{"sourceObj":{"__isSmartRef__":true,"id":3847},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3877},"targetMethodName":"doSave","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3877":{"submorphs":[],"scripts":[],"id":8120,"renderContextTable":{"__isSmartRef__":true,"id":3878},"textChunks":[{"__isSmartRef__":true,"id":3879}],"shape":{"__isSmartRef__":true,"id":3881},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":277},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3885},"priorExtent":{"__isSmartRef__":true,"id":3886},"_MaxTextWidth":292,"_MaxTextHeight":20,"evalEnabled":false,"isInputLine":true,"attributeConnections":[{"__isSmartRef__":true,"id":3887}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"owner":{"__isSmartRef__":true,"id":3805},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3878":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3879":{"style":{"__isSmartRef__":true,"id":3880},"morph":{"__isSmartRef__":true,"id":3877},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3880":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3881":{"_Position":{"__isSmartRef__":true,"id":3882},"renderContextTable":{"__isSmartRef__":true,"id":3883},"_Extent":{"__isSmartRef__":true,"id":3884},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":275},"_Fill":{"__isSmartRef__":true,"id":276},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3882":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3883":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3884":{"x":292,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3885":{"x":4,"y":24,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3886":{"x":292,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3887":{"sourceObj":{"__isSmartRef__":true,"id":3877},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3845},"targetMethodName":"result","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3888":{"sourceObj":{"__isSmartRef__":true,"id":3816},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3845},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3889},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3889":{"source":{"__isSmartRef__":true,"id":3816},"target":{"__isSmartRef__":true,"id":3845}},"3890":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3891":{"_Position":{"__isSmartRef__":true,"id":3892},"renderContextTable":{"__isSmartRef__":true,"id":3893},"_Extent":{"__isSmartRef__":true,"id":3894},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3895},"_Fill":{"__isSmartRef__":true,"id":3896},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3892":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3893":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3894":{"x":300,"y":90,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3895":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3896":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3897":{"x":4850,"y":2711.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3898":{"adjustForNewBounds":true},"3899":{"submorphs":[{"__isSmartRef__":true,"id":3900},{"__isSmartRef__":true,"id":3912},{"__isSmartRef__":true,"id":3945},{"__isSmartRef__":true,"id":4021},{"__isSmartRef__":true,"id":4065},{"__isSmartRef__":true,"id":4078},{"__isSmartRef__":true,"id":4092}],"scripts":[],"id":8044,"shape":{"__isSmartRef__":true,"id":4104},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4110},"showsHalos":false,"name":"URLIndentedTree","partsBinMetaInfo":{"__isSmartRef__":true,"id":4111},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":4112},"target":{"__isSmartRef__":true,"id":250},"graph":{"__isSmartRef__":true,"id":3958},"layout":{"__isSmartRef__":true,"id":4113},"renderContextTable":{"__isSmartRef__":true,"id":4114},"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4115},"__LivelyClassName__":"lively.morphic.Box"},"3900":{"submorphs":[],"scripts":[],"id":8045,"shape":{"__isSmartRef__":true,"id":3901},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3906},"_MaxTextWidth":358.6185722369539,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3904},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":3907},"textChunks":[{"__isSmartRef__":true,"id":3908}],"charsReplaced":"Sunbursts","lastFindLoc":-5,"priorSelectionRange":[0,17],"prevScroll":[0,0],"_Scale":0.9980029960049943,"owner":{"__isSmartRef__":true,"id":3899},"priorExtent":{"__isSmartRef__":true,"id":3910},"renderContextTable":{"__isSmartRef__":true,"id":3911},"__LivelyClassName__":"lively.morphic.Text"},"3901":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3902},"_Extent":{"__isSmartRef__":true,"id":3903},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3904},"renderContextTable":{"__isSmartRef__":true,"id":3905},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3902":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3903":{"x":358.6185722369539,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3904":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3905":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3906":{"x":10.613580225968235,"y":0.7558665111114351,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3907":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3908":{"style":{"__isSmartRef__":true,"id":3909},"morph":{"__isSmartRef__":true,"id":3900},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"URL Indented Tree","__LivelyClassName__":"lively.morphic.TextChunk"},"3909":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3910":{"x":358.6185722369539,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3911":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"3912":{"submorphs":[],"scripts":[],"id":8046,"shape":{"__isSmartRef__":true,"id":3913},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3919},"showsHalos":false,"name":"ResizeCorner1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3920},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":3921},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":3899},"renderContextTable":{"__isSmartRef__":true,"id":3922},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3923},"__LivelyClassName__":"lively.morphic.Box"},"3913":{"position":{"__isSmartRef__":true,"id":3914},"_Extent":{"__isSmartRef__":true,"id":3915},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3916},"_Fill":{"__isSmartRef__":true,"id":3917},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3918},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3914":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3915":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3916":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3917":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3918":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3919":{"x":929,"y":703,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3920":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3921":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3922":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3923":{"onDrag":{"__isSmartRef__":true,"id":3924},"onDragEnd":{"__isSmartRef__":true,"id":3931},"onDragStart":{"__isSmartRef__":true,"id":3938}},"3924":{"varMapping":{"__isSmartRef__":true,"id":3925},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":3930},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3925":{"this":{"__isSmartRef__":true,"id":3912},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3926}},"3926":{"$super":{"__isSmartRef__":true,"id":3927}},"3927":{"varMapping":{"__isSmartRef__":true,"id":3928},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":3929},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3928":{"obj":{"__isSmartRef__":true,"id":3912},"name":"onDrag"},"3929":{},"3930":{},"3931":{"varMapping":{"__isSmartRef__":true,"id":3932},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":3937},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3932":{"this":{"__isSmartRef__":true,"id":3912},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3933}},"3933":{"$super":{"__isSmartRef__":true,"id":3934}},"3934":{"varMapping":{"__isSmartRef__":true,"id":3935},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":3936},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3935":{"obj":{"__isSmartRef__":true,"id":3912},"name":"onDragEnd"},"3936":{},"3937":{},"3938":{"varMapping":{"__isSmartRef__":true,"id":3939},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":3944},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3939":{"this":{"__isSmartRef__":true,"id":3912},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3940}},"3940":{"$super":{"__isSmartRef__":true,"id":3941}},"3941":{"varMapping":{"__isSmartRef__":true,"id":3942},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":3943},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3942":{"obj":{"__isSmartRef__":true,"id":3912},"name":"onDragStart"},"3943":{},"3944":{},"3945":{"submorphs":[],"scripts":[],"id":8047,"shape":{"__isSmartRef__":true,"id":3946},"droppingEnabled":true,"halosEnabled":true,"data":{"__isSmartRef__":true,"id":3952},"doNotSerialize":["vis"],"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":3956},"name":"ProtoVisGraph","partsBinMetaInfo":{"__isSmartRef__":true,"id":3957},"__SourceModuleName__":"Global.apps.ProtoVisInterface","_Rotation":0,"_Scale":1,"graph":{"__isSmartRef__":true,"id":3958},"priorExtent":{"__isSmartRef__":true,"id":3990},"owner":{"__isSmartRef__":true,"id":3899},"layout":{"__isSmartRef__":true,"id":3991},"isClip":false,"_ClipMode":"visible","renderContextTable":{"__isSmartRef__":true,"id":3992},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3993},"__LivelyClassName__":"ProtoVisMorph"},"3946":{"position":{"__isSmartRef__":true,"id":3947},"_Extent":{"__isSmartRef__":true,"id":3948},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":{"__isSmartRef__":true,"id":3949},"_BorderWidth":1.484,"_Position":{"__isSmartRef__":true,"id":3950},"renderContextTable":{"__isSmartRef__":true,"id":3951},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3947":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3948":{"x":917,"y":642,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3949":{"r":0.572,"g":0.572,"b":0.572,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3950":{"x":6.72295955392093,"y":2.2409865179703843,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3951":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3952":{"MyPartsBin":{"__isSmartRef__":true,"id":3953},"journal":{"__isSmartRef__":true,"id":3954},"config_js":1,"JensGraffle_xhtml":1,"JensPermutation_xhtml":1,"NamesNames_xhtml":1,"JensRobertPermChiffre_xhtml":1,"JensFirstHTMLPage_xhtml":1,"JensJSON_xhtml":1,"NewStyles_j":1,"Empty_xhtml":1,"Jens_xhtml":1,"WebGL_xhtml":1,"Test1_xhtml":1,"JensStyleDialog_xhtml":1,"NewWorld_xhtml":1,"Exploration_xhtml":1,"kunst_xhtml":1,"auth":1,"JensPermChiffre_xhtml":1,"DevPage_xhtml":1,"DraftSelectionMorph_xhtml":1,"FreeMem_xhtml":1,"SceneRefactoringDev_xhtml":1,"JensVis_xhtml":1,"tests1_xhtml":1},"3953":{"TestObject_svg":1,"TreeInspector_svg":1,"Afrika_json":1,"FreeLivelyServerMemChart_json":1,"DavidsMorph_json":1,"GraphLayoutApp_json":1,"Afrika_svg":1,"FreeLivelyServerMemChart_svg":1,"DavidsMorph_svg":1,"GraphLayoutApp_svg":1,"TestObject_json":1,"TreeInspector_json":1},"3954":{"media":{"__isSmartRef__":true,"id":3955},"NewJournal_xhtml":1,"Journal_js":1,"_010_Aug_xhtml":1,"Empty_xhtml":1,"_010_Mar_xhtml":1,"testfile_txt":1,"_010_Apr_xhtml":1,"_010_May_xhtml":1,"_011_JanFebMar_xhtml":1,"auth":1,"_010_Sep_xhtml":1,"_010_Jul_xhtml":1,"journal_xhtml":1,"_010_Dec_xhtml":1,"_010_Jun_xhtml":1,"_010_Feb_xhtml":1,"JournalUpload_xhtml":1,"test_xhtml":1},"3955":{"FirefoxScreenSnapz010_png":1,"FirefoxScreenSnapz011_png":1,"ScriptingDriveACar_mov":1,"hpi_logo_png":1,"FirefoxScreenSnapz01__png":1,"SafariSchnappschuss00__png":1,"SafariScreenSnapz01__png":1,"TestVideo__mp_":1,"100____DriveACar_png":1,"UserExampleMobilan_mov":1,"PreviewScreenSnapz011_png":1,"100____FixMorphCopyAndPaste_png":1,"SafariScreenSnapz0___png":1,"PreviewScreenSnapz01__png":1,"ServerSideCodeSearchPrototype_png":1,"PreviewScreenSnapz0___png":1,"MoveWorldWidget_png":1,"ScriptingDriveACar_png":1,"CopyLabelIssue_png":1,"FabrikBrowserFullFirstTime_mov":1,"UserExampleMobilan_png":1,"FirefoxScreenSnapz001_png":1,"FirefoxScreenSnapz00__png":1,"ScriptEditorPrototype__011_0__0__png":1,"Google__0ChromeScreenSnapz001_png":1,"SafariScreenSnapz0_0_png":1,"OmniGraffle__0ProfessionalScreenSnapz001_png":1,"Google__0ChromeScreenSnapz00__png":1,"CommandLinePrototype_png":1,"DraftScaleWidget_png":1,"OmniGraffle__0ProfessionalScreenSnapz00__png":1,"cube_png":1,"PreviewScreenSnapz00__png":1,"100_0__SystemBrowserMockup_png":1,"ColorSerializationIssue_png":1,"TextMateScreenSnapz001_png":1,"University__0of__0Tokyo_jpg":1,"________png":1,"MyBoundO_DBall_mov":1},"3956":{"x":16.801462415729475,"y":20.667412831374662,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3957":{"migrationLevel":2,"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3958":{"analytics":{"__isSmartRef__":true,"id":3959},"animate":{"__isSmartRef__":true,"id":3963},"data":{"__isSmartRef__":true,"id":3965},"display":{"__isSmartRef__":true,"id":3967},"flex":{"__isSmartRef__":true,"id":3968},"physics":{"__isSmartRef__":true,"id":3969},"query":{"__isSmartRef__":true,"id":3970},"scale":{"__isSmartRef__":true,"id":3972},"util":{"__isSmartRef__":true,"id":3973},"vis":{"__isSmartRef__":true,"id":3977}},"3959":{"cluster":{"__isSmartRef__":true,"id":3960},"graph":{"__isSmartRef__":true,"id":3961},"optimization":{"__isSmartRef__":true,"id":3962}},"3960":{"AgglomerativeCluster":3938,"CommunityStructure":3812,"HierarchicalCluster":6714,"MergeEdge":743},"3961":{"BetweennessCentrality":3534,"LinkDistance":5731,"MaxFlowMinCut":7840,"ShortestPaths":5914,"SpanningTree":3416},"3962":{"AspectRatioBanker":7074},"3963":{"Easing":17010,"FunctionSequence":5842,"interpolate":{"__isSmartRef__":true,"id":3964},"ISchedulable":1041,"Parallel":5176,"Pause":449,"Scheduler":5593,"Sequence":5534,"Transition":9201,"Transitioner":19975,"TransitionEvent":1116,"Tween":6006},"3964":{"ArrayInterpolator":1983,"ColorInterpolator":2047,"DateInterpolator":1375,"Interpolator":8746,"MatrixInterpolator":2202,"NumberInterpolator":1382,"ObjectInterpolator":1629,"PointInterpolator":1675,"RectangleInterpolator":2042},"3965":{"converters":{"__isSmartRef__":true,"id":3966},"DataField":1759,"DataSchema":2165,"DataSet":586,"DataSource":3331,"DataTable":772,"DataUtil":3322},"3966":{"Converters":721,"DelimitedTextConverter":4294,"GraphMLConverter":9800,"IDataConverter":1314,"JSONConverter":2220},"3967":{"DirtySprite":8833,"LineSprite":1732,"RectSprite":3623,"TextSprite":10066},"3968":{"FlareVis":4116},"3969":{"DragForce":1082,"GravityForce":1336,"IForce":319,"NBodyForce":10498,"Particle":2822,"Simulation":9983,"Spring":2213,"SpringForce":1681},"3970":{"AggregateExpression":1616,"And":1027,"Arithmetic":3891,"Average":891,"BinaryExpression":2893,"Comparison":5103,"CompositeExpression":3677,"Count":781,"DateUtil":4141,"Distinct":933,"Expression":5130,"ExpressionIterator":3617,"Fn":3240,"If":2732,"IsA":2039,"Literal":1214,"Match":3748,"Maximum":843,"methods":{"__isSmartRef__":true,"id":3971},"Minimum":843,"Not":1554,"Or":970,"Query":13896,"Range":1594,"StringUtil":4130,"Sum":791,"Variable":1124,"Variance":1876,"Xor":1101},"3971":{"add":593,"and":330,"average":287,"count":277,"distinct":292,"div":595,"eq":594,"fn":460,"gt":603,"gte":625,"iff":748,"isa":461,"lt":597,"lte":619,"max":283,"min":283,"mod":591,"mul":603,"neq":599,"not":386,"or":323,"orderby":307,"range":772,"select":296,"stddev":363,"sub":600,"sum":280,"update":307,"variance":335,"where":299,"xor":354,"_":264},"3972":{"IScaleMap":2105,"LinearScale":1316,"LogScale":3151,"OrdinalScale":3770,"QuantileScale":2435,"QuantitativeScale":4839,"RootScale":1756,"Scale":4268,"ScaleType":1821,"TimeScale":5833},"3973":{"Arrays":8258,"Colors":10001,"Dates":8217,"Displays":12555,"Filter":2324,"Geometry":10993,"heap":{"__isSmartRef__":true,"id":3974},"IEvaluable":335,"IPredicate":383,"IValueProxy":874,"math":{"__isSmartRef__":true,"id":3975},"Maths":17705,"Orientation":1486,"palette":{"__isSmartRef__":true,"id":3976},"Property":5559,"Shapes":19118,"Sort":6887,"Stats":6557,"Strings":22026},"3974":{"FibonacciHeap":9354,"HeapNode":1233},"3975":{"DenseMatrix":3165,"IMatrix":2815,"SparseMatrix":3366},"3976":{"ColorPalette":6367,"Palette":1229,"ShapePalette":2059,"SizePalette":2291},"3977":{"axis":{"__isSmartRef__":true,"id":3978},"controls":{"__isSmartRef__":true,"id":3979},"data":{"__isSmartRef__":true,"id":3980},"events":{"__isSmartRef__":true,"id":3982},"legend":{"__isSmartRef__":true,"id":3983},"operator":{"__isSmartRef__":true,"id":3984},"Visualization":16540},"3978":{"Axes":1302,"Axis":24593,"AxisGridLine":652,"AxisLabel":636,"CartesianAxes":6703},"3979":{"AnchorControl":2138,"ClickControl":3824,"Control":1353,"ControlList":4665,"DragControl":2649,"ExpandControl":2832,"HoverControl":4896,"IControl":763,"PanZoomControl":5222,"SelectionControl":7862,"TooltipControl":8435},"3980":{"Data":20544,"DataList":19788,"DataSprite":10349,"EdgeSprite":3301,"NodeSprite":19382,"render":{"__isSmartRef__":true,"id":3981},"ScaleBinding":11275,"Tree":7147,"TreeBuilder":9930},"3981":{"ArrowType":698,"EdgeRenderer":5569,"IRenderer":353,"ShapeRenderer":2247},"3982":{"DataEvent":2313,"SelectionEvent":1880,"TooltipEvent":1701,"VisualizationEvent":1117},"3983":{"Legend":20859,"LegendItem":4614,"LegendRange":10530},"3984":{"distortion":{"__isSmartRef__":true,"id":3985},"encoder":{"__isSmartRef__":true,"id":3986},"filter":{"__isSmartRef__":true,"id":3987},"IOperator":1286,"label":{"__isSmartRef__":true,"id":3988},"layout":{"__isSmartRef__":true,"id":3989},"Operator":2490,"OperatorList":5248,"OperatorSequence":4190,"OperatorSwitch":2581,"SortOperator":2023},"3985":{"BifocalDistortion":4461,"Distortion":6314,"FisheyeDistortion":3444},"3986":{"ColorEncoder":3179,"Encoder":4060,"PropertyEncoder":4138,"ShapeEncoder":1690,"SizeEncoder":1830},"3987":{"FisheyeTreeFilter":5219,"GraphDistanceFilter":3165,"VisibilityFilter":3509},"3988":{"Labeler":9956,"RadialLabeler":3899,"StackedAreaLabeler":3202},"3989":{"AxisLayout":6725,"BundledEdgeRouter":3727,"CircleLayout":9317,"CirclePackingLayout":12003,"DendrogramLayout":4853,"ForceDirectedLayout":8411,"IcicleTreeLayout":4864,"IndentedTreeLayout":3174,"Layout":7881,"NodeLinkTreeLayout":12870,"PieLayout":2728,"RadialTreeLayout":12348,"RandomLayout":870,"StackedAreaLayout":9121,"TreeMapLayout":9191},"3990":{"x":919,"y":641,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3991":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"3992":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3993":{"restoreRenderContextAfterCopy":{"__isSmartRef__":true,"id":3994},"draw":{"__isSmartRef__":true,"id":4001},"setupExample":{"__isSmartRef__":true,"id":4008},"render":{"__isSmartRef__":true,"id":4011},"setDataAndRender":{"__isSmartRef__":true,"id":4018}},"3994":{"varMapping":{"__isSmartRef__":true,"id":3995},"source":"function restoreRenderContextAfterCopy(renderCtx) {\n\t$super(renderCtx);\n\tlively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":4000},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3995":{"this":{"__isSmartRef__":true,"id":3945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3996}},"3996":{"$super":{"__isSmartRef__":true,"id":3997}},"3997":{"varMapping":{"__isSmartRef__":true,"id":3998},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":3999},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3998":{"obj":{"__isSmartRef__":true,"id":3945},"name":"restoreRenderContextAfterCopy"},"3999":{},"4000":{},"4001":{"varMapping":{"__isSmartRef__":true,"id":4002},"source":"function draw(w, h) {\n alertOK(\"draw \" + w + \" \" + h)\n\tw = w - 30;\n\th = h - 25;\n var format = pv.Format.number();\n var dom = pv.dom(this.data)\n var root = dom\n .root(\"flare\")\n .sort(function(a, b) {return pv.naturalOrder(a.nodeName, b.nodeName) });\n\n /* Recursively compute the package sizes. */\n root.visitAfter(function(n) {\n if (n.firstChild) {\n n.nodeValue = pv.sum(n.childNodes, function(n) {return n.nodeValue});\n }\n });\n\n var vis = new pv.Panel()\n\t .width(260) \n .height(function(){return (root.nodes().length + 1) * 12})\n .margin(5);\n\n\tvar layout = vis.add(pv.Layout.Indent) \n .nodes(function() {return root.nodes() } )\n .depth(12)\n .breadth(12);\n\n layout.link.add(pv.Line);\n\n var node = layout.node.add(pv.Panel)\n .top(function(n) {return n.y - 6})\n .height(12)\n .right(6)\n .strokeStyle(null)\n .events(\"all\")\n .event(\"mousedown\", toggle);\n\n node.anchor(\"left\").add(pv.Dot)\n .strokeStyle(\"#1f77b4\")\n .fillStyle(function(n) {\n return n.toggled ? \"#1f77b4\" : n.firstChild ? \"#aec7e8\" : \"#ff7f0e\"})\n .title(function t(d) {\n return d.parentNode ? (t(d.parentNode) + \".\" + d.nodeName) : d.nodeName })\n .anchor(\"right\").add(pv.Label)\n .text(function(n) { return n.nodeName});\n\n node.anchor(\"right\").add(pv.Label)\n .textStyle(function(n) { return n.firstChild || n.toggled ? \"#aaa\" : \"#000\"})\n .text(function(n) { return (n.nodeValue >> 10) + \"KB\"});\n\n\n /* Toggles the selected node, then updates the layout. */\n function toggle(n) {\n n.toggle(pv.event.altKey);\n return layout.reset().root;\n }\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":4007},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4002":{"this":{"__isSmartRef__":true,"id":3945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4003}},"4003":{"$super":{"__isSmartRef__":true,"id":4004}},"4004":{"varMapping":{"__isSmartRef__":true,"id":4005},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":4006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4005":{"obj":{"__isSmartRef__":true,"id":3945},"name":"draw"},"4006":{},"4007":{},"4008":{"varMapping":{"__isSmartRef__":true,"id":4009},"source":"function setupExample() {\n\tthis.graph = {}; \n this.graph.nodes = [\n {nodeName:\"ObjectA\", group:1},\n {nodeName:\"ObjectA\", group:1},\n ];\n this.graph.links = [\n {source:0, target:1, value:1},\n ]\n}","funcProperties":{"__isSmartRef__":true,"id":4010},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4009":{"this":{"__isSmartRef__":true,"id":3945}},"4010":{},"4011":{"varMapping":{"__isSmartRef__":true,"id":4012},"source":"function render() {\n\tthis.removeDrawing();\n\n\tvar w = this.getExtent().x - 5, // 2 is for a border width of 1\n\th = this.getExtent().y - 3.5;\n\tthis.vis = this.draw(w, h);\n\n\tvar svg = this.renderContext().svgNode;\n\tif (svg) svg.parentNode.removeChild(svg)\n\tvar svg = NodeFactory.create('svg');\n\tthis.renderContext().morphNode.appendChild(svg);\n\tthis.renderContext().svgNode = svg;\n\tthis.vis.canvas(svg);\n\tthis.vis.render();\n}","funcProperties":{"__isSmartRef__":true,"id":4017},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4012":{"this":{"__isSmartRef__":true,"id":3945},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4013}},"4013":{"$super":{"__isSmartRef__":true,"id":4014}},"4014":{"varMapping":{"__isSmartRef__":true,"id":4015},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":4016},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4015":{"obj":{"__isSmartRef__":true,"id":3945},"name":"render"},"4016":{},"4017":{},"4018":{"varMapping":{"__isSmartRef__":true,"id":4019},"source":"function setDataAndRender(data) {\n\tthis.data = data;\t\n\tthis.render()\n}","funcProperties":{"__isSmartRef__":true,"id":4020},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4019":{"this":{"__isSmartRef__":true,"id":3945}},"4020":{},"4021":{"submorphs":[{"__isSmartRef__":true,"id":4022}],"scripts":[],"id":8048,"shape":{"__isSmartRef__":true,"id":4035},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4050},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4038},"lighterFill":{"__isSmartRef__":true,"id":4051},"label":{"__isSmartRef__":true,"id":4022},"attributeConnections":[{"__isSmartRef__":true,"id":4060}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":4061},"name":"Button","partsBinMetaInfo":{"__isSmartRef__":true,"id":4062},"owner":{"__isSmartRef__":true,"id":3899},"_Scale":1.0030030010000002,"layout":{"__isSmartRef__":true,"id":4063},"renderContextTable":{"__isSmartRef__":true,"id":4064},"__LivelyClassName__":"lively.morphic.Button"},"4022":{"submorphs":[],"scripts":[],"id":8049,"shape":{"__isSmartRef__":true,"id":4023},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"_OverflowMode":"visible","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4028},"textColor":{"__isSmartRef__":true,"id":4026},"owner":{"__isSmartRef__":true,"id":4021},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":4029}],"padding":{"__isSmartRef__":true,"id":4031},"_Padding":{"__isSmartRef__":true,"id":4032},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4033},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontFamily":"Arial","renderContextTable":{"__isSmartRef__":true,"id":4034},"__LivelyClassName__":"lively.morphic.Text"},"4023":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4024},"_Extent":{"__isSmartRef__":true,"id":4025},"_BorderColor":{"__isSmartRef__":true,"id":4026},"renderContextTable":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4024":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4025":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4026":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4027":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4028":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4029":{"style":{"__isSmartRef__":true,"id":4030},"morph":{"__isSmartRef__":true,"id":4022},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"rerender","__LivelyClassName__":"lively.morphic.TextChunk"},"4030":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4031":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"4032":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"4033":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4034":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"4035":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4036},"_Extent":{"__isSmartRef__":true,"id":4037},"_Fill":{"__isSmartRef__":true,"id":4038},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4048},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":4049},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4036":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4037":{"x":116,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4038":{"stops":[{"__isSmartRef__":true,"id":4039},{"__isSmartRef__":true,"id":4041},{"__isSmartRef__":true,"id":4043},{"__isSmartRef__":true,"id":4045}],"vector":{"__isSmartRef__":true,"id":4047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4039":{"offset":0,"color":{"__isSmartRef__":true,"id":4040}},"4040":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4041":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4042}},"4042":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4043":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4044}},"4044":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4045":{"offset":1,"color":{"__isSmartRef__":true,"id":4046}},"4046":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4047":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"4048":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4049":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4050":{"x":808.1371317100029,"y":678.2582567520003,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4051":{"stops":[{"__isSmartRef__":true,"id":4052},{"__isSmartRef__":true,"id":4054},{"__isSmartRef__":true,"id":4056},{"__isSmartRef__":true,"id":4058}],"vector":{"__isSmartRef__":true,"id":4047},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4052":{"offset":0,"color":{"__isSmartRef__":true,"id":4053}},"4053":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4054":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4055}},"4055":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4056":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4057}},"4057":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4058":{"offset":1,"color":{"__isSmartRef__":true,"id":4059}},"4059":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4060":{"sourceObj":{"__isSmartRef__":true,"id":4021},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3899},"targetMethodName":"updateVis","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4061":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"4062":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4063":{"resizeWidth":false,"resizeHeight":false,"moveVertical":true,"moveHorizontal":false},"4064":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"4065":{"submorphs":[],"scripts":[],"id":8050,"shape":{"__isSmartRef__":true,"id":4066},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4071},"_MaxTextWidth":52,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4069},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":4072},"textChunks":[{"__isSmartRef__":true,"id":4073}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[0,0],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":4075},"renderContextTable":{"__isSmartRef__":true,"id":4076},"owner":{"__isSmartRef__":true,"id":3899},"layout":{"__isSmartRef__":true,"id":4077},"__LivelyClassName__":"lively.morphic.Text"},"4066":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4067},"_Extent":{"__isSmartRef__":true,"id":4068},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4069},"renderContextTable":{"__isSmartRef__":true,"id":4070},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4067":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4068":{"x":52,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4069":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4070":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4071":{"x":20,"y":676,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4072":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4073":{"style":{"__isSmartRef__":true,"id":4074},"morph":{"__isSmartRef__":true,"id":4065},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"URL:","__LivelyClassName__":"lively.morphic.TextChunk"},"4074":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4075":{"x":52,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4076":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"4077":{"moveVertical":true},"4078":{"submorphs":[],"scripts":[],"id":8051,"shape":{"__isSmartRef__":true,"id":4079},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4084},"_MaxTextWidth":713,"_MaxTextHeight":24,"textColor":{"__isSmartRef__":true,"id":4082},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"urlText","partsBinMetaInfo":{"__isSmartRef__":true,"id":4085},"textChunks":[{"__isSmartRef__":true,"id":4086}],"charsReplaced":"demos","lastFindLoc":48,"priorSelectionRange":[0,0],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":4088},"renderContextTable":{"__isSmartRef__":true,"id":4089},"owner":{"__isSmartRef__":true,"id":3899},"layout":{"__isSmartRef__":true,"id":4090},"attributeConnections":[{"__isSmartRef__":true,"id":4091}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"isInputLine":true,"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","allowInput":true,"savedTextString":"http://www.lively-kernel.org/repository/webwerkstatt/jens/","__LivelyClassName__":"lively.morphic.Text"},"4079":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4080},"_Extent":{"__isSmartRef__":true,"id":4081},"_BorderWidth":1.4800000000000002,"_BorderColor":{"__isSmartRef__":true,"id":4082},"renderContextTable":{"__isSmartRef__":true,"id":4083},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4080":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4081":{"x":713,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4082":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4083":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4084":{"x":85,"y":680,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4085":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4086":{"style":{"__isSmartRef__":true,"id":4087},"morph":{"__isSmartRef__":true,"id":4078},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://www.lively-kernel.org/repository/webwerkstatt/jens/","__LivelyClassName__":"lively.morphic.TextChunk"},"4087":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4088":{"x":713,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4089":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"4090":{"moveVertical":true},"4091":{"sourceObj":{"__isSmartRef__":true,"id":4078},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3899},"targetMethodName":"updateVis","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4092":{"submorphs":[],"scripts":[],"id":8052,"shape":{"__isSmartRef__":true,"id":4093},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4098},"_MaxTextWidth":312.6185722369539,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4096},"showsHalos":false,"_FontSize":10,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":4099},"textChunks":[{"__isSmartRef__":true,"id":4100}],"charsReplaced":"TreeMap","lastFindLoc":-3,"priorSelectionRange":[51,7],"prevScroll":[0,0],"_Scale":0.9980029960049943,"priorExtent":{"__isSmartRef__":true,"id":4102},"renderContextTable":{"__isSmartRef__":true,"id":4103},"owner":{"__isSmartRef__":true,"id":3899},"__LivelyClassName__":"lively.morphic.Text"},"4093":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4094},"_Extent":{"__isSmartRef__":true,"id":4095},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4096},"renderContextTable":{"__isSmartRef__":true,"id":4097},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4094":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4095":{"x":312.6185722369539,"y":-62,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4096":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4097":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4098":{"x":911.6135802259682,"y":959.7558665111119,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4099":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4100":{"style":{"__isSmartRef__":true,"id":4101},"morph":{"__isSmartRef__":true,"id":4092},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"see http://vis.stanford.edu/protovis/ex/indent.html","__LivelyClassName__":"lively.morphic.TextChunk"},"4101":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4102":{"x":312.6185722369539,"y":-62,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4103":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML"},"4104":{"position":{"__isSmartRef__":true,"id":4105},"_Extent":{"__isSmartRef__":true,"id":4106},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4107},"_Fill":{"__isSmartRef__":true,"id":4108},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4109},"_BorderRadius":9.25,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4105":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4106":{"x":942,"y":718,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4107":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4108":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4109":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4110":{"x":107,"y":4475,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4111":{"partsSpaceName":"PartsBin/Visualization/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Serializes an object and shows a graph of how the objects in the serialization reference each other. Great for debugging serialization but also for chasing pointers.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4112":{"x":942,"y":718,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4113":{"adjustForNewBounds":true},"4114":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"4115":{"updateVis":{"__isSmartRef__":true,"id":4116}},"4116":{"varMapping":{"__isSmartRef__":true,"id":4117},"source":"function updateVis() {\n sortIntoTree = function(path, subtree) {\n if (path.length == 0) return;\n var name = path.shift();\n if (path.length == 0) {\n subtree[name] = 1;\n return\n } \n if (!subtree[name] || subtree[name] == 1) {\n subtree[name] = {}\n };\n return sortIntoTree(path, subtree[name])\n\n }\n buildTree = function(rootURL) {\n var tree = {}\n var webR = new WebResource(rootURL).getSubElements(10)\n var all = webR.subCollections.concat(webR.subDocuments);\n all.forEach(function(ea) {\n var path = ea.getURL().relativePathFrom(rootURL)\n .split(\"/\").select(function(ea){return ea}).collect(function(ea) {\n return ea.replace(/[^A-Za-z0-1]/g, \"_\")\n })\n sortIntoTree(path, tree)\n })\n alert(\"found \" + all.length + \" pages\")\n return tree\n }\n var data = buildTree(new URL(this.get('urlText').textString)) \n\n this.get('ProtoVisGraph').setDataAndRender(data)\n}","funcProperties":{"__isSmartRef__":true,"id":4118},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4117":{"this":{"__isSmartRef__":true,"id":3899}},"4118":{},"4119":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":4120},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":4125},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Rotation":0,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":4126},"__LivelyClassName__":"lively.morphic.HandMorph"},"4120":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4121},"_Extent":{"__isSmartRef__":true,"id":4122},"_Fill":{"__isSmartRef__":true,"id":4123},"renderContextTable":{"__isSmartRef__":true,"id":4124},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4121":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4122":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4123":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4124":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4125":{"x":1148,"y":5074,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4126":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"4127":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4128},"_Extent":{"__isSmartRef__":true,"id":4129},"_Fill":{"__isSmartRef__":true,"id":4130},"renderContextTable":{"__isSmartRef__":true,"id":4131},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4128":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4129":{"x":5000,"y":10000,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4130":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4131":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4132":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4133":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"4134":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"4135":{"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":4136},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4137},"__LivelyClassName__":"AttributeConnection"},"4136":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"4137":{"updater":{"__isSmartRef__":true,"id":4138}},"4138":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":4136},"source":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","funcProperties":{"__isSmartRef__":true,"id":4139},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4139":{},"4140":{"x":30000,"y":5000,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4141":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/draft/NewWorld/TreeMap.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"isSimplifiedRegistry":true}}]]>