","draggingEnabled":true,"_Scale":1,"attributeConnections":[{"__isSmartRef__":true,"id":4234}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"eventStartPos":null,"savedWorldAsURL":{"__isSmartRef__":true,"id":4235},"renderContextTable":{"__isSmartRef__":true,"id":4236},"__LivelyClassName__":"lively.morphic.World"},"1393":{"submorphs":[],"scripts":[],"id":257,"shape":{"__isSmartRef__":true,"id":1394},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1398},"_MaxTextWidth":202.48973819619198,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1399},"showsHalos":false,"_FontSize":25,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":1400},"_TextColor":{"__isSmartRef__":true,"id":1401},"owner":{"__isSmartRef__":true,"id":1392},"_Rotation":0,"textChunks":[{"__isSmartRef__":true,"id":1402}],"charsReplaced":"Use this page as a template for your own worlds","lastFindLoc":-47,"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":1404},"priorSelectionRange":[0,12],"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1405},"__LivelyClassName__":"lively.morphic.Text"},"1394":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1395},"_Extent":{"__isSmartRef__":true,"id":1396},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1397},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1395":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1396":{"x":202.48973819619198,"y":-65.1020523607616,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1397":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1398":{"x":9.72943880505045,"y":12.687814005827482,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1399":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1400":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1401":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1402":{"style":{"__isSmartRef__":true,"id":1403},"morph":{"__isSmartRef__":true,"id":1393},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1403":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1404":{"x":202.48973819619198,"y":-65.1020523607616,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1405":{"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"},"1406":{"submorphs":[],"scripts":[],"id":66,"shape":{"__isSmartRef__":true,"id":1407},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1412},"_MaxTextWidth":840.9066868037173,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1410},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":1413},"textChunks":[{"__isSmartRef__":true,"id":1414}],"charsReplaced":" ","lastFindLoc":167,"priorSelectionRange":[107,107],"prevScroll":[0,0],"_Scale":1,"owner":{"__isSmartRef__":true,"id":1392},"priorExtent":{"__isSmartRef__":true,"id":1416},"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":1417},"__LivelyClassName__":"lively.morphic.Text"},"1407":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1408},"_Extent":{"__isSmartRef__":true,"id":1409},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1410},"_BorderRadius":0,"_Fill":{"__isSmartRef__":true,"id":1411},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1408":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1409":{"x":840.9066868037173,"y":108,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1410":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1411":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1412":{"x":8.566601541489035,"y":68.968922715887,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1413":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1414":{"style":{"__isSmartRef__":true,"id":1415},"morph":{"__isSmartRef__":true,"id":1406},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1415":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1416":{"x":840.9066868037173,"y":108,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1417":{"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"},"1418":{"submorphs":[{"__isSmartRef__":true,"id":1419},{"__isSmartRef__":true,"id":2302},{"__isSmartRef__":true,"id":2418}],"scripts":[],"id":853,"shape":{"__isSmartRef__":true,"id":2449},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":2451},"_Position":{"__isSmartRef__":true,"id":2452},"priorExtent":{"__isSmartRef__":true,"id":2453},"targetMorph":{"__isSmartRef__":true,"id":1419},"titleBar":{"__isSmartRef__":true,"id":2302},"contentOffset":{"__isSmartRef__":true,"id":2454},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":2455},"showsHalos":false,"name":"ScriptEditor","partsBinMetaInfo":{"__isSmartRef__":true,"id":2456},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":1392},"__LivelyClassName__":"lively.morphic.Window"},"1419":{"submorphs":[{"__isSmartRef__":true,"id":1420}],"scripts":[],"id":854,"shape":{"__isSmartRef__":true,"id":2220},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2225},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":2226},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":1418},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1420},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":1428},"_Scale":1,"layout":{"__isSmartRef__":true,"id":2227},"priorExtent":{"__isSmartRef__":true,"id":2228},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2229},"__LivelyClassName__":"lively.morphic.Box"},"1420":{"submorphs":[],"scripts":[],"id":855,"shape":{"__isSmartRef__":true,"id":1421},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1426},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1419},"layout":{"__isSmartRef__":true,"id":1427},"doitContext":{"__isSmartRef__":true,"id":1428},"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":2207}],"priorSelectionRange":[358,358],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":2209},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":2210}],"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":2211},"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":2212},"__LivelyClassName__":"lively.morphic.Text"},"1421":{"position":{"__isSmartRef__":true,"id":1422},"_Extent":{"__isSmartRef__":true,"id":1423},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1424},"_Fill":{"__isSmartRef__":true,"id":1425},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1422":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1423":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1424":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1425":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1426":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1427":{"resizeWidth":true,"resizeHeight":true},"1428":{"submorphs":[{"__isSmartRef__":true,"id":1429}],"scripts":[],"id":835,"shape":{"__isSmartRef__":true,"id":1969},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1974},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1975},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":1976},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1429},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":1437},"_Scale":1,"layout":{"__isSmartRef__":true,"id":2132},"priorExtent":{"__isSmartRef__":true,"id":2133},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2134},"__LivelyClassName__":"lively.morphic.Box"},"1429":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":1430},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1435},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1428},"layout":{"__isSmartRef__":true,"id":1436},"doitContext":{"__isSmartRef__":true,"id":1437},"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":1956}],"priorSelectionRange":[0,0],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":1958},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1959}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1305566766180,"cachedTextString":"// ScriptEditor (this)\n\n","renderContextTable":{"__isSmartRef__":true,"id":1960},"textString":"// ScriptEditor (this)\n\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1961},"__LivelyClassName__":"lively.morphic.Text"},"1430":{"position":{"__isSmartRef__":true,"id":1431},"_Extent":{"__isSmartRef__":true,"id":1432},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1433},"_Fill":{"__isSmartRef__":true,"id":1434},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1431":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1432":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1433":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1434":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1435":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1436":{"resizeWidth":true,"resizeHeight":true},"1437":{"submorphs":[{"__isSmartRef__":true,"id":1438},{"__isSmartRef__":true,"id":1802},{"__isSmartRef__":true,"id":1917}],"scripts":[],"id":793,"shape":{"__isSmartRef__":true,"id":1948},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1950},"_Position":{"__isSmartRef__":true,"id":1951},"priorExtent":{"__isSmartRef__":true,"id":1952},"targetMorph":{"__isSmartRef__":true,"id":1438},"titleBar":{"__isSmartRef__":true,"id":1802},"contentOffset":{"__isSmartRef__":true,"id":1953},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1954},"showsHalos":false,"name":"ScriptEditor","partsBinMetaInfo":{"__isSmartRef__":true,"id":1955},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":null,"state":"shutdown","__LivelyClassName__":"lively.morphic.Window"},"1438":{"submorphs":[{"__isSmartRef__":true,"id":1439}],"scripts":[],"id":794,"shape":{"__isSmartRef__":true,"id":1720},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1725},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1726},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":1437},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1439},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":1447},"_Scale":1,"layout":{"__isSmartRef__":true,"id":1727},"priorExtent":{"__isSmartRef__":true,"id":1728},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1729},"__LivelyClassName__":"lively.morphic.Box"},"1439":{"submorphs":[],"scripts":[],"id":795,"shape":{"__isSmartRef__":true,"id":1440},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1445},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1438},"layout":{"__isSmartRef__":true,"id":1446},"doitContext":{"__isSmartRef__":true,"id":1447},"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":1707}],"priorSelectionRange":[0,0],"_ClipMode":"auto","prevScroll":[0,1154],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":1709},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1710}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1305566759927,"cachedTextString":"// ScriptEditor1 (this)\n\n","renderContextTable":{"__isSmartRef__":true,"id":1711},"textString":"// ScriptEditor1 (this)\n\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1712},"__LivelyClassName__":"lively.morphic.Text"},"1440":{"position":{"__isSmartRef__":true,"id":1441},"_Extent":{"__isSmartRef__":true,"id":1442},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1443},"_Fill":{"__isSmartRef__":true,"id":1444},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1441":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1442":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1443":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1444":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1445":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1446":{"resizeWidth":true,"resizeHeight":true},"1447":{"submorphs":[{"__isSmartRef__":true,"id":1448},{"__isSmartRef__":true,"id":1552},{"__isSmartRef__":true,"id":1668}],"scripts":[],"id":752,"shape":{"__isSmartRef__":true,"id":1699},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1701},"_Position":{"__isSmartRef__":true,"id":1702},"priorExtent":{"__isSmartRef__":true,"id":1703},"targetMorph":{"__isSmartRef__":true,"id":1448},"titleBar":{"__isSmartRef__":true,"id":1552},"contentOffset":{"__isSmartRef__":true,"id":1704},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1705},"showsHalos":false,"name":"ScriptEditor1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1706},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":null,"state":"shutdown","__LivelyClassName__":"lively.morphic.Window"},"1448":{"submorphs":[{"__isSmartRef__":true,"id":1449}],"scripts":[],"id":753,"shape":{"__isSmartRef__":true,"id":1470},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1475},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1476},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":1447},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":1449},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":997},"_Scale":1,"layout":{"__isSmartRef__":true,"id":1477},"priorExtent":{"__isSmartRef__":true,"id":1478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1479},"__LivelyClassName__":"lively.morphic.Box"},"1449":{"submorphs":[],"scripts":[],"id":754,"shape":{"__isSmartRef__":true,"id":1450},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1455},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1448},"layout":{"__isSmartRef__":true,"id":1456},"doitContext":{"__isSmartRef__":true,"id":997},"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":1457}],"priorSelectionRange":[0,0],"_ClipMode":"auto","prevScroll":[0,1154],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":1459},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1460}],"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":1461},"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":1462},"__LivelyClassName__":"lively.morphic.Text"},"1450":{"position":{"__isSmartRef__":true,"id":1451},"_Extent":{"__isSmartRef__":true,"id":1452},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1453},"_Fill":{"__isSmartRef__":true,"id":1454},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1451":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1452":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1453":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1454":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1455":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1456":{"resizeWidth":true,"resizeHeight":true},"1457":{"style":{"__isSmartRef__":true,"id":1458},"morph":{"__isSmartRef__":true,"id":1449},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1458":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1459":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1460":{"sourceObj":{"__isSmartRef__":true,"id":1449},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1449},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1461":{"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"},"1462":{"doSave":{"__isSmartRef__":true,"id":1463}},"1463":{"varMapping":{"__isSmartRef__":true,"id":1464},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":1469},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1464":{"this":{"__isSmartRef__":true,"id":1449},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1465}},"1465":{"$super":{"__isSmartRef__":true,"id":1466}},"1466":{"varMapping":{"__isSmartRef__":true,"id":1467},"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":1468},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1467":{"obj":{"__isSmartRef__":true,"id":1449},"name":"doSave"},"1468":{},"1469":{},"1470":{"position":{"__isSmartRef__":true,"id":1471},"_Extent":{"__isSmartRef__":true,"id":1472},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1473},"_Fill":{"__isSmartRef__":true,"id":1474},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1471":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1472":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1473":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1474":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1475":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1476":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1477":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1478":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1479":{"addTargetScript":{"__isSmartRef__":true,"id":1480},"addTestObject":{"__isSmartRef__":true,"id":1483},"allMorphNames":{"__isSmartRef__":true,"id":1486},"allScriptListItems":{"__isSmartRef__":true,"id":1489},"bindMorphNames":{"__isSmartRef__":true,"id":1492},"doSearch":{"__isSmartRef__":true,"id":1495},"findSubobjects":{"__isSmartRef__":true,"id":1498},"generateSourceForConnection":{"__isSmartRef__":true,"id":1501},"generateSourceForObject":{"__isSmartRef__":true,"id":1504},"generateSourceForProperty":{"__isSmartRef__":true,"id":1507},"generateSourceForScript":{"__isSmartRef__":true,"id":1510},"generateSourceForValue":{"__isSmartRef__":true,"id":1513},"generateTargetCode":{"__isSmartRef__":true,"id":1516},"highlightSelectedObject":{"__isSmartRef__":true,"id":1519},"listItemsForObj":{"__isSmartRef__":true,"id":1522},"removeTargetScript":{"__isSmartRef__":true,"id":1525},"reset":{"__isSmartRef__":true,"id":1528},"setSourceInPane":{"__isSmartRef__":true,"id":1531},"setTarget":{"__isSmartRef__":true,"id":1534},"setupConnections":{"__isSmartRef__":true,"id":1537},"showTopLevelItems":{"__isSmartRef__":true,"id":1540},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1543},"updateScriptList":{"__isSmartRef__":true,"id":1546},"updateSourcePane":{"__isSmartRef__":true,"id":1549}},"1480":{"varMapping":{"__isSmartRef__":true,"id":1481},"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":1482},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1481":{"this":{"__isSmartRef__":true,"id":1448}},"1482":{},"1483":{"varMapping":{"__isSmartRef__":true,"id":1484},"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":1485},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1484":{"this":{"__isSmartRef__":true,"id":1448}},"1485":{},"1486":{"varMapping":{"__isSmartRef__":true,"id":1487},"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":1488},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1487":{"this":{"__isSmartRef__":true,"id":1448}},"1488":{},"1489":{"varMapping":{"__isSmartRef__":true,"id":1490},"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":1491},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1490":{"this":{"__isSmartRef__":true,"id":1448}},"1491":{},"1492":{"varMapping":{"__isSmartRef__":true,"id":1493},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":1494},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1493":{"this":{"__isSmartRef__":true,"id":1448}},"1494":{},"1495":{"varMapping":{"__isSmartRef__":true,"id":1496},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":1497},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1496":{"this":{"__isSmartRef__":true,"id":1448}},"1497":{},"1498":{"varMapping":{"__isSmartRef__":true,"id":1499},"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":1500},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1499":{"this":{"__isSmartRef__":true,"id":1448}},"1500":{},"1501":{"varMapping":{"__isSmartRef__":true,"id":1502},"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":1503},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1502":{"this":{"__isSmartRef__":true,"id":1448}},"1503":{},"1504":{"varMapping":{"__isSmartRef__":true,"id":1505},"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":1506},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1505":{"this":{"__isSmartRef__":true,"id":1448}},"1506":{},"1507":{"varMapping":{"__isSmartRef__":true,"id":1508},"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":1509},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1508":{"this":{"__isSmartRef__":true,"id":1448}},"1509":{},"1510":{"varMapping":{"__isSmartRef__":true,"id":1511},"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":1512},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1511":{"this":{"__isSmartRef__":true,"id":1448}},"1512":{},"1513":{"varMapping":{"__isSmartRef__":true,"id":1514},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":1515},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1514":{"this":{"__isSmartRef__":true,"id":1448}},"1515":{},"1516":{"varMapping":{"__isSmartRef__":true,"id":1517},"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":1518},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1517":{"this":{"__isSmartRef__":true,"id":1448}},"1518":{},"1519":{"varMapping":{"__isSmartRef__":true,"id":1520},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":1521},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1520":{"this":{"__isSmartRef__":true,"id":1448}},"1521":{},"1522":{"varMapping":{"__isSmartRef__":true,"id":1523},"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":1524},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1523":{"this":{"__isSmartRef__":true,"id":1448}},"1524":{},"1525":{"varMapping":{"__isSmartRef__":true,"id":1526},"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":1527},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1526":{"this":{"__isSmartRef__":true,"id":1448}},"1527":{},"1528":{"varMapping":{"__isSmartRef__":true,"id":1529},"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":1530},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1529":{"this":{"__isSmartRef__":true,"id":1448}},"1530":{},"1531":{"varMapping":{"__isSmartRef__":true,"id":1532},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":1533},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1532":{"this":{"__isSmartRef__":true,"id":1448}},"1533":{},"1534":{"varMapping":{"__isSmartRef__":true,"id":1535},"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":1536},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1535":{"this":{"__isSmartRef__":true,"id":1448}},"1536":{},"1537":{"varMapping":{"__isSmartRef__":true,"id":1538},"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":1539},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1538":{"this":{"__isSmartRef__":true,"id":1448}},"1539":{},"1540":{"varMapping":{"__isSmartRef__":true,"id":1541},"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":1542},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1541":{"this":{"__isSmartRef__":true,"id":1448}},"1542":{},"1543":{"varMapping":{"__isSmartRef__":true,"id":1544},"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":1545},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1544":{"this":{"__isSmartRef__":true,"id":1448}},"1545":{},"1546":{"varMapping":{"__isSmartRef__":true,"id":1547},"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":1548},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1547":{"this":{"__isSmartRef__":true,"id":1448}},"1548":{},"1549":{"varMapping":{"__isSmartRef__":true,"id":1550},"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":1551},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1550":{"this":{"__isSmartRef__":true,"id":1448}},"1551":{},"1552":{"submorphs":[{"__isSmartRef__":true,"id":1553},{"__isSmartRef__":true,"id":1563},{"__isSmartRef__":true,"id":1601},{"__isSmartRef__":true,"id":1627}],"scripts":[],"id":755,"shape":{"__isSmartRef__":true,"id":1654},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1665},"_Position":{"__isSmartRef__":true,"id":1666},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1447},"label":{"__isSmartRef__":true,"id":1553},"closeButton":{"__isSmartRef__":true,"id":1563},"menuButton":{"__isSmartRef__":true,"id":1601},"collapseButton":{"__isSmartRef__":true,"id":1627},"priorExtent":{"__isSmartRef__":true,"id":1667},"owner":{"__isSmartRef__":true,"id":1447},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1553":{"submorphs":[],"scripts":[],"id":756,"shape":{"__isSmartRef__":true,"id":1554},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1557},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1558},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1559}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":1552},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1561},"renderContextTable":{"__isSmartRef__":true,"id":1562},"__LivelyClassName__":"lively.morphic.Text"},"1554":{"_Position":{"__isSmartRef__":true,"id":1555},"_Extent":{"__isSmartRef__":true,"id":1556},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1473},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1555":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1556":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1557":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1558":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1559":{"style":{"__isSmartRef__":true,"id":1560},"morph":{"__isSmartRef__":true,"id":1553},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1560":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1561":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1562":{"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"},"1563":{"submorphs":[{"__isSmartRef__":true,"id":1564}],"scripts":[],"id":757,"shape":{"__isSmartRef__":true,"id":1574},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1588},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1578},"lighterFill":{"__isSmartRef__":true,"id":1589},"label":{"__isSmartRef__":true,"id":1564},"owner":{"__isSmartRef__":true,"id":1552},"layout":{"__isSmartRef__":true,"id":1598},"attributeConnections":[{"__isSmartRef__":true,"id":1599},{"__isSmartRef__":true,"id":1600}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1564":{"submorphs":[],"scripts":[],"id":758,"shape":{"__isSmartRef__":true,"id":1565},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1568},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1569},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1570}],"owner":{"__isSmartRef__":true,"id":1563},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1572},"renderContextTable":{"__isSmartRef__":true,"id":1573},"__LivelyClassName__":"lively.morphic.Text"},"1565":{"_Position":{"__isSmartRef__":true,"id":1566},"_Extent":{"__isSmartRef__":true,"id":1567},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1473},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1566":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1567":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1568":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1569":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1570":{"style":{"__isSmartRef__":true,"id":1571},"morph":{"__isSmartRef__":true,"id":1564},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1571":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1572":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1573":{"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"},"1574":{"_Position":{"__isSmartRef__":true,"id":1575},"_Extent":{"__isSmartRef__":true,"id":1576},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1577},"_Fill":{"__isSmartRef__":true,"id":1578},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1575":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1576":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1577":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1578":{"stops":[{"__isSmartRef__":true,"id":1579},{"__isSmartRef__":true,"id":1581},{"__isSmartRef__":true,"id":1583},{"__isSmartRef__":true,"id":1585}],"vector":{"__isSmartRef__":true,"id":1587},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1579":{"offset":0,"color":{"__isSmartRef__":true,"id":1580}},"1580":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1581":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1582}},"1582":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1583":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1584}},"1584":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1585":{"offset":1,"color":{"__isSmartRef__":true,"id":1586}},"1586":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1587":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1588":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1589":{"stops":[{"__isSmartRef__":true,"id":1590},{"__isSmartRef__":true,"id":1592},{"__isSmartRef__":true,"id":1594},{"__isSmartRef__":true,"id":1596}],"vector":{"__isSmartRef__":true,"id":1587},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1590":{"offset":0,"color":{"__isSmartRef__":true,"id":1591}},"1591":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1592":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1593}},"1593":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1594":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1595}},"1595":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1596":{"offset":1,"color":{"__isSmartRef__":true,"id":1597}},"1597":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1598":{"moveHorizontal":true},"1599":{"sourceObj":{"__isSmartRef__":true,"id":1563},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1447},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1600":{"sourceObj":{"__isSmartRef__":true,"id":1563},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1447},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1601":{"submorphs":[{"__isSmartRef__":true,"id":1602}],"scripts":[],"id":759,"shape":{"__isSmartRef__":true,"id":1612},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1615},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1578},"lighterFill":{"__isSmartRef__":true,"id":1616},"label":{"__isSmartRef__":true,"id":1602},"owner":{"__isSmartRef__":true,"id":1552},"attributeConnections":[{"__isSmartRef__":true,"id":1625},{"__isSmartRef__":true,"id":1626}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1602":{"submorphs":[],"scripts":[],"id":760,"shape":{"__isSmartRef__":true,"id":1603},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1606},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1607},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1608}],"owner":{"__isSmartRef__":true,"id":1601},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1610},"renderContextTable":{"__isSmartRef__":true,"id":1611},"__LivelyClassName__":"lively.morphic.Text"},"1603":{"_Position":{"__isSmartRef__":true,"id":1604},"_Extent":{"__isSmartRef__":true,"id":1605},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1473},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1604":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1605":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1606":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1607":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1608":{"style":{"__isSmartRef__":true,"id":1609},"morph":{"__isSmartRef__":true,"id":1602},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1609":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1610":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1611":{"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"},"1612":{"_Position":{"__isSmartRef__":true,"id":1613},"_Extent":{"__isSmartRef__":true,"id":1614},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1577},"_Fill":{"__isSmartRef__":true,"id":1578},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1613":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1614":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1615":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1616":{"stops":[{"__isSmartRef__":true,"id":1617},{"__isSmartRef__":true,"id":1619},{"__isSmartRef__":true,"id":1621},{"__isSmartRef__":true,"id":1623}],"vector":{"__isSmartRef__":true,"id":1587},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1617":{"offset":0,"color":{"__isSmartRef__":true,"id":1618}},"1618":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1619":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1620}},"1620":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1621":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1622}},"1622":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1623":{"offset":1,"color":{"__isSmartRef__":true,"id":1624}},"1624":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1625":{"sourceObj":{"__isSmartRef__":true,"id":1601},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1447},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1626":{"sourceObj":{"__isSmartRef__":true,"id":1601},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1447},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1627":{"submorphs":[{"__isSmartRef__":true,"id":1628}],"scripts":[],"id":761,"shape":{"__isSmartRef__":true,"id":1638},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1641},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1578},"lighterFill":{"__isSmartRef__":true,"id":1642},"label":{"__isSmartRef__":true,"id":1628},"owner":{"__isSmartRef__":true,"id":1552},"layout":{"__isSmartRef__":true,"id":1651},"attributeConnections":[{"__isSmartRef__":true,"id":1652},{"__isSmartRef__":true,"id":1653}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1628":{"submorphs":[],"scripts":[],"id":762,"shape":{"__isSmartRef__":true,"id":1629},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1632},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1633},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1634}],"owner":{"__isSmartRef__":true,"id":1627},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1636},"renderContextTable":{"__isSmartRef__":true,"id":1637},"__LivelyClassName__":"lively.morphic.Text"},"1629":{"_Position":{"__isSmartRef__":true,"id":1630},"_Extent":{"__isSmartRef__":true,"id":1631},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1473},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1630":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1631":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1632":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1633":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1634":{"style":{"__isSmartRef__":true,"id":1635},"morph":{"__isSmartRef__":true,"id":1628},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1635":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1636":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1637":{"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"},"1638":{"_Position":{"__isSmartRef__":true,"id":1639},"_Extent":{"__isSmartRef__":true,"id":1640},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1577},"_Fill":{"__isSmartRef__":true,"id":1578},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1639":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1640":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1641":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1642":{"stops":[{"__isSmartRef__":true,"id":1643},{"__isSmartRef__":true,"id":1645},{"__isSmartRef__":true,"id":1647},{"__isSmartRef__":true,"id":1649}],"vector":{"__isSmartRef__":true,"id":1587},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1643":{"offset":0,"color":{"__isSmartRef__":true,"id":1644}},"1644":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1645":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1646}},"1646":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1647":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1648}},"1648":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1649":{"offset":1,"color":{"__isSmartRef__":true,"id":1650}},"1650":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1651":{"moveHorizontal":true},"1652":{"sourceObj":{"__isSmartRef__":true,"id":1627},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1447},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1653":{"sourceObj":{"__isSmartRef__":true,"id":1627},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1447},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1654":{"_Position":{"__isSmartRef__":true,"id":1655},"_Extent":{"__isSmartRef__":true,"id":1656},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1453},"_Fill":{"__isSmartRef__":true,"id":1657},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1655":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1656":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1657":{"stops":[{"__isSmartRef__":true,"id":1658},{"__isSmartRef__":true,"id":1660},{"__isSmartRef__":true,"id":1662}],"vector":{"__isSmartRef__":true,"id":1664},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1658":{"offset":0,"color":{"__isSmartRef__":true,"id":1659}},"1659":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1660":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1661}},"1661":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1662":{"offset":1,"color":{"__isSmartRef__":true,"id":1663}},"1663":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1664":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1665":{"resizeWidth":true,"adjustForNewBounds":true},"1666":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1667":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1668":{"submorphs":[],"scripts":[],"id":763,"shape":{"__isSmartRef__":true,"id":1669},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1674},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":1675},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1676},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1447},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1677},"__LivelyClassName__":"lively.morphic.Box"},"1669":{"position":{"__isSmartRef__":true,"id":1670},"_Extent":{"__isSmartRef__":true,"id":1671},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1672},"_Fill":{"__isSmartRef__":true,"id":1673},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1670":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1671":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1672":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1673":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1674":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1675":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1676":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1677":{"onDrag":{"__isSmartRef__":true,"id":1678},"onDragEnd":{"__isSmartRef__":true,"id":1685},"onDragStart":{"__isSmartRef__":true,"id":1692}},"1678":{"varMapping":{"__isSmartRef__":true,"id":1679},"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":1684},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1679":{"this":{"__isSmartRef__":true,"id":1668},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1680}},"1680":{"$super":{"__isSmartRef__":true,"id":1681}},"1681":{"varMapping":{"__isSmartRef__":true,"id":1682},"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":1683},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1682":{"obj":{"__isSmartRef__":true,"id":1668},"name":"onDrag"},"1683":{},"1684":{},"1685":{"varMapping":{"__isSmartRef__":true,"id":1686},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1691},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1686":{"this":{"__isSmartRef__":true,"id":1668},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1687}},"1687":{"$super":{"__isSmartRef__":true,"id":1688}},"1688":{"varMapping":{"__isSmartRef__":true,"id":1689},"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":1690},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1689":{"obj":{"__isSmartRef__":true,"id":1668},"name":"onDragEnd"},"1690":{},"1691":{},"1692":{"varMapping":{"__isSmartRef__":true,"id":1693},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":1698},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1693":{"this":{"__isSmartRef__":true,"id":1668},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1694}},"1694":{"$super":{"__isSmartRef__":true,"id":1695}},"1695":{"varMapping":{"__isSmartRef__":true,"id":1696},"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":1697},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1696":{"obj":{"__isSmartRef__":true,"id":1668},"name":"onDragStart"},"1697":{},"1698":{},"1699":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1700},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1700":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1701":{"adjustForNewBounds":true},"1702":{"x":1202.4189794738272,"y":199.10305717940957,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1703":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1704":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1705":{"x":821,"y":101,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1706":{"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"},"1707":{"style":{"__isSmartRef__":true,"id":1708},"morph":{"__isSmartRef__":true,"id":1439},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1708":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1709":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1710":{"sourceObj":{"__isSmartRef__":true,"id":1439},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1439},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1711":{"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"},"1712":{"doSave":{"__isSmartRef__":true,"id":1713}},"1713":{"varMapping":{"__isSmartRef__":true,"id":1714},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":1719},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1714":{"this":{"__isSmartRef__":true,"id":1439},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1715}},"1715":{"$super":{"__isSmartRef__":true,"id":1716}},"1716":{"varMapping":{"__isSmartRef__":true,"id":1717},"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":1718},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1717":{"obj":{"__isSmartRef__":true,"id":1439},"name":"doSave"},"1718":{},"1719":{},"1720":{"position":{"__isSmartRef__":true,"id":1721},"_Extent":{"__isSmartRef__":true,"id":1722},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1723},"_Fill":{"__isSmartRef__":true,"id":1724},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1721":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1722":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1723":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1724":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1725":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1726":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1727":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1728":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1729":{"addTargetScript":{"__isSmartRef__":true,"id":1730},"addTestObject":{"__isSmartRef__":true,"id":1733},"allMorphNames":{"__isSmartRef__":true,"id":1736},"allScriptListItems":{"__isSmartRef__":true,"id":1739},"bindMorphNames":{"__isSmartRef__":true,"id":1742},"doSearch":{"__isSmartRef__":true,"id":1745},"findSubobjects":{"__isSmartRef__":true,"id":1748},"generateSourceForConnection":{"__isSmartRef__":true,"id":1751},"generateSourceForObject":{"__isSmartRef__":true,"id":1754},"generateSourceForProperty":{"__isSmartRef__":true,"id":1757},"generateSourceForScript":{"__isSmartRef__":true,"id":1760},"generateSourceForValue":{"__isSmartRef__":true,"id":1763},"generateTargetCode":{"__isSmartRef__":true,"id":1766},"highlightSelectedObject":{"__isSmartRef__":true,"id":1769},"listItemsForObj":{"__isSmartRef__":true,"id":1772},"removeTargetScript":{"__isSmartRef__":true,"id":1775},"reset":{"__isSmartRef__":true,"id":1778},"setSourceInPane":{"__isSmartRef__":true,"id":1781},"setTarget":{"__isSmartRef__":true,"id":1784},"setupConnections":{"__isSmartRef__":true,"id":1787},"showTopLevelItems":{"__isSmartRef__":true,"id":1790},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1793},"updateScriptList":{"__isSmartRef__":true,"id":1796},"updateSourcePane":{"__isSmartRef__":true,"id":1799}},"1730":{"varMapping":{"__isSmartRef__":true,"id":1731},"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":1732},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1731":{"this":{"__isSmartRef__":true,"id":1438}},"1732":{},"1733":{"varMapping":{"__isSmartRef__":true,"id":1734},"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":1735},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1734":{"this":{"__isSmartRef__":true,"id":1438}},"1735":{},"1736":{"varMapping":{"__isSmartRef__":true,"id":1737},"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":1738},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1737":{"this":{"__isSmartRef__":true,"id":1438}},"1738":{},"1739":{"varMapping":{"__isSmartRef__":true,"id":1740},"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":1741},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1740":{"this":{"__isSmartRef__":true,"id":1438}},"1741":{},"1742":{"varMapping":{"__isSmartRef__":true,"id":1743},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":1744},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1743":{"this":{"__isSmartRef__":true,"id":1438}},"1744":{},"1745":{"varMapping":{"__isSmartRef__":true,"id":1746},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":1747},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1746":{"this":{"__isSmartRef__":true,"id":1438}},"1747":{},"1748":{"varMapping":{"__isSmartRef__":true,"id":1749},"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":1750},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1749":{"this":{"__isSmartRef__":true,"id":1438}},"1750":{},"1751":{"varMapping":{"__isSmartRef__":true,"id":1752},"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":1753},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1752":{"this":{"__isSmartRef__":true,"id":1438}},"1753":{},"1754":{"varMapping":{"__isSmartRef__":true,"id":1755},"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":1756},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1755":{"this":{"__isSmartRef__":true,"id":1438}},"1756":{},"1757":{"varMapping":{"__isSmartRef__":true,"id":1758},"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":1759},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1758":{"this":{"__isSmartRef__":true,"id":1438}},"1759":{},"1760":{"varMapping":{"__isSmartRef__":true,"id":1761},"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":1762},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1761":{"this":{"__isSmartRef__":true,"id":1438}},"1762":{},"1763":{"varMapping":{"__isSmartRef__":true,"id":1764},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":1765},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1764":{"this":{"__isSmartRef__":true,"id":1438}},"1765":{},"1766":{"varMapping":{"__isSmartRef__":true,"id":1767},"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":1768},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1767":{"this":{"__isSmartRef__":true,"id":1438}},"1768":{},"1769":{"varMapping":{"__isSmartRef__":true,"id":1770},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":1771},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1770":{"this":{"__isSmartRef__":true,"id":1438}},"1771":{},"1772":{"varMapping":{"__isSmartRef__":true,"id":1773},"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":1774},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1773":{"this":{"__isSmartRef__":true,"id":1438}},"1774":{},"1775":{"varMapping":{"__isSmartRef__":true,"id":1776},"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":1777},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1776":{"this":{"__isSmartRef__":true,"id":1438}},"1777":{},"1778":{"varMapping":{"__isSmartRef__":true,"id":1779},"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":1780},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1779":{"this":{"__isSmartRef__":true,"id":1438}},"1780":{},"1781":{"varMapping":{"__isSmartRef__":true,"id":1782},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":1783},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1782":{"this":{"__isSmartRef__":true,"id":1438}},"1783":{},"1784":{"varMapping":{"__isSmartRef__":true,"id":1785},"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":1786},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1785":{"this":{"__isSmartRef__":true,"id":1438}},"1786":{},"1787":{"varMapping":{"__isSmartRef__":true,"id":1788},"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":1789},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1788":{"this":{"__isSmartRef__":true,"id":1438}},"1789":{},"1790":{"varMapping":{"__isSmartRef__":true,"id":1791},"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":1792},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1791":{"this":{"__isSmartRef__":true,"id":1438}},"1792":{},"1793":{"varMapping":{"__isSmartRef__":true,"id":1794},"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":1795},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1794":{"this":{"__isSmartRef__":true,"id":1438}},"1795":{},"1796":{"varMapping":{"__isSmartRef__":true,"id":1797},"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":1798},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1797":{"this":{"__isSmartRef__":true,"id":1438}},"1798":{},"1799":{"varMapping":{"__isSmartRef__":true,"id":1800},"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":1801},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1800":{"this":{"__isSmartRef__":true,"id":1438}},"1801":{},"1802":{"submorphs":[{"__isSmartRef__":true,"id":1803},{"__isSmartRef__":true,"id":1813},{"__isSmartRef__":true,"id":1851},{"__isSmartRef__":true,"id":1877}],"scripts":[],"id":796,"shape":{"__isSmartRef__":true,"id":1904},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1914},"_Position":{"__isSmartRef__":true,"id":1915},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1437},"label":{"__isSmartRef__":true,"id":1803},"closeButton":{"__isSmartRef__":true,"id":1813},"menuButton":{"__isSmartRef__":true,"id":1851},"collapseButton":{"__isSmartRef__":true,"id":1877},"priorExtent":{"__isSmartRef__":true,"id":1916},"owner":{"__isSmartRef__":true,"id":1437},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1803":{"submorphs":[],"scripts":[],"id":797,"shape":{"__isSmartRef__":true,"id":1804},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1807},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1808},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1809}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":1802},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1811},"renderContextTable":{"__isSmartRef__":true,"id":1812},"__LivelyClassName__":"lively.morphic.Text"},"1804":{"_Position":{"__isSmartRef__":true,"id":1805},"_Extent":{"__isSmartRef__":true,"id":1806},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1723},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1805":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1806":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1807":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1808":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1809":{"style":{"__isSmartRef__":true,"id":1810},"morph":{"__isSmartRef__":true,"id":1803},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1810":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1811":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1812":{"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"},"1813":{"submorphs":[{"__isSmartRef__":true,"id":1814}],"scripts":[],"id":798,"shape":{"__isSmartRef__":true,"id":1824},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1838},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1828},"lighterFill":{"__isSmartRef__":true,"id":1839},"label":{"__isSmartRef__":true,"id":1814},"owner":{"__isSmartRef__":true,"id":1802},"layout":{"__isSmartRef__":true,"id":1848},"attributeConnections":[{"__isSmartRef__":true,"id":1849},{"__isSmartRef__":true,"id":1850}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1814":{"submorphs":[],"scripts":[],"id":799,"shape":{"__isSmartRef__":true,"id":1815},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1818},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1819},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1820}],"owner":{"__isSmartRef__":true,"id":1813},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1822},"renderContextTable":{"__isSmartRef__":true,"id":1823},"__LivelyClassName__":"lively.morphic.Text"},"1815":{"_Position":{"__isSmartRef__":true,"id":1816},"_Extent":{"__isSmartRef__":true,"id":1817},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1723},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1816":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1817":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1818":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1819":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1820":{"style":{"__isSmartRef__":true,"id":1821},"morph":{"__isSmartRef__":true,"id":1814},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1821":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1822":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1823":{"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"},"1824":{"_Position":{"__isSmartRef__":true,"id":1825},"_Extent":{"__isSmartRef__":true,"id":1826},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1827},"_Fill":{"__isSmartRef__":true,"id":1828},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1825":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1826":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1827":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1828":{"stops":[{"__isSmartRef__":true,"id":1829},{"__isSmartRef__":true,"id":1831},{"__isSmartRef__":true,"id":1833},{"__isSmartRef__":true,"id":1835}],"vector":{"__isSmartRef__":true,"id":1837},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1829":{"offset":0,"color":{"__isSmartRef__":true,"id":1830}},"1830":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1831":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1832}},"1832":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1833":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1834}},"1834":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1835":{"offset":1,"color":{"__isSmartRef__":true,"id":1836}},"1836":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1837":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1838":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1839":{"stops":[{"__isSmartRef__":true,"id":1840},{"__isSmartRef__":true,"id":1842},{"__isSmartRef__":true,"id":1844},{"__isSmartRef__":true,"id":1846}],"vector":{"__isSmartRef__":true,"id":1837},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1840":{"offset":0,"color":{"__isSmartRef__":true,"id":1841}},"1841":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1842":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1843}},"1843":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1844":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1845}},"1845":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1846":{"offset":1,"color":{"__isSmartRef__":true,"id":1847}},"1847":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1848":{"moveHorizontal":true},"1849":{"sourceObj":{"__isSmartRef__":true,"id":1813},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1437},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1850":{"sourceObj":{"__isSmartRef__":true,"id":1813},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1437},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1851":{"submorphs":[{"__isSmartRef__":true,"id":1852}],"scripts":[],"id":800,"shape":{"__isSmartRef__":true,"id":1862},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1865},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1828},"lighterFill":{"__isSmartRef__":true,"id":1866},"label":{"__isSmartRef__":true,"id":1852},"owner":{"__isSmartRef__":true,"id":1802},"attributeConnections":[{"__isSmartRef__":true,"id":1875},{"__isSmartRef__":true,"id":1876}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1852":{"submorphs":[],"scripts":[],"id":801,"shape":{"__isSmartRef__":true,"id":1853},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1856},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1857},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1858}],"owner":{"__isSmartRef__":true,"id":1851},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1860},"renderContextTable":{"__isSmartRef__":true,"id":1861},"__LivelyClassName__":"lively.morphic.Text"},"1853":{"_Position":{"__isSmartRef__":true,"id":1854},"_Extent":{"__isSmartRef__":true,"id":1855},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1723},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1854":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1855":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1856":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1857":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1858":{"style":{"__isSmartRef__":true,"id":1859},"morph":{"__isSmartRef__":true,"id":1852},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1859":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1860":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1861":{"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"},"1862":{"_Position":{"__isSmartRef__":true,"id":1863},"_Extent":{"__isSmartRef__":true,"id":1864},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1827},"_Fill":{"__isSmartRef__":true,"id":1828},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1863":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1864":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1865":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1866":{"stops":[{"__isSmartRef__":true,"id":1867},{"__isSmartRef__":true,"id":1869},{"__isSmartRef__":true,"id":1871},{"__isSmartRef__":true,"id":1873}],"vector":{"__isSmartRef__":true,"id":1837},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1867":{"offset":0,"color":{"__isSmartRef__":true,"id":1868}},"1868":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1869":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1870}},"1870":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1871":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1872}},"1872":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1873":{"offset":1,"color":{"__isSmartRef__":true,"id":1874}},"1874":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1875":{"sourceObj":{"__isSmartRef__":true,"id":1851},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1437},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1876":{"sourceObj":{"__isSmartRef__":true,"id":1851},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1437},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1877":{"submorphs":[{"__isSmartRef__":true,"id":1878}],"scripts":[],"id":802,"shape":{"__isSmartRef__":true,"id":1888},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1891},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1828},"lighterFill":{"__isSmartRef__":true,"id":1892},"label":{"__isSmartRef__":true,"id":1878},"owner":{"__isSmartRef__":true,"id":1802},"layout":{"__isSmartRef__":true,"id":1901},"attributeConnections":[{"__isSmartRef__":true,"id":1902},{"__isSmartRef__":true,"id":1903}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1878":{"submorphs":[],"scripts":[],"id":803,"shape":{"__isSmartRef__":true,"id":1879},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1882},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1883},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1884}],"owner":{"__isSmartRef__":true,"id":1877},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1886},"renderContextTable":{"__isSmartRef__":true,"id":1887},"__LivelyClassName__":"lively.morphic.Text"},"1879":{"_Position":{"__isSmartRef__":true,"id":1880},"_Extent":{"__isSmartRef__":true,"id":1881},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1723},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1880":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1881":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1882":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1883":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1884":{"style":{"__isSmartRef__":true,"id":1885},"morph":{"__isSmartRef__":true,"id":1878},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1885":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1886":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1887":{"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"},"1888":{"_Position":{"__isSmartRef__":true,"id":1889},"_Extent":{"__isSmartRef__":true,"id":1890},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1827},"_Fill":{"__isSmartRef__":true,"id":1828},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1889":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1890":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1891":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1892":{"stops":[{"__isSmartRef__":true,"id":1893},{"__isSmartRef__":true,"id":1895},{"__isSmartRef__":true,"id":1897},{"__isSmartRef__":true,"id":1899}],"vector":{"__isSmartRef__":true,"id":1837},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1893":{"offset":0,"color":{"__isSmartRef__":true,"id":1894}},"1894":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1895":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1896}},"1896":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1897":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1898}},"1898":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1899":{"offset":1,"color":{"__isSmartRef__":true,"id":1900}},"1900":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1901":{"moveHorizontal":true},"1902":{"sourceObj":{"__isSmartRef__":true,"id":1877},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1437},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1903":{"sourceObj":{"__isSmartRef__":true,"id":1877},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1437},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1904":{"_Position":{"__isSmartRef__":true,"id":1905},"_Extent":{"__isSmartRef__":true,"id":1906},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1443},"_Fill":{"__isSmartRef__":true,"id":1907},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1905":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1906":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1907":{"stops":[{"__isSmartRef__":true,"id":1908},{"__isSmartRef__":true,"id":1910},{"__isSmartRef__":true,"id":1912}],"vector":{"__isSmartRef__":true,"id":1664},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1908":{"offset":0,"color":{"__isSmartRef__":true,"id":1909}},"1909":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1910":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1911}},"1911":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1912":{"offset":1,"color":{"__isSmartRef__":true,"id":1913}},"1913":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1914":{"resizeWidth":true,"adjustForNewBounds":true},"1915":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1916":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1917":{"submorphs":[],"scripts":[],"id":804,"shape":{"__isSmartRef__":true,"id":1918},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1923},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":1924},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1925},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1437},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1926},"__LivelyClassName__":"lively.morphic.Box"},"1918":{"position":{"__isSmartRef__":true,"id":1919},"_Extent":{"__isSmartRef__":true,"id":1920},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1921},"_Fill":{"__isSmartRef__":true,"id":1922},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1919":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1920":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1921":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1922":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1923":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1924":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1925":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1926":{"onDrag":{"__isSmartRef__":true,"id":1927},"onDragEnd":{"__isSmartRef__":true,"id":1934},"onDragStart":{"__isSmartRef__":true,"id":1941}},"1927":{"varMapping":{"__isSmartRef__":true,"id":1928},"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":1933},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1928":{"this":{"__isSmartRef__":true,"id":1917},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1929}},"1929":{"$super":{"__isSmartRef__":true,"id":1930}},"1930":{"varMapping":{"__isSmartRef__":true,"id":1931},"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":1932},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1931":{"obj":{"__isSmartRef__":true,"id":1917},"name":"onDrag"},"1932":{},"1933":{},"1934":{"varMapping":{"__isSmartRef__":true,"id":1935},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1940},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1935":{"this":{"__isSmartRef__":true,"id":1917},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1936}},"1936":{"$super":{"__isSmartRef__":true,"id":1937}},"1937":{"varMapping":{"__isSmartRef__":true,"id":1938},"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":1939},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1938":{"obj":{"__isSmartRef__":true,"id":1917},"name":"onDragEnd"},"1939":{},"1940":{},"1941":{"varMapping":{"__isSmartRef__":true,"id":1942},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":1947},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1942":{"this":{"__isSmartRef__":true,"id":1917},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1943}},"1943":{"$super":{"__isSmartRef__":true,"id":1944}},"1944":{"varMapping":{"__isSmartRef__":true,"id":1945},"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":1946},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1945":{"obj":{"__isSmartRef__":true,"id":1917},"name":"onDragStart"},"1946":{},"1947":{},"1948":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1949},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1949":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1950":{"adjustForNewBounds":true},"1951":{"x":2243.4988995537474,"y":199.10305717940957,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1952":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1953":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1954":{"x":821,"y":101,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1955":{"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"},"1956":{"style":{"__isSmartRef__":true,"id":1957},"morph":{"__isSmartRef__":true,"id":1429},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1957":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1958":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1959":{"sourceObj":{"__isSmartRef__":true,"id":1429},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1429},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1960":{"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"},"1961":{"doSave":{"__isSmartRef__":true,"id":1962}},"1962":{"varMapping":{"__isSmartRef__":true,"id":1963},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":1968},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1963":{"this":{"__isSmartRef__":true,"id":1429},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1964}},"1964":{"$super":{"__isSmartRef__":true,"id":1965}},"1965":{"varMapping":{"__isSmartRef__":true,"id":1966},"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":1967},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1966":{"obj":{"__isSmartRef__":true,"id":1429},"name":"doSave"},"1967":{},"1968":{},"1969":{"position":{"__isSmartRef__":true,"id":1970},"_Extent":{"__isSmartRef__":true,"id":1971},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1972},"_Fill":{"__isSmartRef__":true,"id":1973},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1970":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1971":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1972":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1973":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"1974":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1975":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1976":{"submorphs":[{"__isSmartRef__":true,"id":1428},{"__isSmartRef__":true,"id":1977},{"__isSmartRef__":true,"id":2093}],"scripts":[],"id":834,"shape":{"__isSmartRef__":true,"id":2124},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":2126},"_Position":{"__isSmartRef__":true,"id":2127},"priorExtent":{"__isSmartRef__":true,"id":2128},"targetMorph":{"__isSmartRef__":true,"id":1428},"titleBar":{"__isSmartRef__":true,"id":1977},"contentOffset":{"__isSmartRef__":true,"id":2129},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":2130},"showsHalos":false,"name":"ScriptEditor2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2131},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":null,"state":"shutdown","__LivelyClassName__":"lively.morphic.Window"},"1977":{"submorphs":[{"__isSmartRef__":true,"id":1978},{"__isSmartRef__":true,"id":1988},{"__isSmartRef__":true,"id":2026},{"__isSmartRef__":true,"id":2052}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":2079},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2090},"_Position":{"__isSmartRef__":true,"id":2091},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1976},"label":{"__isSmartRef__":true,"id":1978},"closeButton":{"__isSmartRef__":true,"id":1988},"menuButton":{"__isSmartRef__":true,"id":2026},"collapseButton":{"__isSmartRef__":true,"id":2052},"priorExtent":{"__isSmartRef__":true,"id":2092},"owner":{"__isSmartRef__":true,"id":1976},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1978":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":1979},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1982},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1983},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1984}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":1977},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1986},"renderContextTable":{"__isSmartRef__":true,"id":1987},"__LivelyClassName__":"lively.morphic.Text"},"1979":{"_Position":{"__isSmartRef__":true,"id":1980},"_Extent":{"__isSmartRef__":true,"id":1981},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1972},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1980":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1981":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1982":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1983":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1984":{"style":{"__isSmartRef__":true,"id":1985},"morph":{"__isSmartRef__":true,"id":1978},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1985":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1986":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1987":{"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"},"1988":{"submorphs":[{"__isSmartRef__":true,"id":1989}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":1999},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2013},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2003},"lighterFill":{"__isSmartRef__":true,"id":2014},"label":{"__isSmartRef__":true,"id":1989},"owner":{"__isSmartRef__":true,"id":1977},"layout":{"__isSmartRef__":true,"id":2023},"attributeConnections":[{"__isSmartRef__":true,"id":2024},{"__isSmartRef__":true,"id":2025}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1989":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":1990},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1993},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1994},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1995}],"owner":{"__isSmartRef__":true,"id":1988},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1997},"renderContextTable":{"__isSmartRef__":true,"id":1998},"__LivelyClassName__":"lively.morphic.Text"},"1990":{"_Position":{"__isSmartRef__":true,"id":1991},"_Extent":{"__isSmartRef__":true,"id":1992},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1972},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1991":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1992":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1993":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1994":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1995":{"style":{"__isSmartRef__":true,"id":1996},"morph":{"__isSmartRef__":true,"id":1989},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1996":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1997":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1998":{"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"},"1999":{"_Position":{"__isSmartRef__":true,"id":2000},"_Extent":{"__isSmartRef__":true,"id":2001},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2002},"_Fill":{"__isSmartRef__":true,"id":2003},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2000":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2001":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2002":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2003":{"stops":[{"__isSmartRef__":true,"id":2004},{"__isSmartRef__":true,"id":2006},{"__isSmartRef__":true,"id":2008},{"__isSmartRef__":true,"id":2010}],"vector":{"__isSmartRef__":true,"id":2012},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2004":{"offset":0,"color":{"__isSmartRef__":true,"id":2005}},"2005":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2006":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2007}},"2007":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2008":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2009}},"2009":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2010":{"offset":1,"color":{"__isSmartRef__":true,"id":2011}},"2011":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2012":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2013":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2014":{"stops":[{"__isSmartRef__":true,"id":2015},{"__isSmartRef__":true,"id":2017},{"__isSmartRef__":true,"id":2019},{"__isSmartRef__":true,"id":2021}],"vector":{"__isSmartRef__":true,"id":2012},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2015":{"offset":0,"color":{"__isSmartRef__":true,"id":2016}},"2016":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2017":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2018}},"2018":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2019":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2020}},"2020":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2021":{"offset":1,"color":{"__isSmartRef__":true,"id":2022}},"2022":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2023":{"moveHorizontal":true},"2024":{"sourceObj":{"__isSmartRef__":true,"id":1988},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1976},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2025":{"sourceObj":{"__isSmartRef__":true,"id":1988},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1976},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2026":{"submorphs":[{"__isSmartRef__":true,"id":2027}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":2037},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2040},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2003},"lighterFill":{"__isSmartRef__":true,"id":2041},"label":{"__isSmartRef__":true,"id":2027},"owner":{"__isSmartRef__":true,"id":1977},"attributeConnections":[{"__isSmartRef__":true,"id":2050},{"__isSmartRef__":true,"id":2051}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2027":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":2028},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2031},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2032},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2033}],"owner":{"__isSmartRef__":true,"id":2026},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2035},"renderContextTable":{"__isSmartRef__":true,"id":2036},"__LivelyClassName__":"lively.morphic.Text"},"2028":{"_Position":{"__isSmartRef__":true,"id":2029},"_Extent":{"__isSmartRef__":true,"id":2030},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1972},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2029":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2030":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2031":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2032":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2033":{"style":{"__isSmartRef__":true,"id":2034},"morph":{"__isSmartRef__":true,"id":2027},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2034":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2035":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2036":{"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"},"2037":{"_Position":{"__isSmartRef__":true,"id":2038},"_Extent":{"__isSmartRef__":true,"id":2039},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2002},"_Fill":{"__isSmartRef__":true,"id":2003},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2038":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2039":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2040":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2041":{"stops":[{"__isSmartRef__":true,"id":2042},{"__isSmartRef__":true,"id":2044},{"__isSmartRef__":true,"id":2046},{"__isSmartRef__":true,"id":2048}],"vector":{"__isSmartRef__":true,"id":2012},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2042":{"offset":0,"color":{"__isSmartRef__":true,"id":2043}},"2043":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2044":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2045}},"2045":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2046":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2047}},"2047":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2048":{"offset":1,"color":{"__isSmartRef__":true,"id":2049}},"2049":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2050":{"sourceObj":{"__isSmartRef__":true,"id":2026},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1976},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2051":{"sourceObj":{"__isSmartRef__":true,"id":2026},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1976},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2052":{"submorphs":[{"__isSmartRef__":true,"id":2053}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":2063},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2066},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2003},"lighterFill":{"__isSmartRef__":true,"id":2067},"label":{"__isSmartRef__":true,"id":2053},"owner":{"__isSmartRef__":true,"id":1977},"layout":{"__isSmartRef__":true,"id":2076},"attributeConnections":[{"__isSmartRef__":true,"id":2077},{"__isSmartRef__":true,"id":2078}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2053":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":2054},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2057},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2058},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2059}],"owner":{"__isSmartRef__":true,"id":2052},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2061},"renderContextTable":{"__isSmartRef__":true,"id":2062},"__LivelyClassName__":"lively.morphic.Text"},"2054":{"_Position":{"__isSmartRef__":true,"id":2055},"_Extent":{"__isSmartRef__":true,"id":2056},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1972},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2055":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2056":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2057":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2058":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2059":{"style":{"__isSmartRef__":true,"id":2060},"morph":{"__isSmartRef__":true,"id":2053},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2060":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2061":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2062":{"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"},"2063":{"_Position":{"__isSmartRef__":true,"id":2064},"_Extent":{"__isSmartRef__":true,"id":2065},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2002},"_Fill":{"__isSmartRef__":true,"id":2003},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2064":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2065":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2066":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2067":{"stops":[{"__isSmartRef__":true,"id":2068},{"__isSmartRef__":true,"id":2070},{"__isSmartRef__":true,"id":2072},{"__isSmartRef__":true,"id":2074}],"vector":{"__isSmartRef__":true,"id":2012},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2068":{"offset":0,"color":{"__isSmartRef__":true,"id":2069}},"2069":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2070":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2071}},"2071":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2072":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2073}},"2073":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2074":{"offset":1,"color":{"__isSmartRef__":true,"id":2075}},"2075":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2076":{"moveHorizontal":true},"2077":{"sourceObj":{"__isSmartRef__":true,"id":2052},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1976},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2078":{"sourceObj":{"__isSmartRef__":true,"id":2052},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1976},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2079":{"_Position":{"__isSmartRef__":true,"id":2080},"_Extent":{"__isSmartRef__":true,"id":2081},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1433},"_Fill":{"__isSmartRef__":true,"id":2082},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2080":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2081":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2082":{"stops":[{"__isSmartRef__":true,"id":2083},{"__isSmartRef__":true,"id":2085},{"__isSmartRef__":true,"id":2087}],"vector":{"__isSmartRef__":true,"id":2089},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2083":{"offset":0,"color":{"__isSmartRef__":true,"id":2084}},"2084":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2085":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2086}},"2086":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2087":{"offset":1,"color":{"__isSmartRef__":true,"id":2088}},"2088":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2089":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2090":{"resizeWidth":true,"adjustForNewBounds":true},"2091":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2092":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2093":{"submorphs":[],"scripts":[],"id":845,"shape":{"__isSmartRef__":true,"id":2094},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2099},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":2100},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":2101},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1976},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2102},"__LivelyClassName__":"lively.morphic.Box"},"2094":{"position":{"__isSmartRef__":true,"id":2095},"_Extent":{"__isSmartRef__":true,"id":2096},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2097},"_Fill":{"__isSmartRef__":true,"id":2098},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2095":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2096":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2097":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2098":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2099":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2100":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2101":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2102":{"onDrag":{"__isSmartRef__":true,"id":2103},"onDragEnd":{"__isSmartRef__":true,"id":2110},"onDragStart":{"__isSmartRef__":true,"id":2117}},"2103":{"varMapping":{"__isSmartRef__":true,"id":2104},"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":2109},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2104":{"this":{"__isSmartRef__":true,"id":2093},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2105}},"2105":{"$super":{"__isSmartRef__":true,"id":2106}},"2106":{"varMapping":{"__isSmartRef__":true,"id":2107},"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":2108},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2107":{"obj":{"__isSmartRef__":true,"id":2093},"name":"onDrag"},"2108":{},"2109":{},"2110":{"varMapping":{"__isSmartRef__":true,"id":2111},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2116},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2111":{"this":{"__isSmartRef__":true,"id":2093},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2112}},"2112":{"$super":{"__isSmartRef__":true,"id":2113}},"2113":{"varMapping":{"__isSmartRef__":true,"id":2114},"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":2115},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2114":{"obj":{"__isSmartRef__":true,"id":2093},"name":"onDragEnd"},"2115":{},"2116":{},"2117":{"varMapping":{"__isSmartRef__":true,"id":2118},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":2123},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2118":{"this":{"__isSmartRef__":true,"id":2093},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2119}},"2119":{"$super":{"__isSmartRef__":true,"id":2120}},"2120":{"varMapping":{"__isSmartRef__":true,"id":2121},"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":2122},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2121":{"obj":{"__isSmartRef__":true,"id":2093},"name":"onDragStart"},"2122":{},"2123":{},"2124":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2125},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2125":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2126":{"adjustForNewBounds":true},"2127":{"x":1595.5788196336675,"y":111.10305717940957,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2128":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2129":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2130":{"x":2486,"y":122,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2131":{"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"},"2132":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2133":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2134":{"addTargetScript":{"__isSmartRef__":true,"id":2135},"addTestObject":{"__isSmartRef__":true,"id":2138},"allMorphNames":{"__isSmartRef__":true,"id":2141},"allScriptListItems":{"__isSmartRef__":true,"id":2144},"bindMorphNames":{"__isSmartRef__":true,"id":2147},"doSearch":{"__isSmartRef__":true,"id":2150},"findSubobjects":{"__isSmartRef__":true,"id":2153},"generateSourceForConnection":{"__isSmartRef__":true,"id":2156},"generateSourceForObject":{"__isSmartRef__":true,"id":2159},"generateSourceForProperty":{"__isSmartRef__":true,"id":2162},"generateSourceForScript":{"__isSmartRef__":true,"id":2165},"generateSourceForValue":{"__isSmartRef__":true,"id":2168},"generateTargetCode":{"__isSmartRef__":true,"id":2171},"highlightSelectedObject":{"__isSmartRef__":true,"id":2174},"listItemsForObj":{"__isSmartRef__":true,"id":2177},"removeTargetScript":{"__isSmartRef__":true,"id":2180},"reset":{"__isSmartRef__":true,"id":2183},"setSourceInPane":{"__isSmartRef__":true,"id":2186},"setTarget":{"__isSmartRef__":true,"id":2189},"setupConnections":{"__isSmartRef__":true,"id":2192},"showTopLevelItems":{"__isSmartRef__":true,"id":2195},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2198},"updateScriptList":{"__isSmartRef__":true,"id":2201},"updateSourcePane":{"__isSmartRef__":true,"id":2204}},"2135":{"varMapping":{"__isSmartRef__":true,"id":2136},"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":2137},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2136":{"this":{"__isSmartRef__":true,"id":1428}},"2137":{},"2138":{"varMapping":{"__isSmartRef__":true,"id":2139},"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":2140},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2139":{"this":{"__isSmartRef__":true,"id":1428}},"2140":{},"2141":{"varMapping":{"__isSmartRef__":true,"id":2142},"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":2143},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2142":{"this":{"__isSmartRef__":true,"id":1428}},"2143":{},"2144":{"varMapping":{"__isSmartRef__":true,"id":2145},"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":2146},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2145":{"this":{"__isSmartRef__":true,"id":1428}},"2146":{},"2147":{"varMapping":{"__isSmartRef__":true,"id":2148},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":2149},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2148":{"this":{"__isSmartRef__":true,"id":1428}},"2149":{},"2150":{"varMapping":{"__isSmartRef__":true,"id":2151},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":2152},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2151":{"this":{"__isSmartRef__":true,"id":1428}},"2152":{},"2153":{"varMapping":{"__isSmartRef__":true,"id":2154},"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":2155},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2154":{"this":{"__isSmartRef__":true,"id":1428}},"2155":{},"2156":{"varMapping":{"__isSmartRef__":true,"id":2157},"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":2158},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2157":{"this":{"__isSmartRef__":true,"id":1428}},"2158":{},"2159":{"varMapping":{"__isSmartRef__":true,"id":2160},"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":2161},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2160":{"this":{"__isSmartRef__":true,"id":1428}},"2161":{},"2162":{"varMapping":{"__isSmartRef__":true,"id":2163},"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":2164},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2163":{"this":{"__isSmartRef__":true,"id":1428}},"2164":{},"2165":{"varMapping":{"__isSmartRef__":true,"id":2166},"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":2167},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2166":{"this":{"__isSmartRef__":true,"id":1428}},"2167":{},"2168":{"varMapping":{"__isSmartRef__":true,"id":2169},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":2170},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2169":{"this":{"__isSmartRef__":true,"id":1428}},"2170":{},"2171":{"varMapping":{"__isSmartRef__":true,"id":2172},"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":2173},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2172":{"this":{"__isSmartRef__":true,"id":1428}},"2173":{},"2174":{"varMapping":{"__isSmartRef__":true,"id":2175},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":2176},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2175":{"this":{"__isSmartRef__":true,"id":1428}},"2176":{},"2177":{"varMapping":{"__isSmartRef__":true,"id":2178},"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":2179},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2178":{"this":{"__isSmartRef__":true,"id":1428}},"2179":{},"2180":{"varMapping":{"__isSmartRef__":true,"id":2181},"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":2182},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2181":{"this":{"__isSmartRef__":true,"id":1428}},"2182":{},"2183":{"varMapping":{"__isSmartRef__":true,"id":2184},"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":2185},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2184":{"this":{"__isSmartRef__":true,"id":1428}},"2185":{},"2186":{"varMapping":{"__isSmartRef__":true,"id":2187},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":2188},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2187":{"this":{"__isSmartRef__":true,"id":1428}},"2188":{},"2189":{"varMapping":{"__isSmartRef__":true,"id":2190},"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":2191},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2190":{"this":{"__isSmartRef__":true,"id":1428}},"2191":{},"2192":{"varMapping":{"__isSmartRef__":true,"id":2193},"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":2194},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2193":{"this":{"__isSmartRef__":true,"id":1428}},"2194":{},"2195":{"varMapping":{"__isSmartRef__":true,"id":2196},"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":2197},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2196":{"this":{"__isSmartRef__":true,"id":1428}},"2197":{},"2198":{"varMapping":{"__isSmartRef__":true,"id":2199},"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":2200},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2199":{"this":{"__isSmartRef__":true,"id":1428}},"2200":{},"2201":{"varMapping":{"__isSmartRef__":true,"id":2202},"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":2203},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2202":{"this":{"__isSmartRef__":true,"id":1428}},"2203":{},"2204":{"varMapping":{"__isSmartRef__":true,"id":2205},"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":2206},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2205":{"this":{"__isSmartRef__":true,"id":1428}},"2206":{},"2207":{"style":{"__isSmartRef__":true,"id":2208},"morph":{"__isSmartRef__":true,"id":1420},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2208":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2209":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2210":{"sourceObj":{"__isSmartRef__":true,"id":1420},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1420},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2211":{"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"},"2212":{"doSave":{"__isSmartRef__":true,"id":2213}},"2213":{"varMapping":{"__isSmartRef__":true,"id":2214},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":2219},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2214":{"this":{"__isSmartRef__":true,"id":1420},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2215}},"2215":{"$super":{"__isSmartRef__":true,"id":2216}},"2216":{"varMapping":{"__isSmartRef__":true,"id":2217},"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":2218},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2217":{"obj":{"__isSmartRef__":true,"id":1420},"name":"doSave"},"2218":{},"2219":{},"2220":{"position":{"__isSmartRef__":true,"id":2221},"_Extent":{"__isSmartRef__":true,"id":2222},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":2223},"_Fill":{"__isSmartRef__":true,"id":2224},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2221":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2222":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2223":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2224":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2225":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2226":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2227":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2228":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2229":{"addTargetScript":{"__isSmartRef__":true,"id":2230},"addTestObject":{"__isSmartRef__":true,"id":2233},"allMorphNames":{"__isSmartRef__":true,"id":2236},"allScriptListItems":{"__isSmartRef__":true,"id":2239},"bindMorphNames":{"__isSmartRef__":true,"id":2242},"doSearch":{"__isSmartRef__":true,"id":2245},"findSubobjects":{"__isSmartRef__":true,"id":2248},"generateSourceForConnection":{"__isSmartRef__":true,"id":2251},"generateSourceForObject":{"__isSmartRef__":true,"id":2254},"generateSourceForProperty":{"__isSmartRef__":true,"id":2257},"generateSourceForScript":{"__isSmartRef__":true,"id":2260},"generateSourceForValue":{"__isSmartRef__":true,"id":2263},"generateTargetCode":{"__isSmartRef__":true,"id":2266},"highlightSelectedObject":{"__isSmartRef__":true,"id":2269},"listItemsForObj":{"__isSmartRef__":true,"id":2272},"removeTargetScript":{"__isSmartRef__":true,"id":2275},"reset":{"__isSmartRef__":true,"id":2278},"setSourceInPane":{"__isSmartRef__":true,"id":2281},"setTarget":{"__isSmartRef__":true,"id":2284},"setupConnections":{"__isSmartRef__":true,"id":2287},"showTopLevelItems":{"__isSmartRef__":true,"id":2290},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2293},"updateScriptList":{"__isSmartRef__":true,"id":2296},"updateSourcePane":{"__isSmartRef__":true,"id":2299}},"2230":{"varMapping":{"__isSmartRef__":true,"id":2231},"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":2232},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2231":{"this":{"__isSmartRef__":true,"id":1419}},"2232":{},"2233":{"varMapping":{"__isSmartRef__":true,"id":2234},"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":2235},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2234":{"this":{"__isSmartRef__":true,"id":1419}},"2235":{},"2236":{"varMapping":{"__isSmartRef__":true,"id":2237},"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":2238},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2237":{"this":{"__isSmartRef__":true,"id":1419}},"2238":{},"2239":{"varMapping":{"__isSmartRef__":true,"id":2240},"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":2241},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2240":{"this":{"__isSmartRef__":true,"id":1419}},"2241":{},"2242":{"varMapping":{"__isSmartRef__":true,"id":2243},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":2244},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2243":{"this":{"__isSmartRef__":true,"id":1419}},"2244":{},"2245":{"varMapping":{"__isSmartRef__":true,"id":2246},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":2247},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2246":{"this":{"__isSmartRef__":true,"id":1419}},"2247":{},"2248":{"varMapping":{"__isSmartRef__":true,"id":2249},"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":2250},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2249":{"this":{"__isSmartRef__":true,"id":1419}},"2250":{},"2251":{"varMapping":{"__isSmartRef__":true,"id":2252},"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":2253},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2252":{"this":{"__isSmartRef__":true,"id":1419}},"2253":{},"2254":{"varMapping":{"__isSmartRef__":true,"id":2255},"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":2256},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2255":{"this":{"__isSmartRef__":true,"id":1419}},"2256":{},"2257":{"varMapping":{"__isSmartRef__":true,"id":2258},"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":2259},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2258":{"this":{"__isSmartRef__":true,"id":1419}},"2259":{},"2260":{"varMapping":{"__isSmartRef__":true,"id":2261},"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":2262},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2261":{"this":{"__isSmartRef__":true,"id":1419}},"2262":{},"2263":{"varMapping":{"__isSmartRef__":true,"id":2264},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":2265},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2264":{"this":{"__isSmartRef__":true,"id":1419}},"2265":{},"2266":{"varMapping":{"__isSmartRef__":true,"id":2267},"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":2268},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2267":{"this":{"__isSmartRef__":true,"id":1419}},"2268":{},"2269":{"varMapping":{"__isSmartRef__":true,"id":2270},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":2271},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2270":{"this":{"__isSmartRef__":true,"id":1419}},"2271":{},"2272":{"varMapping":{"__isSmartRef__":true,"id":2273},"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":2274},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2273":{"this":{"__isSmartRef__":true,"id":1419}},"2274":{},"2275":{"varMapping":{"__isSmartRef__":true,"id":2276},"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":2277},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2276":{"this":{"__isSmartRef__":true,"id":1419}},"2277":{},"2278":{"varMapping":{"__isSmartRef__":true,"id":2279},"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":2280},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2279":{"this":{"__isSmartRef__":true,"id":1419}},"2280":{},"2281":{"varMapping":{"__isSmartRef__":true,"id":2282},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":2283},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2282":{"this":{"__isSmartRef__":true,"id":1419}},"2283":{},"2284":{"varMapping":{"__isSmartRef__":true,"id":2285},"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":2286},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2285":{"this":{"__isSmartRef__":true,"id":1419}},"2286":{},"2287":{"varMapping":{"__isSmartRef__":true,"id":2288},"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":2289},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2288":{"this":{"__isSmartRef__":true,"id":1419}},"2289":{},"2290":{"varMapping":{"__isSmartRef__":true,"id":2291},"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":2292},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2291":{"this":{"__isSmartRef__":true,"id":1419}},"2292":{},"2293":{"varMapping":{"__isSmartRef__":true,"id":2294},"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":2295},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2294":{"this":{"__isSmartRef__":true,"id":1419}},"2295":{},"2296":{"varMapping":{"__isSmartRef__":true,"id":2297},"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":2298},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2297":{"this":{"__isSmartRef__":true,"id":1419}},"2298":{},"2299":{"varMapping":{"__isSmartRef__":true,"id":2300},"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":2301},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2300":{"this":{"__isSmartRef__":true,"id":1419}},"2301":{},"2302":{"submorphs":[{"__isSmartRef__":true,"id":2303},{"__isSmartRef__":true,"id":2313},{"__isSmartRef__":true,"id":2351},{"__isSmartRef__":true,"id":2377}],"scripts":[],"id":856,"shape":{"__isSmartRef__":true,"id":2404},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2415},"_Position":{"__isSmartRef__":true,"id":2416},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1418},"label":{"__isSmartRef__":true,"id":2303},"closeButton":{"__isSmartRef__":true,"id":2313},"menuButton":{"__isSmartRef__":true,"id":2351},"collapseButton":{"__isSmartRef__":true,"id":2377},"priorExtent":{"__isSmartRef__":true,"id":2417},"owner":{"__isSmartRef__":true,"id":1418},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"2303":{"submorphs":[],"scripts":[],"id":857,"shape":{"__isSmartRef__":true,"id":2304},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2307},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2308},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2309}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":2302},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2311},"renderContextTable":{"__isSmartRef__":true,"id":2312},"__LivelyClassName__":"lively.morphic.Text"},"2304":{"_Position":{"__isSmartRef__":true,"id":2305},"_Extent":{"__isSmartRef__":true,"id":2306},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2223},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2305":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2306":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2307":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2308":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2309":{"style":{"__isSmartRef__":true,"id":2310},"morph":{"__isSmartRef__":true,"id":2303},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2310":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2311":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2312":{"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"},"2313":{"submorphs":[{"__isSmartRef__":true,"id":2314}],"scripts":[],"id":858,"shape":{"__isSmartRef__":true,"id":2324},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2338},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2328},"lighterFill":{"__isSmartRef__":true,"id":2339},"label":{"__isSmartRef__":true,"id":2314},"owner":{"__isSmartRef__":true,"id":2302},"layout":{"__isSmartRef__":true,"id":2348},"attributeConnections":[{"__isSmartRef__":true,"id":2349},{"__isSmartRef__":true,"id":2350}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2314":{"submorphs":[],"scripts":[],"id":859,"shape":{"__isSmartRef__":true,"id":2315},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2318},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2319},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2320}],"owner":{"__isSmartRef__":true,"id":2313},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2322},"renderContextTable":{"__isSmartRef__":true,"id":2323},"__LivelyClassName__":"lively.morphic.Text"},"2315":{"_Position":{"__isSmartRef__":true,"id":2316},"_Extent":{"__isSmartRef__":true,"id":2317},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2223},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2316":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2317":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2318":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2319":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2320":{"style":{"__isSmartRef__":true,"id":2321},"morph":{"__isSmartRef__":true,"id":2314},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2321":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2322":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2323":{"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"},"2324":{"_Position":{"__isSmartRef__":true,"id":2325},"_Extent":{"__isSmartRef__":true,"id":2326},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2327},"_Fill":{"__isSmartRef__":true,"id":2328},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2325":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2326":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2327":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2328":{"stops":[{"__isSmartRef__":true,"id":2329},{"__isSmartRef__":true,"id":2331},{"__isSmartRef__":true,"id":2333},{"__isSmartRef__":true,"id":2335}],"vector":{"__isSmartRef__":true,"id":2337},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2329":{"offset":0,"color":{"__isSmartRef__":true,"id":2330}},"2330":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2331":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2332}},"2332":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2333":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2334}},"2334":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2335":{"offset":1,"color":{"__isSmartRef__":true,"id":2336}},"2336":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2337":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2338":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2339":{"stops":[{"__isSmartRef__":true,"id":2340},{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2344},{"__isSmartRef__":true,"id":2346}],"vector":{"__isSmartRef__":true,"id":2337},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2340":{"offset":0,"color":{"__isSmartRef__":true,"id":2341}},"2341":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2342":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2343}},"2343":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2344":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2345}},"2345":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2346":{"offset":1,"color":{"__isSmartRef__":true,"id":2347}},"2347":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2348":{"moveHorizontal":true},"2349":{"sourceObj":{"__isSmartRef__":true,"id":2313},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1418},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2350":{"sourceObj":{"__isSmartRef__":true,"id":2313},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1418},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2351":{"submorphs":[{"__isSmartRef__":true,"id":2352}],"scripts":[],"id":860,"shape":{"__isSmartRef__":true,"id":2362},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2365},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2328},"lighterFill":{"__isSmartRef__":true,"id":2366},"label":{"__isSmartRef__":true,"id":2352},"owner":{"__isSmartRef__":true,"id":2302},"attributeConnections":[{"__isSmartRef__":true,"id":2375},{"__isSmartRef__":true,"id":2376}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2352":{"submorphs":[],"scripts":[],"id":861,"shape":{"__isSmartRef__":true,"id":2353},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2356},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2357},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2358}],"owner":{"__isSmartRef__":true,"id":2351},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2360},"renderContextTable":{"__isSmartRef__":true,"id":2361},"__LivelyClassName__":"lively.morphic.Text"},"2353":{"_Position":{"__isSmartRef__":true,"id":2354},"_Extent":{"__isSmartRef__":true,"id":2355},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2223},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2354":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2355":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2356":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2357":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2358":{"style":{"__isSmartRef__":true,"id":2359},"morph":{"__isSmartRef__":true,"id":2352},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2359":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2360":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2361":{"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"},"2362":{"_Position":{"__isSmartRef__":true,"id":2363},"_Extent":{"__isSmartRef__":true,"id":2364},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2327},"_Fill":{"__isSmartRef__":true,"id":2328},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2363":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2364":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2365":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2366":{"stops":[{"__isSmartRef__":true,"id":2367},{"__isSmartRef__":true,"id":2369},{"__isSmartRef__":true,"id":2371},{"__isSmartRef__":true,"id":2373}],"vector":{"__isSmartRef__":true,"id":2337},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2367":{"offset":0,"color":{"__isSmartRef__":true,"id":2368}},"2368":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2369":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2370}},"2370":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2371":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2372}},"2372":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2373":{"offset":1,"color":{"__isSmartRef__":true,"id":2374}},"2374":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2375":{"sourceObj":{"__isSmartRef__":true,"id":2351},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1418},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2376":{"sourceObj":{"__isSmartRef__":true,"id":2351},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1418},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2377":{"submorphs":[{"__isSmartRef__":true,"id":2378}],"scripts":[],"id":862,"shape":{"__isSmartRef__":true,"id":2388},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2391},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2328},"lighterFill":{"__isSmartRef__":true,"id":2392},"label":{"__isSmartRef__":true,"id":2378},"owner":{"__isSmartRef__":true,"id":2302},"layout":{"__isSmartRef__":true,"id":2401},"attributeConnections":[{"__isSmartRef__":true,"id":2402},{"__isSmartRef__":true,"id":2403}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2378":{"submorphs":[],"scripts":[],"id":863,"shape":{"__isSmartRef__":true,"id":2379},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2382},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2383},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2384}],"owner":{"__isSmartRef__":true,"id":2377},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2386},"renderContextTable":{"__isSmartRef__":true,"id":2387},"__LivelyClassName__":"lively.morphic.Text"},"2379":{"_Position":{"__isSmartRef__":true,"id":2380},"_Extent":{"__isSmartRef__":true,"id":2381},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2223},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2380":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2381":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2382":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2383":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2384":{"style":{"__isSmartRef__":true,"id":2385},"morph":{"__isSmartRef__":true,"id":2378},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2385":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2386":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2387":{"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"},"2388":{"_Position":{"__isSmartRef__":true,"id":2389},"_Extent":{"__isSmartRef__":true,"id":2390},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2327},"_Fill":{"__isSmartRef__":true,"id":2328},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2389":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2390":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2391":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2392":{"stops":[{"__isSmartRef__":true,"id":2393},{"__isSmartRef__":true,"id":2395},{"__isSmartRef__":true,"id":2397},{"__isSmartRef__":true,"id":2399}],"vector":{"__isSmartRef__":true,"id":2337},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2393":{"offset":0,"color":{"__isSmartRef__":true,"id":2394}},"2394":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2395":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2396}},"2396":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2397":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2398}},"2398":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2399":{"offset":1,"color":{"__isSmartRef__":true,"id":2400}},"2400":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2401":{"moveHorizontal":true},"2402":{"sourceObj":{"__isSmartRef__":true,"id":2377},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1418},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2403":{"sourceObj":{"__isSmartRef__":true,"id":2377},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1418},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2404":{"_Position":{"__isSmartRef__":true,"id":2405},"_Extent":{"__isSmartRef__":true,"id":2406},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1424},"_Fill":{"__isSmartRef__":true,"id":2407},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2405":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2406":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2407":{"stops":[{"__isSmartRef__":true,"id":2408},{"__isSmartRef__":true,"id":2410},{"__isSmartRef__":true,"id":2412}],"vector":{"__isSmartRef__":true,"id":2414},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2408":{"offset":0,"color":{"__isSmartRef__":true,"id":2409}},"2409":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2410":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2411}},"2411":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2412":{"offset":1,"color":{"__isSmartRef__":true,"id":2413}},"2413":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2414":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2415":{"resizeWidth":true,"adjustForNewBounds":true},"2416":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2417":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2418":{"submorphs":[],"scripts":[],"id":864,"shape":{"__isSmartRef__":true,"id":2419},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2424},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":2425},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":2426},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":1418},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2427},"__LivelyClassName__":"lively.morphic.Box"},"2419":{"position":{"__isSmartRef__":true,"id":2420},"_Extent":{"__isSmartRef__":true,"id":2421},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2422},"_Fill":{"__isSmartRef__":true,"id":2423},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2420":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2421":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2422":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2423":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2424":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2425":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2426":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2427":{"onDrag":{"__isSmartRef__":true,"id":2428},"onDragEnd":{"__isSmartRef__":true,"id":2435},"onDragStart":{"__isSmartRef__":true,"id":2442}},"2428":{"varMapping":{"__isSmartRef__":true,"id":2429},"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":2434},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2429":{"this":{"__isSmartRef__":true,"id":2418},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2430}},"2430":{"$super":{"__isSmartRef__":true,"id":2431}},"2431":{"varMapping":{"__isSmartRef__":true,"id":2432},"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":2433},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2432":{"obj":{"__isSmartRef__":true,"id":2418},"name":"onDrag"},"2433":{},"2434":{},"2435":{"varMapping":{"__isSmartRef__":true,"id":2436},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2441},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2436":{"this":{"__isSmartRef__":true,"id":2418},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2437}},"2437":{"$super":{"__isSmartRef__":true,"id":2438}},"2438":{"varMapping":{"__isSmartRef__":true,"id":2439},"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":2440},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2439":{"obj":{"__isSmartRef__":true,"id":2418},"name":"onDragEnd"},"2440":{},"2441":{},"2442":{"varMapping":{"__isSmartRef__":true,"id":2443},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":2448},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2443":{"this":{"__isSmartRef__":true,"id":2418},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2444}},"2444":{"$super":{"__isSmartRef__":true,"id":2445}},"2445":{"varMapping":{"__isSmartRef__":true,"id":2446},"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":2447},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2446":{"obj":{"__isSmartRef__":true,"id":2418},"name":"onDragStart"},"2447":{},"2448":{},"2449":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2450},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2450":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2451":{"adjustForNewBounds":true},"2452":{"x":1326.6587397135877,"y":105.10505518140758,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2453":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2454":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2455":{"x":1603,"y":115,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2456":{"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"},"2457":{"submorphs":[{"__isSmartRef__":true,"id":2458},{"__isSmartRef__":true,"id":2562},{"__isSmartRef__":true,"id":2670}],"scripts":[],"id":2638,"shape":{"__isSmartRef__":true,"id":2701},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":2703},"_Position":{"__isSmartRef__":true,"id":2704},"priorExtent":{"__isSmartRef__":true,"id":2705},"targetMorph":{"__isSmartRef__":true,"id":2458},"titleBar":{"__isSmartRef__":true,"id":2562},"contentOffset":{"__isSmartRef__":true,"id":2706},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":2707},"showsHalos":false,"name":"ScriptEditor1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2708},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":1392},"__LivelyClassName__":"lively.morphic.Window"},"2458":{"submorphs":[{"__isSmartRef__":true,"id":2459}],"scripts":[],"id":2639,"shape":{"__isSmartRef__":true,"id":2480},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2485},"showsHalos":false,"name":"ScriptEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":2486},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":2457},"_Rotation":0,"targetName":null,"searchText":null,"scriptList":null,"scriptSource":{"__isSmartRef__":true,"id":2459},"targetFound":null,"removeButton":null,"addButton":null,"closeButton":null,"target":{"__isSmartRef__":true,"id":997},"_Scale":1,"layout":{"__isSmartRef__":true,"id":2487},"priorExtent":{"__isSmartRef__":true,"id":2488},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2489},"__LivelyClassName__":"lively.morphic.Box"},"2459":{"submorphs":[],"scripts":[],"id":2640,"shape":{"__isSmartRef__":true,"id":2460},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2465},"_MaxTextWidth":1028.0469530469531,"_MaxTextHeight":422.98201798201796,"textStyle":null,"owner":{"__isSmartRef__":true,"id":2458},"layout":{"__isSmartRef__":true,"id":2466},"doitContext":{"__isSmartRef__":true,"id":997},"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":2467}],"priorSelectionRange":[3403,3403],"_ClipMode":"auto","prevScroll":[0,1687],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":2469},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":2470}],"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":2471},"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":2472},"__LivelyClassName__":"lively.morphic.Text"},"2460":{"position":{"__isSmartRef__":true,"id":2461},"_Extent":{"__isSmartRef__":true,"id":2462},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2463},"_Fill":{"__isSmartRef__":true,"id":2464},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2461":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2462":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2463":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2464":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2465":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2466":{"resizeWidth":true,"resizeHeight":true},"2467":{"style":{"__isSmartRef__":true,"id":2468},"morph":{"__isSmartRef__":true,"id":2459},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2468":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2469":{"x":1028.0469530469531,"y":422.98201798201796,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2470":{"sourceObj":{"__isSmartRef__":true,"id":2459},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":2459},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2471":{"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"},"2472":{"doSave":{"__isSmartRef__":true,"id":2473}},"2473":{"varMapping":{"__isSmartRef__":true,"id":2474},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":2479},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2474":{"this":{"__isSmartRef__":true,"id":2459},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2475}},"2475":{"$super":{"__isSmartRef__":true,"id":2476}},"2476":{"varMapping":{"__isSmartRef__":true,"id":2477},"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":2478},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2477":{"obj":{"__isSmartRef__":true,"id":2459},"name":"doSave"},"2478":{},"2479":{},"2480":{"position":{"__isSmartRef__":true,"id":2481},"_Extent":{"__isSmartRef__":true,"id":2482},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":2483},"_Fill":{"__isSmartRef__":true,"id":2484},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2481":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2482":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2483":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2484":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2485":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2486":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2487":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2488":{"x":1041.0799200799202,"y":437.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2489":{"addTargetScript":{"__isSmartRef__":true,"id":2490},"addTestObject":{"__isSmartRef__":true,"id":2493},"allMorphNames":{"__isSmartRef__":true,"id":2496},"allScriptListItems":{"__isSmartRef__":true,"id":2499},"bindMorphNames":{"__isSmartRef__":true,"id":2502},"doSearch":{"__isSmartRef__":true,"id":2505},"findSubobjects":{"__isSmartRef__":true,"id":2508},"generateSourceForConnection":{"__isSmartRef__":true,"id":2511},"generateSourceForObject":{"__isSmartRef__":true,"id":2514},"generateSourceForProperty":{"__isSmartRef__":true,"id":2517},"generateSourceForScript":{"__isSmartRef__":true,"id":2520},"generateSourceForValue":{"__isSmartRef__":true,"id":2523},"generateTargetCode":{"__isSmartRef__":true,"id":2526},"highlightSelectedObject":{"__isSmartRef__":true,"id":2529},"listItemsForObj":{"__isSmartRef__":true,"id":2532},"removeTargetScript":{"__isSmartRef__":true,"id":2535},"reset":{"__isSmartRef__":true,"id":2538},"setSourceInPane":{"__isSmartRef__":true,"id":2541},"setTarget":{"__isSmartRef__":true,"id":2544},"setupConnections":{"__isSmartRef__":true,"id":2547},"showTopLevelItems":{"__isSmartRef__":true,"id":2550},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2553},"updateScriptList":{"__isSmartRef__":true,"id":2556},"updateSourcePane":{"__isSmartRef__":true,"id":2559}},"2490":{"varMapping":{"__isSmartRef__":true,"id":2491},"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":2492},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2491":{"this":{"__isSmartRef__":true,"id":2458}},"2492":{},"2493":{"varMapping":{"__isSmartRef__":true,"id":2494},"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":2495},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2494":{"this":{"__isSmartRef__":true,"id":2458}},"2495":{},"2496":{"varMapping":{"__isSmartRef__":true,"id":2497},"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":2498},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2497":{"this":{"__isSmartRef__":true,"id":2458}},"2498":{},"2499":{"varMapping":{"__isSmartRef__":true,"id":2500},"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":2501},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2500":{"this":{"__isSmartRef__":true,"id":2458}},"2501":{},"2502":{"varMapping":{"__isSmartRef__":true,"id":2503},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":2504},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2503":{"this":{"__isSmartRef__":true,"id":2458}},"2504":{},"2505":{"varMapping":{"__isSmartRef__":true,"id":2506},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":2507},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2506":{"this":{"__isSmartRef__":true,"id":2458}},"2507":{},"2508":{"varMapping":{"__isSmartRef__":true,"id":2509},"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":2510},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2509":{"this":{"__isSmartRef__":true,"id":2458}},"2510":{},"2511":{"varMapping":{"__isSmartRef__":true,"id":2512},"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":2513},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2512":{"this":{"__isSmartRef__":true,"id":2458}},"2513":{},"2514":{"varMapping":{"__isSmartRef__":true,"id":2515},"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":2516},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2515":{"this":{"__isSmartRef__":true,"id":2458}},"2516":{},"2517":{"varMapping":{"__isSmartRef__":true,"id":2518},"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":2519},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2518":{"this":{"__isSmartRef__":true,"id":2458}},"2519":{},"2520":{"varMapping":{"__isSmartRef__":true,"id":2521},"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":2522},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2521":{"this":{"__isSmartRef__":true,"id":2458}},"2522":{},"2523":{"varMapping":{"__isSmartRef__":true,"id":2524},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":2525},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2524":{"this":{"__isSmartRef__":true,"id":2458}},"2525":{},"2526":{"varMapping":{"__isSmartRef__":true,"id":2527},"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":2528},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2527":{"this":{"__isSmartRef__":true,"id":2458}},"2528":{},"2529":{"varMapping":{"__isSmartRef__":true,"id":2530},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":2531},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2530":{"this":{"__isSmartRef__":true,"id":2458}},"2531":{},"2532":{"varMapping":{"__isSmartRef__":true,"id":2533},"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":2534},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2533":{"this":{"__isSmartRef__":true,"id":2458}},"2534":{},"2535":{"varMapping":{"__isSmartRef__":true,"id":2536},"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":2537},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2536":{"this":{"__isSmartRef__":true,"id":2458}},"2537":{},"2538":{"varMapping":{"__isSmartRef__":true,"id":2539},"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":2540},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2539":{"this":{"__isSmartRef__":true,"id":2458}},"2540":{},"2541":{"varMapping":{"__isSmartRef__":true,"id":2542},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n}","funcProperties":{"__isSmartRef__":true,"id":2543},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2542":{"this":{"__isSmartRef__":true,"id":2458}},"2543":{},"2544":{"varMapping":{"__isSmartRef__":true,"id":2545},"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":2546},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2545":{"this":{"__isSmartRef__":true,"id":2458}},"2546":{},"2547":{"varMapping":{"__isSmartRef__":true,"id":2548},"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":2549},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2548":{"this":{"__isSmartRef__":true,"id":2458}},"2549":{},"2550":{"varMapping":{"__isSmartRef__":true,"id":2551},"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":2552},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2551":{"this":{"__isSmartRef__":true,"id":2458}},"2552":{},"2553":{"varMapping":{"__isSmartRef__":true,"id":2554},"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":2555},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2554":{"this":{"__isSmartRef__":true,"id":2458}},"2555":{},"2556":{"varMapping":{"__isSmartRef__":true,"id":2557},"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":2558},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2557":{"this":{"__isSmartRef__":true,"id":2458}},"2558":{},"2559":{"varMapping":{"__isSmartRef__":true,"id":2560},"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":2561},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2560":{"this":{"__isSmartRef__":true,"id":2458}},"2561":{},"2562":{"submorphs":[{"__isSmartRef__":true,"id":2563},{"__isSmartRef__":true,"id":2573},{"__isSmartRef__":true,"id":2611},{"__isSmartRef__":true,"id":2637}],"scripts":[],"id":2641,"shape":{"__isSmartRef__":true,"id":2664},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2667},"_Position":{"__isSmartRef__":true,"id":2668},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":2457},"label":{"__isSmartRef__":true,"id":2563},"closeButton":{"__isSmartRef__":true,"id":2573},"menuButton":{"__isSmartRef__":true,"id":2611},"collapseButton":{"__isSmartRef__":true,"id":2637},"priorExtent":{"__isSmartRef__":true,"id":2669},"owner":{"__isSmartRef__":true,"id":2457},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"2563":{"submorphs":[],"scripts":[],"id":2642,"shape":{"__isSmartRef__":true,"id":2564},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2567},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2568},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2569}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":2562},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2571},"renderContextTable":{"__isSmartRef__":true,"id":2572},"__LivelyClassName__":"lively.morphic.Text"},"2564":{"_Position":{"__isSmartRef__":true,"id":2565},"_Extent":{"__isSmartRef__":true,"id":2566},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2483},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2565":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2566":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2567":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2568":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2569":{"style":{"__isSmartRef__":true,"id":2570},"morph":{"__isSmartRef__":true,"id":2563},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2570":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2571":{"x":981.0809190809191,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2572":{"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"},"2573":{"submorphs":[{"__isSmartRef__":true,"id":2574}],"scripts":[],"id":2643,"shape":{"__isSmartRef__":true,"id":2584},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2598},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2588},"lighterFill":{"__isSmartRef__":true,"id":2599},"label":{"__isSmartRef__":true,"id":2574},"owner":{"__isSmartRef__":true,"id":2562},"layout":{"__isSmartRef__":true,"id":2608},"attributeConnections":[{"__isSmartRef__":true,"id":2609},{"__isSmartRef__":true,"id":2610}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2574":{"submorphs":[],"scripts":[],"id":2644,"shape":{"__isSmartRef__":true,"id":2575},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2578},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2579},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2580}],"owner":{"__isSmartRef__":true,"id":2573},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2582},"renderContextTable":{"__isSmartRef__":true,"id":2583},"__LivelyClassName__":"lively.morphic.Text"},"2575":{"_Position":{"__isSmartRef__":true,"id":2576},"_Extent":{"__isSmartRef__":true,"id":2577},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2483},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2576":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2577":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2578":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2579":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2580":{"style":{"__isSmartRef__":true,"id":2581},"morph":{"__isSmartRef__":true,"id":2574},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2581":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2582":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2583":{"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"},"2584":{"_Position":{"__isSmartRef__":true,"id":2585},"_Extent":{"__isSmartRef__":true,"id":2586},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2587},"_Fill":{"__isSmartRef__":true,"id":2588},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2585":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2586":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2587":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2588":{"stops":[{"__isSmartRef__":true,"id":2589},{"__isSmartRef__":true,"id":2591},{"__isSmartRef__":true,"id":2593},{"__isSmartRef__":true,"id":2595}],"vector":{"__isSmartRef__":true,"id":2597},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2589":{"offset":0,"color":{"__isSmartRef__":true,"id":2590}},"2590":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2591":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2592}},"2592":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2593":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2594}},"2594":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2595":{"offset":1,"color":{"__isSmartRef__":true,"id":2596}},"2596":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2597":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2598":{"x":1020.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2599":{"stops":[{"__isSmartRef__":true,"id":2600},{"__isSmartRef__":true,"id":2602},{"__isSmartRef__":true,"id":2604},{"__isSmartRef__":true,"id":2606}],"vector":{"__isSmartRef__":true,"id":2597},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2600":{"offset":0,"color":{"__isSmartRef__":true,"id":2601}},"2601":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2602":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2603}},"2603":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2604":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2605}},"2605":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2606":{"offset":1,"color":{"__isSmartRef__":true,"id":2607}},"2607":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2608":{"moveHorizontal":true},"2609":{"sourceObj":{"__isSmartRef__":true,"id":2573},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2457},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2610":{"sourceObj":{"__isSmartRef__":true,"id":2573},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2457},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2611":{"submorphs":[{"__isSmartRef__":true,"id":2612}],"scripts":[],"id":2645,"shape":{"__isSmartRef__":true,"id":2622},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2625},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2588},"lighterFill":{"__isSmartRef__":true,"id":2626},"label":{"__isSmartRef__":true,"id":2612},"owner":{"__isSmartRef__":true,"id":2562},"attributeConnections":[{"__isSmartRef__":true,"id":2635},{"__isSmartRef__":true,"id":2636}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2612":{"submorphs":[],"scripts":[],"id":2646,"shape":{"__isSmartRef__":true,"id":2613},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2616},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2617},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2618}],"owner":{"__isSmartRef__":true,"id":2611},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2620},"renderContextTable":{"__isSmartRef__":true,"id":2621},"__LivelyClassName__":"lively.morphic.Text"},"2613":{"_Position":{"__isSmartRef__":true,"id":2614},"_Extent":{"__isSmartRef__":true,"id":2615},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2483},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2614":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2615":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2616":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2617":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2618":{"style":{"__isSmartRef__":true,"id":2619},"morph":{"__isSmartRef__":true,"id":2612},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2619":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2620":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2621":{"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"},"2622":{"_Position":{"__isSmartRef__":true,"id":2623},"_Extent":{"__isSmartRef__":true,"id":2624},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2587},"_Fill":{"__isSmartRef__":true,"id":2588},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2623":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2624":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2625":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2626":{"stops":[{"__isSmartRef__":true,"id":2627},{"__isSmartRef__":true,"id":2629},{"__isSmartRef__":true,"id":2631},{"__isSmartRef__":true,"id":2633}],"vector":{"__isSmartRef__":true,"id":2597},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2627":{"offset":0,"color":{"__isSmartRef__":true,"id":2628}},"2628":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2629":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2630}},"2630":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2631":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2632}},"2632":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2633":{"offset":1,"color":{"__isSmartRef__":true,"id":2634}},"2634":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2635":{"sourceObj":{"__isSmartRef__":true,"id":2611},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2457},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2636":{"sourceObj":{"__isSmartRef__":true,"id":2611},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2457},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2637":{"submorphs":[{"__isSmartRef__":true,"id":2638}],"scripts":[],"id":2647,"shape":{"__isSmartRef__":true,"id":2648},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2651},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2588},"lighterFill":{"__isSmartRef__":true,"id":2652},"label":{"__isSmartRef__":true,"id":2638},"owner":{"__isSmartRef__":true,"id":2562},"layout":{"__isSmartRef__":true,"id":2661},"attributeConnections":[{"__isSmartRef__":true,"id":2662},{"__isSmartRef__":true,"id":2663}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"2638":{"submorphs":[],"scripts":[],"id":2648,"shape":{"__isSmartRef__":true,"id":2639},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2642},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2643},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":2644}],"owner":{"__isSmartRef__":true,"id":2637},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2646},"renderContextTable":{"__isSmartRef__":true,"id":2647},"__LivelyClassName__":"lively.morphic.Text"},"2639":{"_Position":{"__isSmartRef__":true,"id":2640},"_Extent":{"__isSmartRef__":true,"id":2641},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2483},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2640":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2641":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2642":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2643":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2644":{"style":{"__isSmartRef__":true,"id":2645},"morph":{"__isSmartRef__":true,"id":2638},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2645":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2646":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2647":{"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"},"2648":{"_Position":{"__isSmartRef__":true,"id":2649},"_Extent":{"__isSmartRef__":true,"id":2650},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2587},"_Fill":{"__isSmartRef__":true,"id":2588},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2649":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2650":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2651":{"x":1001.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2652":{"stops":[{"__isSmartRef__":true,"id":2653},{"__isSmartRef__":true,"id":2655},{"__isSmartRef__":true,"id":2657},{"__isSmartRef__":true,"id":2659}],"vector":{"__isSmartRef__":true,"id":2597},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2653":{"offset":0,"color":{"__isSmartRef__":true,"id":2654}},"2654":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2655":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2656}},"2656":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2657":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2658}},"2658":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2659":{"offset":1,"color":{"__isSmartRef__":true,"id":2660}},"2660":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2661":{"moveHorizontal":true},"2662":{"sourceObj":{"__isSmartRef__":true,"id":2637},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2457},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2663":{"sourceObj":{"__isSmartRef__":true,"id":2637},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2457},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2664":{"_Position":{"__isSmartRef__":true,"id":2665},"_Extent":{"__isSmartRef__":true,"id":2666},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":2463},"_Fill":{"__isSmartRef__":true,"id":2407},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2665":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2666":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2667":{"resizeWidth":true,"adjustForNewBounds":true},"2668":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2669":{"x":1040.080919080919,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2670":{"submorphs":[],"scripts":[],"id":2649,"shape":{"__isSmartRef__":true,"id":2671},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2676},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":2677},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":2678},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":2457},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2679},"__LivelyClassName__":"lively.morphic.Box"},"2671":{"position":{"__isSmartRef__":true,"id":2672},"_Extent":{"__isSmartRef__":true,"id":2673},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2674},"_Fill":{"__isSmartRef__":true,"id":2675},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2672":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2673":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2674":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2675":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2676":{"x":1027.080919080919,"y":441.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2677":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2678":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2679":{"onDrag":{"__isSmartRef__":true,"id":2680},"onDragEnd":{"__isSmartRef__":true,"id":2687},"onDragStart":{"__isSmartRef__":true,"id":2694}},"2680":{"varMapping":{"__isSmartRef__":true,"id":2681},"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":2686},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2681":{"this":{"__isSmartRef__":true,"id":2670},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2682}},"2682":{"$super":{"__isSmartRef__":true,"id":2683}},"2683":{"varMapping":{"__isSmartRef__":true,"id":2684},"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":2685},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2684":{"obj":{"__isSmartRef__":true,"id":2670},"name":"onDrag"},"2685":{},"2686":{},"2687":{"varMapping":{"__isSmartRef__":true,"id":2688},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2693},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2688":{"this":{"__isSmartRef__":true,"id":2670},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2689}},"2689":{"$super":{"__isSmartRef__":true,"id":2690}},"2690":{"varMapping":{"__isSmartRef__":true,"id":2691},"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":2692},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2691":{"obj":{"__isSmartRef__":true,"id":2670},"name":"onDragEnd"},"2692":{},"2693":{},"2694":{"varMapping":{"__isSmartRef__":true,"id":2695},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":2700},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2695":{"this":{"__isSmartRef__":true,"id":2670},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2696}},"2696":{"$super":{"__isSmartRef__":true,"id":2697}},"2697":{"varMapping":{"__isSmartRef__":true,"id":2698},"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":2699},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2698":{"obj":{"__isSmartRef__":true,"id":2670},"name":"onDragStart"},"2699":{},"2700":{},"2701":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2702},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2702":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2703":{"adjustForNewBounds":true},"2704":{"x":1228.4189794738272,"y":227.10305717940957,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2705":{"x":1040.080919080919,"y":456.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2706":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2707":{"x":821,"y":101,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2708":{"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"},"2709":{"submorphs":[{"__isSmartRef__":true,"id":2710},{"__isSmartRef__":true,"id":3125}],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":3223},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":3225},"_Position":{"__isSmartRef__":true,"id":3226},"priorExtent":{"__isSmartRef__":true,"id":3227},"targetMorph":{"__isSmartRef__":true,"id":2710},"titleBar":{"__isSmartRef__":true,"id":3125},"contentOffset":{"__isSmartRef__":true,"id":3124},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"prevDragPos":{"__isSmartRef__":true,"id":3228},"showsHalos":false,"name":"VersionViewer","partsBinMetaInfo":{"__isSmartRef__":true,"id":3229},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":1392},"_Scale":1,"__LivelyClassName__":"lively.morphic.Window"},"2710":{"submorphs":[{"__isSmartRef__":true,"id":2711},{"__isSmartRef__":true,"id":2725},{"__isSmartRef__":true,"id":3036},{"__isSmartRef__":true,"id":3072},{"__isSmartRef__":true,"id":3096}],"scripts":[],"id":227,"shape":{"__isSmartRef__":true,"id":3120},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3123},"_Position":{"__isSmartRef__":true,"id":3124},"urlPane":{"__isSmartRef__":true,"id":2711},"versionList":{"__isSmartRef__":true,"id":2725},"revertButton":{"__isSmartRef__":true,"id":3036},"openButton":{"__isSmartRef__":true,"id":3072},"visitButton":{"__isSmartRef__":true,"id":3096},"ownerWidget":{"__isSmartRef__":true,"id":2721},"owner":{"__isSmartRef__":true,"id":2709},"ownerApp":{"__isSmartRef__":true,"id":2721},"__SourceModuleName__":"Global.lively.morphic.MorphAddons","__LivelyClassName__":"lively.morphic.Panel"},"2711":{"submorphs":[],"scripts":[],"id":228,"shape":{"__isSmartRef__":true,"id":2712},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":true,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":2717},"_MaxTextWidth":null,"_MaxTextHeight":25,"textChunks":[{"__isSmartRef__":true,"id":2718}],"owner":{"__isSmartRef__":true,"id":2710},"isInputLine":true,"noEval":true,"attributeConnections":[{"__isSmartRef__":true,"id":2720}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"__SourceModuleName__":"Global.lively.morphic.TextCore","priorSelectionRange":[0,3],"showsHalos":false,"priorExtent":{"__isSmartRef__":true,"id":2723},"savedTextString":"http://lively-kernel.org/repository/webwerkstatt/lauritz/objectEditor.xhtml","renderContextTable":{"__isSmartRef__":true,"id":2724},"__LivelyClassName__":"lively.morphic.Text"},"2712":{"position":{"__isSmartRef__":true,"id":2713},"_Extent":{"__isSmartRef__":true,"id":2714},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":{"__isSmartRef__":true,"id":2716},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2713":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2714":{"x":496,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2715":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2716":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2717":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2718":{"style":{"__isSmartRef__":true,"id":2719},"morph":{"__isSmartRef__":true,"id":2711},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2719":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2720":{"sourceObj":{"__isSmartRef__":true,"id":2711},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2721},"targetMethodName":"setTarget","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2721":{"panel":{"__isSmartRef__":true,"id":2710},"view":{"__isSmartRef__":true,"id":2709},"__SourceModuleName__":"Global.lively.ide.VersionTools","url":{"__isSmartRef__":true,"id":2722},"__LivelyClassName__":"lively.ide.FileVersionViewer"},"2722":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2723":{"x":496,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2724":{"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"},"2725":{"submorphs":[],"scripts":[],"id":229,"shape":{"__isSmartRef__":true,"id":2726},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2730},"itemList":[{"__isSmartRef__":true,"id":2731},{"__isSmartRef__":true,"id":2736},{"__isSmartRef__":true,"id":2741},{"__isSmartRef__":true,"id":2746},{"__isSmartRef__":true,"id":2751},{"__isSmartRef__":true,"id":2756},{"__isSmartRef__":true,"id":2761},{"__isSmartRef__":true,"id":2766},{"__isSmartRef__":true,"id":2771},{"__isSmartRef__":true,"id":2776},{"__isSmartRef__":true,"id":2781},{"__isSmartRef__":true,"id":2786},{"__isSmartRef__":true,"id":2791},{"__isSmartRef__":true,"id":2796},{"__isSmartRef__":true,"id":2801},{"__isSmartRef__":true,"id":2806},{"__isSmartRef__":true,"id":2811},{"__isSmartRef__":true,"id":2816},{"__isSmartRef__":true,"id":2821},{"__isSmartRef__":true,"id":2826},{"__isSmartRef__":true,"id":2831},{"__isSmartRef__":true,"id":2836},{"__isSmartRef__":true,"id":2841},{"__isSmartRef__":true,"id":2846},{"__isSmartRef__":true,"id":2851},{"__isSmartRef__":true,"id":2856},{"__isSmartRef__":true,"id":2861},{"__isSmartRef__":true,"id":2866},{"__isSmartRef__":true,"id":2871},{"__isSmartRef__":true,"id":2876},{"__isSmartRef__":true,"id":2881},{"__isSmartRef__":true,"id":2886},{"__isSmartRef__":true,"id":2891},{"__isSmartRef__":true,"id":2896},{"__isSmartRef__":true,"id":2901},{"__isSmartRef__":true,"id":2906},{"__isSmartRef__":true,"id":2911},{"__isSmartRef__":true,"id":2916},{"__isSmartRef__":true,"id":2921},{"__isSmartRef__":true,"id":2926},{"__isSmartRef__":true,"id":2931},{"__isSmartRef__":true,"id":2936},{"__isSmartRef__":true,"id":2941},{"__isSmartRef__":true,"id":2946},{"__isSmartRef__":true,"id":2951},{"__isSmartRef__":true,"id":2956},{"__isSmartRef__":true,"id":2961},{"__isSmartRef__":true,"id":2966},{"__isSmartRef__":true,"id":2971},{"__isSmartRef__":true,"id":2976},{"__isSmartRef__":true,"id":2981},{"__isSmartRef__":true,"id":2986},{"__isSmartRef__":true,"id":2991},{"__isSmartRef__":true,"id":2996},{"__isSmartRef__":true,"id":3001},{"__isSmartRef__":true,"id":3006},{"__isSmartRef__":true,"id":3011},{"__isSmartRef__":true,"id":3016},{"__isSmartRef__":true,"id":3021},{"__isSmartRef__":true,"id":3026},{"__isSmartRef__":true,"id":3031}],"selectedLineNo":33,"owner":{"__isSmartRef__":true,"id":2710},"dragEnabled":false,"__SourceModuleName__":"Global.lively.morphic.Core","prevScroll":[0,524],"selection":{"__isSmartRef__":true,"id":2897},"__LivelyClassName__":"lively.morphic.List"},"2726":{"position":{"__isSmartRef__":true,"id":2727},"_Extent":{"__isSmartRef__":true,"id":2728},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":{"__isSmartRef__":true,"id":2729},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2727":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2728":{"x":450,"y":200,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2729":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2730":{"x":0,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2731":{"isListItem":true,"string":"lauritz, 17:48:02 GMT+0200 (CEST), Mon May 16 2011, Revision 72656","value":{"__isSmartRef__":true,"id":2732}},"2732":{"rev":72656,"author":"lauritz","date":{"__isSmartRef__":true,"id":2733},"url":{"__isSmartRef__":true,"id":2734},"changes":[{"__isSmartRef__":true,"id":2735}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2733":{},"2734":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2735":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2736":{"isListItem":true,"string":"lauritz, 17:44:53 GMT+0200 (CEST), Mon May 16 2011, Revision 72648","value":{"__isSmartRef__":true,"id":2737}},"2737":{"rev":72648,"author":"lauritz","date":{"__isSmartRef__":true,"id":2738},"url":{"__isSmartRef__":true,"id":2739},"changes":[{"__isSmartRef__":true,"id":2740}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2738":{},"2739":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2740":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2741":{"isListItem":true,"string":"lauritz, 17:44:15 GMT+0200 (CEST), Mon May 16 2011, Revision 72646","value":{"__isSmartRef__":true,"id":2742}},"2742":{"rev":72646,"author":"lauritz","date":{"__isSmartRef__":true,"id":2743},"url":{"__isSmartRef__":true,"id":2744},"changes":[{"__isSmartRef__":true,"id":2745}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2743":{},"2744":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2745":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2746":{"isListItem":true,"string":"lauritz, 17:36:19 GMT+0200 (CEST), Mon May 16 2011, Revision 72615","value":{"__isSmartRef__":true,"id":2747}},"2747":{"rev":72615,"author":"lauritz","date":{"__isSmartRef__":true,"id":2748},"url":{"__isSmartRef__":true,"id":2749},"changes":[{"__isSmartRef__":true,"id":2750}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2748":{},"2749":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2750":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2751":{"isListItem":true,"string":"lauritz, 17:33:51 GMT+0200 (CEST), Mon May 16 2011, Revision 72614","value":{"__isSmartRef__":true,"id":2752}},"2752":{"rev":72614,"author":"lauritz","date":{"__isSmartRef__":true,"id":2753},"url":{"__isSmartRef__":true,"id":2754},"changes":[{"__isSmartRef__":true,"id":2755}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2753":{},"2754":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2755":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2756":{"isListItem":true,"string":"lauritz, 17:31:01 GMT+0200 (CEST), Mon May 16 2011, Revision 72595","value":{"__isSmartRef__":true,"id":2757}},"2757":{"rev":72595,"author":"lauritz","date":{"__isSmartRef__":true,"id":2758},"url":{"__isSmartRef__":true,"id":2759},"changes":[{"__isSmartRef__":true,"id":2760}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2758":{},"2759":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2760":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2761":{"isListItem":true,"string":"lauritz, 17:24:37 GMT+0200 (CEST), Mon May 16 2011, Revision 72593","value":{"__isSmartRef__":true,"id":2762}},"2762":{"rev":72593,"author":"lauritz","date":{"__isSmartRef__":true,"id":2763},"url":{"__isSmartRef__":true,"id":2764},"changes":[{"__isSmartRef__":true,"id":2765}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2763":{},"2764":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2765":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2766":{"isListItem":true,"string":"lauritz, 17:18:39 GMT+0200 (CEST), Mon May 16 2011, Revision 72589","value":{"__isSmartRef__":true,"id":2767}},"2767":{"rev":72589,"author":"lauritz","date":{"__isSmartRef__":true,"id":2768},"url":{"__isSmartRef__":true,"id":2769},"changes":[{"__isSmartRef__":true,"id":2770}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2768":{},"2769":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2770":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2771":{"isListItem":true,"string":"robertkrahn, 15:06:30 GMT+0200 (CEST), Mon May 16 2011, Revision 72537","value":{"__isSmartRef__":true,"id":2772}},"2772":{"rev":72537,"author":"robertkrahn","date":{"__isSmartRef__":true,"id":2773},"url":{"__isSmartRef__":true,"id":2774},"changes":[{"__isSmartRef__":true,"id":2775}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2773":{},"2774":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2775":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2776":{"isListItem":true,"string":"lauritz, 16:10:24 GMT+0200 (CEST), Sun May 15 2011, Revision 72270","value":{"__isSmartRef__":true,"id":2777}},"2777":{"rev":72270,"author":"lauritz","date":{"__isSmartRef__":true,"id":2778},"url":{"__isSmartRef__":true,"id":2779},"changes":[{"__isSmartRef__":true,"id":2780}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2778":{},"2779":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2780":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2781":{"isListItem":true,"string":"lauritz, 16:09:27 GMT+0200 (CEST), Sun May 15 2011, Revision 72266","value":{"__isSmartRef__":true,"id":2782}},"2782":{"rev":72266,"author":"lauritz","date":{"__isSmartRef__":true,"id":2783},"url":{"__isSmartRef__":true,"id":2784},"changes":[{"__isSmartRef__":true,"id":2785}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2783":{},"2784":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2785":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2786":{"isListItem":true,"string":"lauritz, 16:01:37 GMT+0200 (CEST), Sun May 15 2011, Revision 72258","value":{"__isSmartRef__":true,"id":2787}},"2787":{"rev":72258,"author":"lauritz","date":{"__isSmartRef__":true,"id":2788},"url":{"__isSmartRef__":true,"id":2789},"changes":[{"__isSmartRef__":true,"id":2790}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2788":{},"2789":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2790":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2791":{"isListItem":true,"string":"lauritz, 14:45:06 GMT+0200 (CEST), Sun May 15 2011, Revision 72242","value":{"__isSmartRef__":true,"id":2792}},"2792":{"rev":72242,"author":"lauritz","date":{"__isSmartRef__":true,"id":2793},"url":{"__isSmartRef__":true,"id":2794},"changes":[{"__isSmartRef__":true,"id":2795}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2793":{},"2794":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2795":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2796":{"isListItem":true,"string":"lauritz, 14:43:11 GMT+0200 (CEST), Sun May 15 2011, Revision 72241","value":{"__isSmartRef__":true,"id":2797}},"2797":{"rev":72241,"author":"lauritz","date":{"__isSmartRef__":true,"id":2798},"url":{"__isSmartRef__":true,"id":2799},"changes":[{"__isSmartRef__":true,"id":2800}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2798":{},"2799":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2800":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2801":{"isListItem":true,"string":"lauritz, 14:27:17 GMT+0200 (CEST), Sun May 15 2011, Revision 72215","value":{"__isSmartRef__":true,"id":2802}},"2802":{"rev":72215,"author":"lauritz","date":{"__isSmartRef__":true,"id":2803},"url":{"__isSmartRef__":true,"id":2804},"changes":[{"__isSmartRef__":true,"id":2805}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2803":{},"2804":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2805":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2806":{"isListItem":true,"string":"lauritz, 14:24:04 GMT+0200 (CEST), Sun May 15 2011, Revision 72214","value":{"__isSmartRef__":true,"id":2807}},"2807":{"rev":72214,"author":"lauritz","date":{"__isSmartRef__":true,"id":2808},"url":{"__isSmartRef__":true,"id":2809},"changes":[{"__isSmartRef__":true,"id":2810}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2808":{},"2809":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2810":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2811":{"isListItem":true,"string":"lauritz, 14:14:57 GMT+0200 (CEST), Sun May 15 2011, Revision 72213","value":{"__isSmartRef__":true,"id":2812}},"2812":{"rev":72213,"author":"lauritz","date":{"__isSmartRef__":true,"id":2813},"url":{"__isSmartRef__":true,"id":2814},"changes":[{"__isSmartRef__":true,"id":2815}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2813":{},"2814":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2815":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2816":{"isListItem":true,"string":"lauritz, 14:14:40 GMT+0200 (CEST), Sun May 15 2011, Revision 72212","value":{"__isSmartRef__":true,"id":2817}},"2817":{"rev":72212,"author":"lauritz","date":{"__isSmartRef__":true,"id":2818},"url":{"__isSmartRef__":true,"id":2819},"changes":[{"__isSmartRef__":true,"id":2820}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2818":{},"2819":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2820":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2821":{"isListItem":true,"string":"lauritz, 14:08:11 GMT+0200 (CEST), Sun May 15 2011, Revision 72211","value":{"__isSmartRef__":true,"id":2822}},"2822":{"rev":72211,"author":"lauritz","date":{"__isSmartRef__":true,"id":2823},"url":{"__isSmartRef__":true,"id":2824},"changes":[{"__isSmartRef__":true,"id":2825}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2823":{},"2824":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2825":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2826":{"isListItem":true,"string":"lauritz, 13:49:10 GMT+0200 (CEST), Sun May 15 2011, Revision 72210","value":{"__isSmartRef__":true,"id":2827}},"2827":{"rev":72210,"author":"lauritz","date":{"__isSmartRef__":true,"id":2828},"url":{"__isSmartRef__":true,"id":2829},"changes":[{"__isSmartRef__":true,"id":2830}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2828":{},"2829":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2830":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2831":{"isListItem":true,"string":"lauritz, 13:48:21 GMT+0200 (CEST), Sun May 15 2011, Revision 72209","value":{"__isSmartRef__":true,"id":2832}},"2832":{"rev":72209,"author":"lauritz","date":{"__isSmartRef__":true,"id":2833},"url":{"__isSmartRef__":true,"id":2834},"changes":[{"__isSmartRef__":true,"id":2835}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2833":{},"2834":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2835":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2836":{"isListItem":true,"string":"lauritz, 13:47:49 GMT+0200 (CEST), Sun May 15 2011, Revision 72208","value":{"__isSmartRef__":true,"id":2837}},"2837":{"rev":72208,"author":"lauritz","date":{"__isSmartRef__":true,"id":2838},"url":{"__isSmartRef__":true,"id":2839},"changes":[{"__isSmartRef__":true,"id":2840}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2838":{},"2839":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2840":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2841":{"isListItem":true,"string":"lauritz, 13:31:10 GMT+0200 (CEST), Sun May 15 2011, Revision 72207","value":{"__isSmartRef__":true,"id":2842}},"2842":{"rev":72207,"author":"lauritz","date":{"__isSmartRef__":true,"id":2843},"url":{"__isSmartRef__":true,"id":2844},"changes":[{"__isSmartRef__":true,"id":2845}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2843":{},"2844":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2845":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2846":{"isListItem":true,"string":"lauritz, 13:30:50 GMT+0200 (CEST), Sun May 15 2011, Revision 72206","value":{"__isSmartRef__":true,"id":2847}},"2847":{"rev":72206,"author":"lauritz","date":{"__isSmartRef__":true,"id":2848},"url":{"__isSmartRef__":true,"id":2849},"changes":[{"__isSmartRef__":true,"id":2850}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2848":{},"2849":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2850":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2851":{"isListItem":true,"string":"lauritz, 13:18:59 GMT+0200 (CEST), Sun May 15 2011, Revision 72192","value":{"__isSmartRef__":true,"id":2852}},"2852":{"rev":72192,"author":"lauritz","date":{"__isSmartRef__":true,"id":2853},"url":{"__isSmartRef__":true,"id":2854},"changes":[{"__isSmartRef__":true,"id":2855}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2853":{},"2854":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2855":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2856":{"isListItem":true,"string":"lauritz, 13:17:33 GMT+0200 (CEST), Sun May 15 2011, Revision 72191","value":{"__isSmartRef__":true,"id":2857}},"2857":{"rev":72191,"author":"lauritz","date":{"__isSmartRef__":true,"id":2858},"url":{"__isSmartRef__":true,"id":2859},"changes":[{"__isSmartRef__":true,"id":2860}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2858":{},"2859":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2860":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2861":{"isListItem":true,"string":"lauritz, 13:13:28 GMT+0200 (CEST), Sun May 15 2011, Revision 72190","value":{"__isSmartRef__":true,"id":2862}},"2862":{"rev":72190,"author":"lauritz","date":{"__isSmartRef__":true,"id":2863},"url":{"__isSmartRef__":true,"id":2864},"changes":[{"__isSmartRef__":true,"id":2865}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2863":{},"2864":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2865":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2866":{"isListItem":true,"string":"lauritz, 12:55:19 GMT+0200 (CEST), Sun May 15 2011, Revision 72189","value":{"__isSmartRef__":true,"id":2867}},"2867":{"rev":72189,"author":"lauritz","date":{"__isSmartRef__":true,"id":2868},"url":{"__isSmartRef__":true,"id":2869},"changes":[{"__isSmartRef__":true,"id":2870}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2868":{},"2869":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2870":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2871":{"isListItem":true,"string":"lauritz, 12:54:29 GMT+0200 (CEST), Sun May 15 2011, Revision 72188","value":{"__isSmartRef__":true,"id":2872}},"2872":{"rev":72188,"author":"lauritz","date":{"__isSmartRef__":true,"id":2873},"url":{"__isSmartRef__":true,"id":2874},"changes":[{"__isSmartRef__":true,"id":2875}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2873":{},"2874":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2875":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2876":{"isListItem":true,"string":"lauritz, 12:45:03 GMT+0200 (CEST), Sun May 15 2011, Revision 72187","value":{"__isSmartRef__":true,"id":2877}},"2877":{"rev":72187,"author":"lauritz","date":{"__isSmartRef__":true,"id":2878},"url":{"__isSmartRef__":true,"id":2879},"changes":[{"__isSmartRef__":true,"id":2880}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2878":{},"2879":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2880":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2881":{"isListItem":true,"string":"lauritz, 12:41:33 GMT+0200 (CEST), Sun May 15 2011, Revision 72186","value":{"__isSmartRef__":true,"id":2882}},"2882":{"rev":72186,"author":"lauritz","date":{"__isSmartRef__":true,"id":2883},"url":{"__isSmartRef__":true,"id":2884},"changes":[{"__isSmartRef__":true,"id":2885}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2883":{},"2884":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2885":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2886":{"isListItem":true,"string":"lauritz, 12:38:06 GMT+0200 (CEST), Sun May 15 2011, Revision 72185","value":{"__isSmartRef__":true,"id":2887}},"2887":{"rev":72185,"author":"lauritz","date":{"__isSmartRef__":true,"id":2888},"url":{"__isSmartRef__":true,"id":2889},"changes":[{"__isSmartRef__":true,"id":2890}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2888":{},"2889":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2890":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2891":{"isListItem":true,"string":"lauritz, 12:35:05 GMT+0200 (CEST), Sun May 15 2011, Revision 72184","value":{"__isSmartRef__":true,"id":2892}},"2892":{"rev":72184,"author":"lauritz","date":{"__isSmartRef__":true,"id":2893},"url":{"__isSmartRef__":true,"id":2894},"changes":[{"__isSmartRef__":true,"id":2895}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2893":{},"2894":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2895":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2896":{"isListItem":true,"string":"lauritz, 12:30:16 GMT+0200 (CEST), Sun May 15 2011, Revision 72183","value":{"__isSmartRef__":true,"id":2897}},"2897":{"rev":72183,"author":"lauritz","date":{"__isSmartRef__":true,"id":2898},"url":{"__isSmartRef__":true,"id":2899},"changes":[{"__isSmartRef__":true,"id":2900}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2898":{},"2899":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2900":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2901":{"isListItem":true,"string":"lauritz, 12:20:21 GMT+0200 (CEST), Sun May 15 2011, Revision 72182","value":{"__isSmartRef__":true,"id":2902}},"2902":{"rev":72182,"author":"lauritz","date":{"__isSmartRef__":true,"id":2903},"url":{"__isSmartRef__":true,"id":2904},"changes":[{"__isSmartRef__":true,"id":2905}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2903":{},"2904":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2905":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2906":{"isListItem":true,"string":"lauritz, 12:17:27 GMT+0200 (CEST), Sun May 15 2011, Revision 72181","value":{"__isSmartRef__":true,"id":2907}},"2907":{"rev":72181,"author":"lauritz","date":{"__isSmartRef__":true,"id":2908},"url":{"__isSmartRef__":true,"id":2909},"changes":[{"__isSmartRef__":true,"id":2910}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2908":{},"2909":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2910":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2911":{"isListItem":true,"string":"lauritz, 12:01:22 GMT+0200 (CEST), Sun May 15 2011, Revision 72177","value":{"__isSmartRef__":true,"id":2912}},"2912":{"rev":72177,"author":"lauritz","date":{"__isSmartRef__":true,"id":2913},"url":{"__isSmartRef__":true,"id":2914},"changes":[{"__isSmartRef__":true,"id":2915}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2913":{},"2914":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2915":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2916":{"isListItem":true,"string":"lauritz, 11:56:17 GMT+0200 (CEST), Sun May 15 2011, Revision 72176","value":{"__isSmartRef__":true,"id":2917}},"2917":{"rev":72176,"author":"lauritz","date":{"__isSmartRef__":true,"id":2918},"url":{"__isSmartRef__":true,"id":2919},"changes":[{"__isSmartRef__":true,"id":2920}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2918":{},"2919":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2920":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2921":{"isListItem":true,"string":"lauritz, 11:53:11 GMT+0200 (CEST), Sun May 15 2011, Revision 72175","value":{"__isSmartRef__":true,"id":2922}},"2922":{"rev":72175,"author":"lauritz","date":{"__isSmartRef__":true,"id":2923},"url":{"__isSmartRef__":true,"id":2924},"changes":[{"__isSmartRef__":true,"id":2925}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2923":{},"2924":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2925":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2926":{"isListItem":true,"string":"lauritz, 11:37:44 GMT+0200 (CEST), Sun May 15 2011, Revision 72174","value":{"__isSmartRef__":true,"id":2927}},"2927":{"rev":72174,"author":"lauritz","date":{"__isSmartRef__":true,"id":2928},"url":{"__isSmartRef__":true,"id":2929},"changes":[{"__isSmartRef__":true,"id":2930}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2928":{},"2929":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2930":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2931":{"isListItem":true,"string":"lauritz, 10:53:07 GMT+0200 (CEST), Sun May 15 2011, Revision 72173","value":{"__isSmartRef__":true,"id":2932}},"2932":{"rev":72173,"author":"lauritz","date":{"__isSmartRef__":true,"id":2933},"url":{"__isSmartRef__":true,"id":2934},"changes":[{"__isSmartRef__":true,"id":2935}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2933":{},"2934":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2935":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2936":{"isListItem":true,"string":"lauritz, 10:49:12 GMT+0200 (CEST), Sun May 15 2011, Revision 72172","value":{"__isSmartRef__":true,"id":2937}},"2937":{"rev":72172,"author":"lauritz","date":{"__isSmartRef__":true,"id":2938},"url":{"__isSmartRef__":true,"id":2939},"changes":[{"__isSmartRef__":true,"id":2940}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2938":{},"2939":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2940":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2941":{"isListItem":true,"string":"lauritz, 10:40:04 GMT+0200 (CEST), Sun May 15 2011, Revision 72171","value":{"__isSmartRef__":true,"id":2942}},"2942":{"rev":72171,"author":"lauritz","date":{"__isSmartRef__":true,"id":2943},"url":{"__isSmartRef__":true,"id":2944},"changes":[{"__isSmartRef__":true,"id":2945}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2943":{},"2944":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2945":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2946":{"isListItem":true,"string":"lauritz, 10:33:36 GMT+0200 (CEST), Sun May 15 2011, Revision 72170","value":{"__isSmartRef__":true,"id":2947}},"2947":{"rev":72170,"author":"lauritz","date":{"__isSmartRef__":true,"id":2948},"url":{"__isSmartRef__":true,"id":2949},"changes":[{"__isSmartRef__":true,"id":2950}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2948":{},"2949":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2950":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2951":{"isListItem":true,"string":"lauritz, 00:34:25 GMT+0200 (CEST), Sat May 14 2011, Revision 72088","value":{"__isSmartRef__":true,"id":2952}},"2952":{"rev":72088,"author":"lauritz","date":{"__isSmartRef__":true,"id":2953},"url":{"__isSmartRef__":true,"id":2954},"changes":[{"__isSmartRef__":true,"id":2955}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2953":{},"2954":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2955":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2956":{"isListItem":true,"string":"lauritz, 00:32:55 GMT+0200 (CEST), Sat May 14 2011, Revision 72078","value":{"__isSmartRef__":true,"id":2957}},"2957":{"rev":72078,"author":"lauritz","date":{"__isSmartRef__":true,"id":2958},"url":{"__isSmartRef__":true,"id":2959},"changes":[{"__isSmartRef__":true,"id":2960}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2958":{},"2959":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2960":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2961":{"isListItem":true,"string":"lauritz, 00:32:07 GMT+0200 (CEST), Sat May 14 2011, Revision 72072","value":{"__isSmartRef__":true,"id":2962}},"2962":{"rev":72072,"author":"lauritz","date":{"__isSmartRef__":true,"id":2963},"url":{"__isSmartRef__":true,"id":2964},"changes":[{"__isSmartRef__":true,"id":2965}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2963":{},"2964":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2965":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2966":{"isListItem":true,"string":"lauritz, 00:17:36 GMT+0200 (CEST), Sat May 14 2011, Revision 72048","value":{"__isSmartRef__":true,"id":2967}},"2967":{"rev":72048,"author":"lauritz","date":{"__isSmartRef__":true,"id":2968},"url":{"__isSmartRef__":true,"id":2969},"changes":[{"__isSmartRef__":true,"id":2970}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2968":{},"2969":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2970":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2971":{"isListItem":true,"string":"lauritz, 19:03:23 GMT+0200 (CEST), Fri May 13 2011, Revision 71813","value":{"__isSmartRef__":true,"id":2972}},"2972":{"rev":71813,"author":"lauritz","date":{"__isSmartRef__":true,"id":2973},"url":{"__isSmartRef__":true,"id":2974},"changes":[{"__isSmartRef__":true,"id":2975}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2973":{},"2974":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2975":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2976":{"isListItem":true,"string":"lauritz, 19:02:12 GMT+0200 (CEST), Fri May 13 2011, Revision 71812","value":{"__isSmartRef__":true,"id":2977}},"2977":{"rev":71812,"author":"lauritz","date":{"__isSmartRef__":true,"id":2978},"url":{"__isSmartRef__":true,"id":2979},"changes":[{"__isSmartRef__":true,"id":2980}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2978":{},"2979":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2980":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2981":{"isListItem":true,"string":"lauritz, 18:59:56 GMT+0200 (CEST), Fri May 13 2011, Revision 71811","value":{"__isSmartRef__":true,"id":2982}},"2982":{"rev":71811,"author":"lauritz","date":{"__isSmartRef__":true,"id":2983},"url":{"__isSmartRef__":true,"id":2984},"changes":[{"__isSmartRef__":true,"id":2985}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2983":{},"2984":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2985":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2986":{"isListItem":true,"string":"lauritz, 18:55:57 GMT+0200 (CEST), Fri May 13 2011, Revision 71810","value":{"__isSmartRef__":true,"id":2987}},"2987":{"rev":71810,"author":"lauritz","date":{"__isSmartRef__":true,"id":2988},"url":{"__isSmartRef__":true,"id":2989},"changes":[{"__isSmartRef__":true,"id":2990}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2988":{},"2989":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2990":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2991":{"isListItem":true,"string":"lauritz, 18:47:55 GMT+0200 (CEST), Fri May 13 2011, Revision 71809","value":{"__isSmartRef__":true,"id":2992}},"2992":{"rev":71809,"author":"lauritz","date":{"__isSmartRef__":true,"id":2993},"url":{"__isSmartRef__":true,"id":2994},"changes":[{"__isSmartRef__":true,"id":2995}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2993":{},"2994":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"2995":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"2996":{"isListItem":true,"string":"lauritz, 18:47:14 GMT+0200 (CEST), Fri May 13 2011, Revision 71808","value":{"__isSmartRef__":true,"id":2997}},"2997":{"rev":71808,"author":"lauritz","date":{"__isSmartRef__":true,"id":2998},"url":{"__isSmartRef__":true,"id":2999},"changes":[{"__isSmartRef__":true,"id":3000}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"2998":{},"2999":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3000":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3001":{"isListItem":true,"string":"lauritz, 18:38:09 GMT+0200 (CEST), Fri May 13 2011, Revision 71807","value":{"__isSmartRef__":true,"id":3002}},"3002":{"rev":71807,"author":"lauritz","date":{"__isSmartRef__":true,"id":3003},"url":{"__isSmartRef__":true,"id":3004},"changes":[{"__isSmartRef__":true,"id":3005}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3003":{},"3004":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3005":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3006":{"isListItem":true,"string":"lauritz, 18:32:26 GMT+0200 (CEST), Fri May 13 2011, Revision 71806","value":{"__isSmartRef__":true,"id":3007}},"3007":{"rev":71806,"author":"lauritz","date":{"__isSmartRef__":true,"id":3008},"url":{"__isSmartRef__":true,"id":3009},"changes":[{"__isSmartRef__":true,"id":3010}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3008":{},"3009":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3010":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3011":{"isListItem":true,"string":"lauritz, 18:23:35 GMT+0200 (CEST), Fri May 13 2011, Revision 71804","value":{"__isSmartRef__":true,"id":3012}},"3012":{"rev":71804,"author":"lauritz","date":{"__isSmartRef__":true,"id":3013},"url":{"__isSmartRef__":true,"id":3014},"changes":[{"__isSmartRef__":true,"id":3015}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3013":{},"3014":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3015":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3016":{"isListItem":true,"string":"lauritz, 18:09:05 GMT+0200 (CEST), Fri May 13 2011, Revision 71802","value":{"__isSmartRef__":true,"id":3017}},"3017":{"rev":71802,"author":"lauritz","date":{"__isSmartRef__":true,"id":3018},"url":{"__isSmartRef__":true,"id":3019},"changes":[{"__isSmartRef__":true,"id":3020}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3018":{},"3019":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3020":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3021":{"isListItem":true,"string":"lauritz, 18:08:34 GMT+0200 (CEST), Fri May 13 2011, Revision 71801","value":{"__isSmartRef__":true,"id":3022}},"3022":{"rev":71801,"author":"lauritz","date":{"__isSmartRef__":true,"id":3023},"url":{"__isSmartRef__":true,"id":3024},"changes":[{"__isSmartRef__":true,"id":3025}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3023":{},"3024":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3025":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3026":{"isListItem":true,"string":"lauritz, 18:00:10 GMT+0200 (CEST), Fri May 13 2011, Revision 71787","value":{"__isSmartRef__":true,"id":3027}},"3027":{"rev":71787,"author":"lauritz","date":{"__isSmartRef__":true,"id":3028},"url":{"__isSmartRef__":true,"id":3029},"changes":[{"__isSmartRef__":true,"id":3030}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3028":{},"3029":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3030":{"type":"S:modified","url":"/lauritz/objectEditor.xhtml"},"3031":{"isListItem":true,"string":"lauritz, 17:47:57 GMT+0200 (CEST), Fri May 13 2011, Revision 71776","value":{"__isSmartRef__":true,"id":3032}},"3032":{"rev":71776,"author":"lauritz","date":{"__isSmartRef__":true,"id":3033},"url":{"__isSmartRef__":true,"id":3034},"changes":[{"__isSmartRef__":true,"id":3035}],"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"SVNVersionInfo"},"3033":{},"3034":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/lauritz/objectEditor.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"3035":{"type":"S:added","url":null},"3036":{"submorphs":[{"__isSmartRef__":true,"id":3037}],"scripts":[],"id":230,"shape":{"__isSmartRef__":true,"id":3047},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3061},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3051},"lighterFill":{"__isSmartRef__":true,"id":3062},"label":{"__isSmartRef__":true,"id":3037},"owner":{"__isSmartRef__":true,"id":2710},"attributeConnections":[{"__isSmartRef__":true,"id":3071}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3037":{"submorphs":[],"scripts":[],"id":231,"shape":{"__isSmartRef__":true,"id":3038},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3041},"_MaxTextWidth":null,"_MaxTextHeight":25,"textChunks":[{"__isSmartRef__":true,"id":3042}],"_Padding":{"__isSmartRef__":true,"id":3044},"owner":{"__isSmartRef__":true,"id":3036},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3045},"renderContextTable":{"__isSmartRef__":true,"id":3046},"__LivelyClassName__":"lively.morphic.Text"},"3038":{"position":{"__isSmartRef__":true,"id":3039},"_Extent":{"__isSmartRef__":true,"id":3040},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3039":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3040":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3041":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3042":{"style":{"__isSmartRef__":true,"id":3043},"morph":{"__isSmartRef__":true,"id":3037},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3043":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3044":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3045":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3046":{"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"},"3047":{"position":{"__isSmartRef__":true,"id":3048},"_Extent":{"__isSmartRef__":true,"id":3049},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3050},"_Fill":{"__isSmartRef__":true,"id":3051},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3048":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3049":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3050":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3051":{"stops":[{"__isSmartRef__":true,"id":3052},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3056},{"__isSmartRef__":true,"id":3058}],"vector":{"__isSmartRef__":true,"id":3060},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3052":{"offset":0,"color":{"__isSmartRef__":true,"id":3053}},"3053":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3054":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3055}},"3055":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3056":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3057}},"3057":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3058":{"offset":1,"color":{"__isSmartRef__":true,"id":3059}},"3059":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3060":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3061":{"x":0,"y":225,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3062":{"stops":[{"__isSmartRef__":true,"id":3063},{"__isSmartRef__":true,"id":3065},{"__isSmartRef__":true,"id":3067},{"__isSmartRef__":true,"id":3069}],"vector":{"__isSmartRef__":true,"id":3060},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3063":{"offset":0,"color":{"__isSmartRef__":true,"id":3064}},"3064":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3065":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3066}},"3066":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3067":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3068}},"3068":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3069":{"offset":1,"color":{"__isSmartRef__":true,"id":3070}},"3070":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3071":{"sourceObj":{"__isSmartRef__":true,"id":3036},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2721},"targetMethodName":"revert","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3072":{"submorphs":[{"__isSmartRef__":true,"id":3073}],"scripts":[],"id":232,"shape":{"__isSmartRef__":true,"id":3082},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3085},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3051},"lighterFill":{"__isSmartRef__":true,"id":3086},"label":{"__isSmartRef__":true,"id":3073},"owner":{"__isSmartRef__":true,"id":2710},"attributeConnections":[{"__isSmartRef__":true,"id":3095}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3073":{"submorphs":[],"scripts":[],"id":233,"shape":{"__isSmartRef__":true,"id":3074},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3077},"_MaxTextWidth":null,"_MaxTextHeight":25,"textChunks":[{"__isSmartRef__":true,"id":3078}],"_Padding":{"__isSmartRef__":true,"id":3044},"owner":{"__isSmartRef__":true,"id":3072},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3080},"renderContextTable":{"__isSmartRef__":true,"id":3081},"__LivelyClassName__":"lively.morphic.Text"},"3074":{"position":{"__isSmartRef__":true,"id":3075},"_Extent":{"__isSmartRef__":true,"id":3076},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3075":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3076":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3077":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3078":{"style":{"__isSmartRef__":true,"id":3079},"morph":{"__isSmartRef__":true,"id":3073},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3079":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3080":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3081":{"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"},"3082":{"position":{"__isSmartRef__":true,"id":3083},"_Extent":{"__isSmartRef__":true,"id":3084},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3050},"_Fill":{"__isSmartRef__":true,"id":3051},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3083":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3084":{"x":148.5,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3085":{"x":148.5,"y":225,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3086":{"stops":[{"__isSmartRef__":true,"id":3087},{"__isSmartRef__":true,"id":3089},{"__isSmartRef__":true,"id":3091},{"__isSmartRef__":true,"id":3093}],"vector":{"__isSmartRef__":true,"id":3060},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3087":{"offset":0,"color":{"__isSmartRef__":true,"id":3088}},"3088":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3089":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3090}},"3090":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3091":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3092}},"3092":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3093":{"offset":1,"color":{"__isSmartRef__":true,"id":3094}},"3094":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3095":{"sourceObj":{"__isSmartRef__":true,"id":3072},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2721},"targetMethodName":"showVersion","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3096":{"submorphs":[{"__isSmartRef__":true,"id":3097}],"scripts":[],"id":234,"shape":{"__isSmartRef__":true,"id":3106},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3109},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3051},"lighterFill":{"__isSmartRef__":true,"id":3110},"label":{"__isSmartRef__":true,"id":3097},"owner":{"__isSmartRef__":true,"id":2710},"attributeConnections":[{"__isSmartRef__":true,"id":3119}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"3097":{"submorphs":[],"scripts":[],"id":235,"shape":{"__isSmartRef__":true,"id":3098},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3101},"_MaxTextWidth":null,"_MaxTextHeight":25,"textChunks":[{"__isSmartRef__":true,"id":3102}],"_Padding":{"__isSmartRef__":true,"id":3044},"owner":{"__isSmartRef__":true,"id":3096},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3104},"renderContextTable":{"__isSmartRef__":true,"id":3105},"__LivelyClassName__":"lively.morphic.Text"},"3098":{"position":{"__isSmartRef__":true,"id":3099},"_Extent":{"__isSmartRef__":true,"id":3100},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3099":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3100":{"x":153,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3101":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3102":{"style":{"__isSmartRef__":true,"id":3103},"morph":{"__isSmartRef__":true,"id":3097},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3103":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3104":{"x":153,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3105":{"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"},"3106":{"position":{"__isSmartRef__":true,"id":3107},"_Extent":{"__isSmartRef__":true,"id":3108},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3050},"_Fill":{"__isSmartRef__":true,"id":3051},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3107":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3108":{"x":153,"y":25,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3109":{"x":297,"y":225,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3110":{"stops":[{"__isSmartRef__":true,"id":3111},{"__isSmartRef__":true,"id":3113},{"__isSmartRef__":true,"id":3115},{"__isSmartRef__":true,"id":3117}],"vector":{"__isSmartRef__":true,"id":3060},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3111":{"offset":0,"color":{"__isSmartRef__":true,"id":3112}},"3112":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3113":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3114}},"3114":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3115":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3116}},"3116":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3117":{"offset":1,"color":{"__isSmartRef__":true,"id":3118}},"3118":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3119":{"sourceObj":{"__isSmartRef__":true,"id":3096},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2721},"targetMethodName":"visitVersion","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3120":{"position":{"__isSmartRef__":true,"id":3121},"_Extent":{"__isSmartRef__":true,"id":3122},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3121":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3122":{"x":450,"y":250,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3123":{"adjustForNewBounds":true},"3124":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3125":{"submorphs":[{"__isSmartRef__":true,"id":3126},{"__isSmartRef__":true,"id":3136},{"__isSmartRef__":true,"id":3163},{"__isSmartRef__":true,"id":3189}],"scripts":[],"id":236,"shape":{"__isSmartRef__":true,"id":3216},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3220},"_Position":{"__isSmartRef__":true,"id":3221},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":2709},"label":{"__isSmartRef__":true,"id":3126},"closeButton":{"__isSmartRef__":true,"id":3136},"menuButton":{"__isSmartRef__":true,"id":3163},"collapseButton":{"__isSmartRef__":true,"id":3189},"priorExtent":{"__isSmartRef__":true,"id":3222},"owner":{"__isSmartRef__":true,"id":2709},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"3126":{"submorphs":[],"scripts":[],"id":237,"shape":{"__isSmartRef__":true,"id":3127},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3130},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":3131}],"isLabel":true,"eventsAreIgnored":true,"_Padding":{"__isSmartRef__":true,"id":3133},"_FontSize":10,"owner":{"__isSmartRef__":true,"id":3125},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3134},"renderContextTable":{"__isSmartRef__":true,"id":3135},"__LivelyClassName__":"lively.morphic.Text"},"3127":{"position":{"__isSmartRef__":true,"id":3128},"_Extent":{"__isSmartRef__":true,"id":3129},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3128":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3129":{"x":48,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3130":{"x":201,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3131":{"style":{"__isSmartRef__":true,"id":3132},"morph":{"__isSmartRef__":true,"id":3126},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3132":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3133":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3134":{"x":48,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3135":{"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"},"3136":{"submorphs":[{"__isSmartRef__":true,"id":3137}],"scripts":[],"id":238,"shape":{"__isSmartRef__":true,"id":3147},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3150},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3051},"lighterFill":{"__isSmartRef__":true,"id":3151},"label":{"__isSmartRef__":true,"id":3137},"owner":{"__isSmartRef__":true,"id":3125},"layout":{"__isSmartRef__":true,"id":3160},"attributeConnections":[{"__isSmartRef__":true,"id":3161},{"__isSmartRef__":true,"id":3162}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"3137":{"submorphs":[],"scripts":[],"id":239,"shape":{"__isSmartRef__":true,"id":3138},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3141},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":3142}],"_Padding":{"__isSmartRef__":true,"id":3144},"owner":{"__isSmartRef__":true,"id":3136},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3145},"renderContextTable":{"__isSmartRef__":true,"id":3146},"__LivelyClassName__":"lively.morphic.Text"},"3138":{"position":{"__isSmartRef__":true,"id":3139},"_Extent":{"__isSmartRef__":true,"id":3140},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3139":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3140":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3141":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3142":{"style":{"__isSmartRef__":true,"id":3143},"morph":{"__isSmartRef__":true,"id":3137},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3143":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3144":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3145":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3146":{"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"},"3147":{"position":{"__isSmartRef__":true,"id":3148},"_Extent":{"__isSmartRef__":true,"id":3149},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3050},"_Fill":{"__isSmartRef__":true,"id":3051},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3148":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3149":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3150":{"x":430,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3151":{"stops":[{"__isSmartRef__":true,"id":3152},{"__isSmartRef__":true,"id":3154},{"__isSmartRef__":true,"id":3156},{"__isSmartRef__":true,"id":3158}],"vector":{"__isSmartRef__":true,"id":3060},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3152":{"offset":0,"color":{"__isSmartRef__":true,"id":3153}},"3153":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3154":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3155}},"3155":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3156":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3157}},"3157":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3158":{"offset":1,"color":{"__isSmartRef__":true,"id":3159}},"3159":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3160":{"moveHorizontal":true},"3161":{"sourceObj":{"__isSmartRef__":true,"id":3136},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2709},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3162":{"sourceObj":{"__isSmartRef__":true,"id":3136},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2709},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3163":{"submorphs":[{"__isSmartRef__":true,"id":3164}],"scripts":[],"id":240,"shape":{"__isSmartRef__":true,"id":3174},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3177},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3051},"lighterFill":{"__isSmartRef__":true,"id":3178},"label":{"__isSmartRef__":true,"id":3164},"owner":{"__isSmartRef__":true,"id":3125},"attributeConnections":[{"__isSmartRef__":true,"id":3187},{"__isSmartRef__":true,"id":3188}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"3164":{"submorphs":[],"scripts":[],"id":241,"shape":{"__isSmartRef__":true,"id":3165},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3168},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":3169}],"_Padding":{"__isSmartRef__":true,"id":3171},"owner":{"__isSmartRef__":true,"id":3163},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3172},"renderContextTable":{"__isSmartRef__":true,"id":3173},"__LivelyClassName__":"lively.morphic.Text"},"3165":{"position":{"__isSmartRef__":true,"id":3166},"_Extent":{"__isSmartRef__":true,"id":3167},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3166":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3167":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3168":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3169":{"style":{"__isSmartRef__":true,"id":3170},"morph":{"__isSmartRef__":true,"id":3164},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3170":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3171":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3172":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3173":{"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"},"3174":{"position":{"__isSmartRef__":true,"id":3175},"_Extent":{"__isSmartRef__":true,"id":3176},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3050},"_Fill":{"__isSmartRef__":true,"id":3051},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3175":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3176":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3177":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3178":{"stops":[{"__isSmartRef__":true,"id":3179},{"__isSmartRef__":true,"id":3181},{"__isSmartRef__":true,"id":3183},{"__isSmartRef__":true,"id":3185}],"vector":{"__isSmartRef__":true,"id":3060},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3179":{"offset":0,"color":{"__isSmartRef__":true,"id":3180}},"3180":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3181":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3182}},"3182":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3183":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3184}},"3184":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3185":{"offset":1,"color":{"__isSmartRef__":true,"id":3186}},"3186":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3187":{"sourceObj":{"__isSmartRef__":true,"id":3163},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2709},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3188":{"sourceObj":{"__isSmartRef__":true,"id":3163},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2709},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3189":{"submorphs":[{"__isSmartRef__":true,"id":3190}],"scripts":[],"id":242,"shape":{"__isSmartRef__":true,"id":3200},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3203},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3051},"lighterFill":{"__isSmartRef__":true,"id":3204},"label":{"__isSmartRef__":true,"id":3190},"owner":{"__isSmartRef__":true,"id":3125},"layout":{"__isSmartRef__":true,"id":3213},"attributeConnections":[{"__isSmartRef__":true,"id":3214},{"__isSmartRef__":true,"id":3215}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"3190":{"submorphs":[],"scripts":[],"id":243,"shape":{"__isSmartRef__":true,"id":3191},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_OverflowMode":"hidden","_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3194},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":3195}],"_Padding":{"__isSmartRef__":true,"id":3197},"owner":{"__isSmartRef__":true,"id":3189},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":3198},"renderContextTable":{"__isSmartRef__":true,"id":3199},"__LivelyClassName__":"lively.morphic.Text"},"3191":{"position":{"__isSmartRef__":true,"id":3192},"_Extent":{"__isSmartRef__":true,"id":3193},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2715},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3192":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3193":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3194":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3195":{"style":{"__isSmartRef__":true,"id":3196},"morph":{"__isSmartRef__":true,"id":3190},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3196":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3197":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3198":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3199":{"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"},"3200":{"position":{"__isSmartRef__":true,"id":3201},"_Extent":{"__isSmartRef__":true,"id":3202},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3050},"_Fill":{"__isSmartRef__":true,"id":3051},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3201":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3202":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3203":{"x":411,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3204":{"stops":[{"__isSmartRef__":true,"id":3205},{"__isSmartRef__":true,"id":3207},{"__isSmartRef__":true,"id":3209},{"__isSmartRef__":true,"id":3211}],"vector":{"__isSmartRef__":true,"id":3060},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3205":{"offset":0,"color":{"__isSmartRef__":true,"id":3206}},"3206":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3207":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3208}},"3208":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3209":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3210}},"3210":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3211":{"offset":1,"color":{"__isSmartRef__":true,"id":3212}},"3212":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3213":{"moveHorizontal":true},"3214":{"sourceObj":{"__isSmartRef__":true,"id":3189},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2709},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3215":{"sourceObj":{"__isSmartRef__":true,"id":3189},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2709},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3216":{"position":{"__isSmartRef__":true,"id":3217},"_Extent":{"__isSmartRef__":true,"id":3218},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":3219},"_Fill":{"__isSmartRef__":true,"id":2407},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3217":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3218":{"x":450,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3219":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3220":{"resizeWidth":true,"adjustForNewBounds":true},"3221":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3222":{"x":450,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3223":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":3224},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3224":{"x":450,"y":272,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3225":{"adjustForNewBounds":true},"3226":{"x":328,"y":910,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3227":{"x":450,"y":272,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3228":{"x":482,"y":63,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3229":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__SourceModuleName__":"Global.lively.PartsBin","comment":"Shows versions of a file.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3230":{"submorphs":[{"__isSmartRef__":true,"id":3231},{"__isSmartRef__":true,"id":3244}],"scripts":[],"id":494,"shape":{"__isSmartRef__":true,"id":3356},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":3358},"_Position":{"__isSmartRef__":true,"id":3359},"priorExtent":{"__isSmartRef__":true,"id":3360},"targetMorph":{"__isSmartRef__":true,"id":3231},"titleBar":{"__isSmartRef__":true,"id":3244},"contentOffset":{"__isSmartRef__":true,"id":3238},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":1392},"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":3361},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window"},"3231":{"submorphs":[],"scripts":[],"id":493,"shape":{"__isSmartRef__":true,"id":3232},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3237},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":3238},"priorExtent":{"__isSmartRef__":true,"id":3239},"_MaxTextWidth":500,"_MaxTextHeight":200,"textChunks":[{"__isSmartRef__":true,"id":3240}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3230},"layout":{"__isSmartRef__":true,"id":3242},"doitContext":{"__isSmartRef__":true,"id":997},"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":4290},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4289":{"this":{"__isSmartRef__":true,"id":997}},"4290":{},"4291":{"varMapping":{"__isSmartRef__":true,"id":4292},"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":4293},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4292":{"this":{"__isSmartRef__":true,"id":997}},"4293":{},"4294":{"varMapping":{"__isSmartRef__":true,"id":4295},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":4296},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4295":{"this":{"__isSmartRef__":true,"id":997}},"4296":{},"4297":{"varMapping":{"__isSmartRef__":true,"id":4298},"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":4299},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4298":{"this":{"__isSmartRef__":true,"id":997}},"4299":{},"4300":{"varMapping":{"__isSmartRef__":true,"id":4301},"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":4302},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4301":{"this":{"__isSmartRef__":true,"id":997}},"4302":{},"4303":{"varMapping":{"__isSmartRef__":true,"id":4304},"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":4305},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4304":{"this":{"__isSmartRef__":true,"id":997}},"4305":{},"4306":{"varMapping":{"__isSmartRef__":true,"id":4307},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":4308},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4307":{"this":{"__isSmartRef__":true,"id":997}},"4308":{},"4309":{"varMapping":{"__isSmartRef__":true,"id":4310},"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":4311},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4310":{"this":{"__isSmartRef__":true,"id":997}},"4311":{},"4312":{"varMapping":{"__isSmartRef__":true,"id":4313},"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":4314},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4313":{"this":{"__isSmartRef__":true,"id":997}},"4314":{},"4315":{"varMapping":{"__isSmartRef__":true,"id":4316},"source":"function setupConnections() {\n connect(this.get('morphSelection'), 'selection', this, 'setTarget');\n}","funcProperties":{"__isSmartRef__":true,"id":4317},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"4316":{"this":{"__isSmartRef__":true,"id":997}},"4317":{},"4318":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":4319},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":4324},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Scale":1.002003004005006,"renderContextTable":{"__isSmartRef__":true,"id":4325},"_Rotation":0,"__LivelyClassName__":"lively.morphic.HandMorph"},"4319":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4320},"_Extent":{"__isSmartRef__":true,"id":4321},"_Fill":{"__isSmartRef__":true,"id":4322},"renderContextTable":{"__isSmartRef__":true,"id":4323},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4320":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4321":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4322":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4323":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4324":{"x":1488.976463951439,"y":556.1116672227784,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4325":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"4326":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4327},"_Extent":{"__isSmartRef__":true,"id":4328},"_Fill":{"__isSmartRef__":true,"id":4329},"renderContextTable":{"__isSmartRef__":true,"id":4330},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4327":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4328":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4329":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"4330":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"4331":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4332":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"isSimplifiedRegistry":true}}]]>