> \" + methodName \n\tthis.get('searchText').setTextString(s);\n});\n\nthis.searchClass(\"Morph\")\n\nthis.addScript(function searchClass(className) {\n\tthis.reset();\n\tthis.get('searchText').setTextString(className);\n\tthis.get('modulesList').updateList([{\n\t\tisListItem: true, string: \"class search\" , value: false}])\n\n\tvar classes = Global.classes(true)\n\t\t.select(function(ea) { return ea.type && ea.type.search(className) != -1 })\n\t\t.uniq()\n\t\t.sortBy(function(ea) { return ea.name})\n\tthis.updateClasses(classes)\n})\n\nthis.addScript(function updateModulesList() {\n\tvar modules = Global.subNamespaces(true).reject(function(ea) { return ea.isAnonymous()})\n\tvar items = modules\n\t\t.reject(function(ea) { \n\t\t\treturn (ea.subNamespaces().length == 0) && (ea.classes().length == 0) })\n\t\t.pluck('namespaceIdentifier')\n\t\t.sort()\n\t\t.collect(function(ea){\n\t\tvar s = ea.replace(\"Global.\", \"\").replace(/[A-Za-z0-9]+\\./g, \" \")\n\t\treturn {isStringItem: true, value: ea, string: s}\n\t})\n\n\tthis.get('modulesList').updateList(items)\n\n});","textChunks":[{"__isSmartRef__":true,"id":350}],"priorSelectionRange":[3008,3010],"_ClipMode":"auto","prevScroll":[0,1068],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":352},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":353},"__LivelyClassName__":"lively.morphic.Text"},"42":{"position":{"__isSmartRef__":true,"id":43},"_Extent":{"__isSmartRef__":true,"id":44},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":45},"_Fill":{"__isSmartRef__":true,"id":46},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"43":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"44":{"x":840.046953046953,"y":508.98201798201796,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"45":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"46":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"47":{"x":7,"y":9,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"48":{"resizeWidth":true,"resizeHeight":true},"49":{"submorphs":[{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":141},{"__isSmartRef__":true,"id":151}],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":161},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":166},"showsHalos":false,"halos":[],"name":"ClassBrowserPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":167},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1.0020050100210423,"owner":{"__isSmartRef__":true,"id":168},"isCopyMorphRef":true,"morphRefId":1,"layout":{"__isSmartRef__":true,"id":320},"priorExtent":{"__isSmartRef__":true,"id":321},"search":"Morph","targetClass":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":322},"__LivelyClassName__":"lively.morphic.Box"},"50":{"submorphs":[],"scripts":[],"id":66,"shape":{"__isSmartRef__":true,"id":51},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":55},"_MaxTextWidth":760.9999139998711,"_MaxTextHeight":24.99999799999705,"textColor":{"__isSmartRef__":true,"id":54},"showsHalos":false,"halos":[],"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"searchText","partsBinMetaInfo":{"__isSmartRef__":true,"id":56},"owner":{"__isSmartRef__":true,"id":49},"charsReplaced":"IgnoreEpiMorphsPlugin","lastFindLoc":-21,"attributeConnections":[{"__isSmartRef__":true,"id":57},{"__isSmartRef__":true,"id":58}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"isInputLine":true,"_WhiteSpaceHandling":"pre-wrap","allowInput":true,"textChunks":[{"__isSmartRef__":true,"id":59}],"priorSelectionRange":[0,21],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":61},"isCopyMorphRef":true,"morphRefId":1,"savedTextString":"Morph","__LivelyClassName__":"lively.morphic.Text"},"51":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":52},"_Extent":{"__isSmartRef__":true,"id":53},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"52":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"53":{"x":760.9999139998711,"y":24.99999799999705,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"54":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"55":{"x":5.023988023988068,"y":3.0419790419790615,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"56":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"57":{"sourceObj":{"__isSmartRef__":true,"id":50},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"search","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"58":{"sourceObj":{"__isSmartRef__":true,"id":50},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"searchClass","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"59":{"style":{"__isSmartRef__":true,"id":60},"morph":{"__isSmartRef__":true,"id":50},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"60":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"61":{"x":760.9999139998711,"y":24.99999799999705,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"62":{"submorphs":[{"__isSmartRef__":true,"id":63}],"scripts":[],"id":2074,"shape":{"__isSmartRef__":true,"id":74},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":89},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":78},"lighterFill":{"__isSmartRef__":true,"id":90},"label":{"__isSmartRef__":true,"id":63},"showsHalos":false,"halos":[],"name":"updateButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":99},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":49},"_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":100}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"priorExtent":{"__isSmartRef__":true,"id":101},"__LivelyClassName__":"lively.morphic.Button"},"63":{"submorphs":[],"scripts":[],"id":2075,"shape":{"__isSmartRef__":true,"id":64},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":68},"_MaxTextWidth":107.00001400002105,"_MaxTextHeight":26.99999399999109,"padding":{"__isSmartRef__":true,"id":69},"_Padding":{"__isSmartRef__":true,"id":70},"owner":{"__isSmartRef__":true,"id":62},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":71}],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":73},"_Align":"center","__LivelyClassName__":"lively.morphic.Text"},"64":{"position":{"__isSmartRef__":true,"id":65},"_Extent":{"__isSmartRef__":true,"id":66},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":67},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"65":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"66":{"x":107.00001400002105,"y":26.99999399999109,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"67":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"68":{"x":-1.996001996001155,"y":-0.998000997999668,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"69":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"70":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"71":{"style":{"__isSmartRef__":true,"id":72},"morph":{"__isSmartRef__":true,"id":63},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"update","__LivelyClassName__":"lively.morphic.TextChunk"},"72":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"73":{"x":107.00001400002105,"y":26.99999399999109,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"74":{"position":{"__isSmartRef__":true,"id":75},"_Extent":{"__isSmartRef__":true,"id":76},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":77},"_Fill":{"__isSmartRef__":true,"id":78},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":88},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"75":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"76":{"x":107.00001400002105,"y":26.99999399999109,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"77":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"78":{"stops":[{"__isSmartRef__":true,"id":79},{"__isSmartRef__":true,"id":81},{"__isSmartRef__":true,"id":83},{"__isSmartRef__":true,"id":85}],"vector":{"__isSmartRef__":true,"id":87},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"79":{"offset":0,"color":{"__isSmartRef__":true,"id":80}},"80":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"81":{"offset":0.4,"color":{"__isSmartRef__":true,"id":82}},"82":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"83":{"offset":0.6,"color":{"__isSmartRef__":true,"id":84}},"84":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"85":{"offset":1,"color":{"__isSmartRef__":true,"id":86}},"86":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"87":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"88":{"x":-1.996001996001155,"y":-0.998000997999668,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"89":{"x":11.635682635682087,"y":185.67416267416127,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"90":{"stops":[{"__isSmartRef__":true,"id":91},{"__isSmartRef__":true,"id":93},{"__isSmartRef__":true,"id":95},{"__isSmartRef__":true,"id":97}],"vector":{"__isSmartRef__":true,"id":87},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"91":{"offset":0,"color":{"__isSmartRef__":true,"id":92}},"92":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"93":{"offset":0.4,"color":{"__isSmartRef__":true,"id":94}},"94":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"95":{"offset":0.6,"color":{"__isSmartRef__":true,"id":96}},"96":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"97":{"offset":1,"color":{"__isSmartRef__":true,"id":98}},"98":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"99":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"100":{"sourceObj":{"__isSmartRef__":true,"id":62},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"updateModulesList","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"101":{"x":108.000016000024,"y":25.999991999988083,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"102":{"submorphs":[],"scripts":[],"id":740,"shape":{"__isSmartRef__":true,"id":103},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":108},"itemList":[],"showsHalos":false,"halos":[],"name":"modulesList","partsBinMetaInfo":{"__isSmartRef__":true,"id":109},"__SourceModuleName__":"Global.lively.morphic.Core","owner":{"__isSmartRef__":true,"id":49},"_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":110}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"resizeHeight":true,"resizeWidth":true,"layout":null,"priorExtent":{"__isSmartRef__":true,"id":111},"__LivelyClassName__":"lively.morphic.List"},"103":{"position":{"__isSmartRef__":true,"id":104},"_Extent":{"__isSmartRef__":true,"id":105},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":106},"_Fill":{"__isSmartRef__":true,"id":107},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"104":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"105":{"x":183.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"106":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"107":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"108":{"x":10.994002994003012,"y":31.057971057971088,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"109":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"110":{"sourceObj":{"__isSmartRef__":true,"id":102},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"browseModule","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"111":{"x":184.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"112":{"submorphs":[],"scripts":[],"id":298,"shape":{"__isSmartRef__":true,"id":113},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":118},"_MaxTextWidth":766.0469590469621,"_MaxTextHeight":188.48209598213498,"textStyle":null,"layout":{"__isSmartRef__":true,"id":119},"doitContext":{"__isSmartRef__":true,"id":49},"charsReplaced":"","lastFindLoc":697,"showsHalos":false,"halos":[],"_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"sourceText","savedTextString":"// MethodFinder (this)\n\n// ** MethodFinder's Scripts **\nthis.addScript(function browse(fileFragment) {\n\tfileFragment && fileFragment.browseIt()\n});\n\nthis.addScript(function reset() {\n\tthis.get('searchResultList').updateList([]);\n\tthis.get('searchResultList').setSelection(null);\n\tthis.get('searchText').setTextString('enter search term here');\n});\n\n\nthis.addScript(function search(searchString) {\n\tvar finds = [];\n\tvar re = new RegExp(searchString)\n\tvar i=0;\n\tvar time = Functions.timeToRun(function() {\n\tGlobal.classes(true).forEach(function(eaClass) {\n\t\tFunctions.own(eaClass.prototype)\n\t\t\t.forEach(function(eaMethod) {\n\t\t\t\ti++;\n\t\t\t\tif (eaMethod.match(re)){\n\t\t\t\t\tfinds.push([eaClass, eaMethod])\n\t\t\t\t}\t\n\t\t\t})\t\n\t})})\n\talert(\"search \" + i + \" methods, found \" + finds.length + \" methods in \" + time + \"ms\")\n\n\tvar items = finds.collect(function(ea) {\n\t\treturn {\n\t\t\tisListItem: true,\n\t\t\tvalue: ea,\n\t\t\tstring: ea[0].name + \": \" + ea[1],\n\t\t}\n\t})\n\tthis.get('searchResultList').updateList(items);\n});","textChunks":[{"__isSmartRef__":true,"id":120}],"priorSelectionRange":[24,32],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":10,"owner":{"__isSmartRef__":true,"id":49},"_Scale":0.9979990019999998,"priorExtent":{"__isSmartRef__":true,"id":122},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":123},"__LivelyClassName__":"lively.morphic.Text"},"113":{"position":{"__isSmartRef__":true,"id":114},"_Extent":{"__isSmartRef__":true,"id":115},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":116},"_Fill":{"__isSmartRef__":true,"id":117},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"114":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"115":{"x":766.0469590469621,"y":188.48209598213498,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"116":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"117":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"118":{"x":12.701682800375693,"y":218.98173452400079,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"119":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"120":{"style":{"__isSmartRef__":true,"id":121},"morph":{"__isSmartRef__":true,"id":112},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"no code","__LivelyClassName__":"lively.morphic.TextChunk"},"121":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"122":{"x":766.0469590469621,"y":188.48209598213498,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"123":{"doSave":{"__isSmartRef__":true,"id":124}},"124":{"varMapping":{"__isSmartRef__":true,"id":125},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":130},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"125":{"this":{"__isSmartRef__":true,"id":112},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":126}},"126":{"$super":{"__isSmartRef__":true,"id":127}},"127":{"varMapping":{"__isSmartRef__":true,"id":128},"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":129},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"128":{"obj":{"__isSmartRef__":true,"id":112},"name":"doSave"},"129":{},"130":{},"131":{"submorphs":[],"scripts":[],"id":6035,"shape":{"__isSmartRef__":true,"id":132},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":137},"itemList":[],"showsHalos":false,"halos":[],"name":"classesList","partsBinMetaInfo":{"__isSmartRef__":true,"id":138},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":139}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,2],"resizeHeight":true,"resizeWidth":true,"layout":null,"priorExtent":{"__isSmartRef__":true,"id":140},"owner":{"__isSmartRef__":true,"id":49},"_Scale":1,"__LivelyClassName__":"lively.morphic.List"},"132":{"position":{"__isSmartRef__":true,"id":133},"_Extent":{"__isSmartRef__":true,"id":134},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":135},"_Fill":{"__isSmartRef__":true,"id":136},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"133":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"134":{"x":183.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"135":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"136":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"137":{"x":205.60419760419785,"y":33.05397305397307,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"138":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"139":{"sourceObj":{"__isSmartRef__":true,"id":131},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"browseClass","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"140":{"x":184.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"141":{"submorphs":[],"scripts":[],"id":6060,"shape":{"__isSmartRef__":true,"id":142},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":147},"itemList":[],"showsHalos":false,"halos":[],"name":"categoriesList","partsBinMetaInfo":{"__isSmartRef__":true,"id":148},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":149}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,645],"resizeHeight":true,"resizeWidth":true,"layout":null,"priorExtent":{"__isSmartRef__":true,"id":150},"_Scale":1,"owner":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.List"},"142":{"position":{"__isSmartRef__":true,"id":143},"_Extent":{"__isSmartRef__":true,"id":144},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":145},"_Fill":{"__isSmartRef__":true,"id":146},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"143":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"144":{"x":183.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"145":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"146":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"147":{"x":397.2203892203896,"y":34.05197405197404,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"148":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"149":{"sourceObj":{"__isSmartRef__":true,"id":141},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"browseCategory","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"150":{"x":184.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"151":{"submorphs":[],"scripts":[],"id":6085,"shape":{"__isSmartRef__":true,"id":152},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":157},"itemList":[],"showsHalos":false,"halos":[],"name":"methodsList","partsBinMetaInfo":{"__isSmartRef__":true,"id":158},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"attributeConnections":[{"__isSmartRef__":true,"id":159}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"resizeHeight":true,"resizeWidth":true,"layout":null,"priorExtent":{"__isSmartRef__":true,"id":160},"_Scale":1,"owner":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.List"},"152":{"position":{"__isSmartRef__":true,"id":153},"_Extent":{"__isSmartRef__":true,"id":154},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":155},"_Fill":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"153":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"154":{"x":183.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"155":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"156":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"157":{"x":591.8305838305841,"y":35.04997504997502,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"158":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"159":{"sourceObj":{"__isSmartRef__":true,"id":151},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":49},"targetMethodName":"browseMethod","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"160":{"x":184.3791059898665,"y":144.98798896393993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"161":{"position":{"__isSmartRef__":true,"id":162},"_Extent":{"__isSmartRef__":true,"id":163},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":164},"_Fill":{"__isSmartRef__":true,"id":165},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"162":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"163":{"x":790.4170420843768,"y":418.002005010021,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"164":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"165":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"166":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"167":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"168":{"submorphs":[{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":169},{"__isSmartRef__":true,"id":282}],"scripts":[],"id":501,"shape":{"__isSmartRef__":true,"id":313},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":315},"_Position":{"__isSmartRef__":true,"id":316},"priorExtent":{"__isSmartRef__":true,"id":317},"targetMorph":{"__isSmartRef__":true,"id":49},"titleBar":{"__isSmartRef__":true,"id":169},"contentOffset":{"__isSmartRef__":true,"id":166},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":318},"showsHalos":false,"halos":[],"name":"ClassBrowser","partsBinMetaInfo":{"__isSmartRef__":true,"id":319},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Window"},"169":{"submorphs":[{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":179},{"__isSmartRef__":true,"id":216},{"__isSmartRef__":true,"id":241}],"scripts":[],"id":502,"shape":{"__isSmartRef__":true,"id":267},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":279},"_Position":{"__isSmartRef__":true,"id":280},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":168},"label":{"__isSmartRef__":true,"id":170},"closeButton":{"__isSmartRef__":true,"id":179},"menuButton":{"__isSmartRef__":true,"id":216},"collapseButton":{"__isSmartRef__":true,"id":241},"priorExtent":{"__isSmartRef__":true,"id":281},"owner":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"170":{"submorphs":[],"scripts":[],"id":503,"shape":{"__isSmartRef__":true,"id":171},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":174},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":175},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":176}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":169},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":178},"__LivelyClassName__":"lively.morphic.Text"},"171":{"_Position":{"__isSmartRef__":true,"id":172},"_Extent":{"__isSmartRef__":true,"id":173},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":164},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"172":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"173":{"x":96,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"174":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"175":{"x":348.3635749008379,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"176":{"style":{"__isSmartRef__":true,"id":177},"morph":{"__isSmartRef__":true,"id":170},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Class Browser","__LivelyClassName__":"lively.morphic.TextChunk"},"177":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"178":{"x":96,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"179":{"submorphs":[{"__isSmartRef__":true,"id":180}],"scripts":[],"id":504,"shape":{"__isSmartRef__":true,"id":189},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":203},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":193},"lighterFill":{"__isSmartRef__":true,"id":204},"label":{"__isSmartRef__":true,"id":180},"owner":{"__isSmartRef__":true,"id":169},"layout":{"__isSmartRef__":true,"id":213},"attributeConnections":[{"__isSmartRef__":true,"id":214},{"__isSmartRef__":true,"id":215}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"180":{"submorphs":[],"scripts":[],"id":505,"shape":{"__isSmartRef__":true,"id":181},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":184},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":185},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":186}],"owner":{"__isSmartRef__":true,"id":179},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":188},"__LivelyClassName__":"lively.morphic.Text"},"181":{"_Position":{"__isSmartRef__":true,"id":182},"_Extent":{"__isSmartRef__":true,"id":183},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":164},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"182":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"183":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"184":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"185":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"186":{"style":{"__isSmartRef__":true,"id":187},"morph":{"__isSmartRef__":true,"id":180},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"187":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"188":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"189":{"_Position":{"__isSmartRef__":true,"id":190},"_Extent":{"__isSmartRef__":true,"id":191},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":192},"_Fill":{"__isSmartRef__":true,"id":193},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"190":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"191":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"192":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"193":{"stops":[{"__isSmartRef__":true,"id":194},{"__isSmartRef__":true,"id":196},{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":200}],"vector":{"__isSmartRef__":true,"id":202},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"194":{"offset":0,"color":{"__isSmartRef__":true,"id":195}},"195":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"196":{"offset":0.4,"color":{"__isSmartRef__":true,"id":197}},"197":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"198":{"offset":0.6,"color":{"__isSmartRef__":true,"id":199}},"199":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"200":{"offset":1,"color":{"__isSmartRef__":true,"id":201}},"201":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"202":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"203":{"x":772.7271498016758,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"204":{"stops":[{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":207},{"__isSmartRef__":true,"id":209},{"__isSmartRef__":true,"id":211}],"vector":{"__isSmartRef__":true,"id":202},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"205":{"offset":0,"color":{"__isSmartRef__":true,"id":206}},"206":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"207":{"offset":0.4,"color":{"__isSmartRef__":true,"id":208}},"208":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"209":{"offset":0.6,"color":{"__isSmartRef__":true,"id":210}},"210":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"211":{"offset":1,"color":{"__isSmartRef__":true,"id":212}},"212":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"213":{"moveHorizontal":true},"214":{"sourceObj":{"__isSmartRef__":true,"id":179},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":168},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"215":{"sourceObj":{"__isSmartRef__":true,"id":179},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":168},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"216":{"submorphs":[{"__isSmartRef__":true,"id":217}],"scripts":[],"id":506,"shape":{"__isSmartRef__":true,"id":226},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":229},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":193},"lighterFill":{"__isSmartRef__":true,"id":230},"label":{"__isSmartRef__":true,"id":217},"owner":{"__isSmartRef__":true,"id":169},"attributeConnections":[{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":240}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"217":{"submorphs":[],"scripts":[],"id":507,"shape":{"__isSmartRef__":true,"id":218},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":221},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":222},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":223}],"owner":{"__isSmartRef__":true,"id":216},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":225},"__LivelyClassName__":"lively.morphic.Text"},"218":{"_Position":{"__isSmartRef__":true,"id":219},"_Extent":{"__isSmartRef__":true,"id":220},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":164},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"219":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"220":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"221":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"222":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"223":{"style":{"__isSmartRef__":true,"id":224},"morph":{"__isSmartRef__":true,"id":217},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"224":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"225":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"226":{"_Position":{"__isSmartRef__":true,"id":227},"_Extent":{"__isSmartRef__":true,"id":228},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":192},"_Fill":{"__isSmartRef__":true,"id":193},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"227":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"228":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"229":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"230":{"stops":[{"__isSmartRef__":true,"id":231},{"__isSmartRef__":true,"id":233},{"__isSmartRef__":true,"id":235},{"__isSmartRef__":true,"id":237}],"vector":{"__isSmartRef__":true,"id":202},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"231":{"offset":0,"color":{"__isSmartRef__":true,"id":232}},"232":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"233":{"offset":0.4,"color":{"__isSmartRef__":true,"id":234}},"234":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"235":{"offset":0.6,"color":{"__isSmartRef__":true,"id":236}},"236":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"237":{"offset":1,"color":{"__isSmartRef__":true,"id":238}},"238":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"239":{"sourceObj":{"__isSmartRef__":true,"id":216},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":168},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"240":{"sourceObj":{"__isSmartRef__":true,"id":216},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":168},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"241":{"submorphs":[{"__isSmartRef__":true,"id":242}],"scripts":[],"id":508,"shape":{"__isSmartRef__":true,"id":251},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":254},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":193},"lighterFill":{"__isSmartRef__":true,"id":255},"label":{"__isSmartRef__":true,"id":242},"owner":{"__isSmartRef__":true,"id":169},"layout":{"__isSmartRef__":true,"id":264},"attributeConnections":[{"__isSmartRef__":true,"id":265},{"__isSmartRef__":true,"id":266}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"242":{"submorphs":[],"scripts":[],"id":509,"shape":{"__isSmartRef__":true,"id":243},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":246},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":247},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":248}],"owner":{"__isSmartRef__":true,"id":241},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":250},"__LivelyClassName__":"lively.morphic.Text"},"243":{"_Position":{"__isSmartRef__":true,"id":244},"_Extent":{"__isSmartRef__":true,"id":245},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":164},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"244":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"245":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"246":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"247":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"248":{"style":{"__isSmartRef__":true,"id":249},"morph":{"__isSmartRef__":true,"id":242},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"249":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"250":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"251":{"_Position":{"__isSmartRef__":true,"id":252},"_Extent":{"__isSmartRef__":true,"id":253},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":192},"_Fill":{"__isSmartRef__":true,"id":193},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"252":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"253":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"254":{"x":753.7271498016758,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"255":{"stops":[{"__isSmartRef__":true,"id":256},{"__isSmartRef__":true,"id":258},{"__isSmartRef__":true,"id":260},{"__isSmartRef__":true,"id":262}],"vector":{"__isSmartRef__":true,"id":202},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"256":{"offset":0,"color":{"__isSmartRef__":true,"id":257}},"257":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"258":{"offset":0.4,"color":{"__isSmartRef__":true,"id":259}},"259":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"260":{"offset":0.6,"color":{"__isSmartRef__":true,"id":261}},"261":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"262":{"offset":1,"color":{"__isSmartRef__":true,"id":263}},"263":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"264":{"moveHorizontal":true},"265":{"sourceObj":{"__isSmartRef__":true,"id":241},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":168},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"266":{"sourceObj":{"__isSmartRef__":true,"id":241},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":168},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"267":{"_Position":{"__isSmartRef__":true,"id":268},"_Extent":{"__isSmartRef__":true,"id":269},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":270},"_Fill":{"__isSmartRef__":true,"id":271},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"268":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"269":{"x":792.7271498016758,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"270":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"271":{"stops":[{"__isSmartRef__":true,"id":272},{"__isSmartRef__":true,"id":274},{"__isSmartRef__":true,"id":276}],"vector":{"__isSmartRef__":true,"id":278},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"272":{"offset":0,"color":{"__isSmartRef__":true,"id":273}},"273":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"274":{"offset":0.6,"color":{"__isSmartRef__":true,"id":275}},"275":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"276":{"offset":1,"color":{"__isSmartRef__":true,"id":277}},"277":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"278":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"279":{"resizeWidth":true,"adjustForNewBounds":true},"280":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"281":{"x":792.7271498016758,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"282":{"submorphs":[],"scripts":[],"id":316,"shape":{"__isSmartRef__":true,"id":283},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":288},"showsHalos":false,"halos":[],"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":289},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1.0000000000000002,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":290},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":168},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":291},"__LivelyClassName__":"lively.morphic.Box"},"283":{"position":{"__isSmartRef__":true,"id":284},"_Extent":{"__isSmartRef__":true,"id":285},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":286},"_Fill":{"__isSmartRef__":true,"id":287},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"284":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"285":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"286":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"287":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"288":{"x":779.7271498016758,"y":431.95238378006025,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"289":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"290":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"291":{"onDrag":{"__isSmartRef__":true,"id":292},"onDragEnd":{"__isSmartRef__":true,"id":299},"onDragStart":{"__isSmartRef__":true,"id":306}},"292":{"varMapping":{"__isSmartRef__":true,"id":293},"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":298},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"293":{"this":{"__isSmartRef__":true,"id":282},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":294}},"294":{"$super":{"__isSmartRef__":true,"id":295}},"295":{"varMapping":{"__isSmartRef__":true,"id":296},"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":297},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"296":{"obj":{"__isSmartRef__":true,"id":282},"name":"onDrag"},"297":{},"298":{},"299":{"varMapping":{"__isSmartRef__":true,"id":300},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":305},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"300":{"this":{"__isSmartRef__":true,"id":282},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":301}},"301":{"$super":{"__isSmartRef__":true,"id":302}},"302":{"varMapping":{"__isSmartRef__":true,"id":303},"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":304},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"303":{"obj":{"__isSmartRef__":true,"id":282},"name":"onDragEnd"},"304":{},"305":{},"306":{"varMapping":{"__isSmartRef__":true,"id":307},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":312},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"307":{"this":{"__isSmartRef__":true,"id":282},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":308}},"308":{"$super":{"__isSmartRef__":true,"id":309}},"309":{"varMapping":{"__isSmartRef__":true,"id":310},"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":311},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"310":{"obj":{"__isSmartRef__":true,"id":282},"name":"onDragStart"},"311":{},"312":{},"313":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":314},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"314":{"x":792.7271498016758,"y":446.95238378006025,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"315":{"adjustForNewBounds":true},"316":{"x":23.76111571558613,"y":179.76420930538052,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"317":{"x":792.7271498016758,"y":446.95238378006025,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"318":{"x":69,"y":182,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"319":{"requiredModules":[],"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"320":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"321":{"x":790.4170420843768,"y":418.002005010021,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"322":{"reset":{"__isSmartRef__":true,"id":323},"updateModulesList":{"__isSmartRef__":true,"id":326},"browseModule":{"__isSmartRef__":true,"id":329},"browseClass":{"__isSmartRef__":true,"id":332},"browseCategory":{"__isSmartRef__":true,"id":335},"browseMethod":{"__isSmartRef__":true,"id":338},"showMethodPath":{"__isSmartRef__":true,"id":341},"updateClasses":{"__isSmartRef__":true,"id":344},"searchClass":{"__isSmartRef__":true,"id":347}},"323":{"varMapping":{"__isSmartRef__":true,"id":324},"source":"function reset() {\n\tthis.targetClass = null;\n\n\tthis.get('modulesList').updateList([]);\n\tthis.get('modulesList').setSelection(null);\n\tthis.get('classesList').updateList([]);\n\tthis.get('classesList').setSelection(null);\n\tthis.get('categoriesList').updateList([]);\n\tthis.get('categoriesList').setSelection(null);\n\tthis.get('methodsList').updateList([]);\n\tthis.get('methodsList').setSelection(null);\n\n\tthis.get('searchText').setTextString('');\n\tthis.get('sourceText').setTextString('no code');\n}","funcProperties":{"__isSmartRef__":true,"id":325},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"324":{"this":{"__isSmartRef__":true,"id":49}},"325":{},"326":{"varMapping":{"__isSmartRef__":true,"id":327},"source":"function updateModulesList() {\n\tvar modules = Global.subNamespaces(true).reject(function(ea) { return ea.isAnonymous()})\n\tvar items = modules\n\t\t.reject(function(ea) { \n\t\t\treturn (ea.subNamespaces().length == 0) && (ea.classes().length == 0) })\n\t\t.pluck('namespaceIdentifier')\n\t\t.sort()\n\t\t.collect(function(ea){\n\t\tvar s = ea.replace(\"Global.\", \"\").replace(/[A-Za-z0-9]+\\./g, \" \")\n\t\treturn {isStringItem: true, value: ea, string: s}\n\t})\n\n\tthis.get('modulesList').updateList(items)\n\n}","funcProperties":{"__isSmartRef__":true,"id":328},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"327":{"this":{"__isSmartRef__":true,"id":49}},"328":{},"329":{"varMapping":{"__isSmartRef__":true,"id":330},"source":"function browseModule(moduleIdentifier) {\n\tif (!moduleIdentifier) return;\n\tvar classes = module(moduleIdentifier).classes();\n\tthis.updateClasses(classes)\n}","funcProperties":{"__isSmartRef__":true,"id":331},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"330":{"this":{"__isSmartRef__":true,"id":49}},"331":{},"332":{"varMapping":{"__isSmartRef__":true,"id":333},"source":"function browseClass(classIdentifier) {\n\tif (! classIdentifier) return;\n\tthis.targetClass = eval(classIdentifier)\n\n\tvar categories = [\"--all--\"]\n\t\t.concat(Properties.own(this.targetClass.categories))\n\t\t.sort();\n\tvar items = categories.collect(function(ea){\n\t\treturn {isListItem: true, value: ea, string: ea}\n\t})\n\tthis.get('categoriesList').updateList(items)\n\tthis.get('categoriesList').setSelection(\"--all--\")\n\t\n\tvar superClass = this.targetClass.superclass\n\tvar classSource = (superClass.type || superClass.name)\n\t\t + \".subclass('\" + this.targetClass.type + \"')\"\n\tthis.get('sourceText').setTextString(classSource)\n\tthis.get('methodsList').setSelection(null)\n\tthis.showMethodPath();\n}","funcProperties":{"__isSmartRef__":true,"id":334},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"333":{"this":{"__isSmartRef__":true,"id":49}},"334":{},"335":{"varMapping":{"__isSmartRef__":true,"id":336},"source":"function browseCategory(categoryName) {\n\tif (!categoryName || !this.targetClass) return;\n\tvar methods;\n\tif (categoryName == \"--all--\")\n\t\tmethods = Functions.own(this.targetClass.prototype);\n\telse \n\t\tmethods = this.targetClass.categories[categoryName];\n\tvar ignore = ['constructor'];\n\tvar items = methods\n\t\t.reject(function(ea) { return ignore.include(ea)})\n\t\t.collect(function(ea) {\n\t\treturn {isStringItem: true, value: ea, string: ea}\n\t})\n\tthis.get('methodsList').updateList(items)\n}","funcProperties":{"__isSmartRef__":true,"id":337},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"336":{"this":{"__isSmartRef__":true,"id":49}},"337":{},"338":{"varMapping":{"__isSmartRef__":true,"id":339},"source":"function browseMethod(methodName) {\n\tif (! methodName || !this.targetClass) return;\n\tvar class = this.targetClass;\n\tvar methodName = methodName;\n\t\n\tvar source = \"// changes here only affect runtime\\n\" +\n\t\tclass.type + \".addMethods({\\n\\t\" + methodName + \":\" +\n\t\tclass.prototype[methodName].getOriginal() + \"\\n});\"\n\tthis.get('sourceText').setTextString(source)\n\n\tthis.showMethodPath();\n}","funcProperties":{"__isSmartRef__":true,"id":340},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"339":{"this":{"__isSmartRef__":true,"id":49}},"340":{},"341":{"varMapping":{"__isSmartRef__":true,"id":342},"source":"function showMethodPath() {\n\tvar s = this.targetClass.type;\t\n\tvar methodName = this.get('methodsList').selection;\n\tif (methodName)\n\t\ts += \" >> \" + methodName \n\tthis.get('searchText').setTextString(s);\n}","funcProperties":{"__isSmartRef__":true,"id":343},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"342":{"this":{"__isSmartRef__":true,"id":49}},"343":{},"344":{"varMapping":{"__isSmartRef__":true,"id":345},"source":"function updateClasses(classes) {\n\tvar items = classes.collect(function(ea){\n\t\treturn {isListItem: true, value: ea.type, string: ea.name}\n\t})\n\tthis.get('classesList').updateList(items)\n}","funcProperties":{"__isSmartRef__":true,"id":346},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"345":{"this":{"__isSmartRef__":true,"id":49}},"346":{},"347":{"varMapping":{"__isSmartRef__":true,"id":348},"source":"function searchClass(className) {\n\tthis.reset();\n\tthis.get('searchText').setTextString(className);\n\tthis.get('modulesList').updateList([{\n\t\tisListItem: true, string: \"class search\" , value: false}])\n\n\tvar classes = Global.classes(true)\n\t\t.select(function(ea) { return ea.type && ea.type.search(className) != -1 })\n\t\t.uniq()\n\t\t.sortBy(function(ea) { return ea.name})\n\tthis.updateClasses(classes)\n}","funcProperties":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"348":{"this":{"__isSmartRef__":true,"id":49}},"349":{},"350":{"style":{"__isSmartRef__":true,"id":351},"morph":{"__isSmartRef__":true,"id":41},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"// ClassBrowserPane (this)\n\n// ** ClassBrowserPane's Scripts **\nthis.addScript(function browseCategory(categoryName) {\n\tif (!categoryName || !this.targetClass) return;\n\tvar methods;\n\tif (categoryName == \"--all--\")\n\t\tmethods = Functions.own(this.targetClass.prototype);\n\telse \n\t\tmethods = this.targetClass.categories[categoryName];\n\tvar ignore = ['constructor'];\n\tvar items = methods\n\t\t.reject(function(ea) { return ignore.include(ea)})\n\t\t.collect(function(ea) {\n\t\treturn {isStringItem: true, value: ea, string: ea}\n\t})\n\tthis.get('methodsList').updateList(items)\n});\n\nthis.addScript(function browseClass(classIdentifier) {\n\tif (! classIdentifier) return;\n\tthis.targetClass = eval(classIdentifier)\n\n\tvar categories = [\"--all--\"]\n\t\t.concat(Properties.own(this.targetClass.categories))\n\t\t.sort();\n\tvar items = categories.collect(function(ea){\n\t\treturn {isListItem: true, value: ea, string: ea}\n\t})\n\tthis.get('categoriesList').updateList(items)\n\tthis.get('categoriesList').setSelection(\"--all--\")\n\t\n\tvar superClass = this.targetClass.superclass\n\tvar classSource = (superClass.type || superClass.name)\n\t\t + \".subclass('\" + this.targetClass.type + \"')\"\n\tthis.get('sourceText').setTextString(classSource)\n\tthis.get('methodsList').setSelection(null)\n\tthis.showMethodPath();\n});\n\nthis.addScript(function browseMethod(methodName) {\n\tif (! methodName || !this.targetClass) return;\n\tvar class = this.targetClass;\n\tvar methodName = methodName;\n\t\n\tvar source = \"// changes here only affect runtime\\n\" +\n\t\tclass.type + \".addMethods({\\n\\t\" + methodName + \":\" +\n\t\tclass.prototype[methodName].getOriginal() + \"\\n});\"\n\tthis.get('sourceText').setTextString(source)\n\n\tthis.showMethodPath();\n});\n\nthis.addScript(function browseModule(moduleIdentifier) {\n\tif (!moduleIdentifier) return;\n\tvar classes = module(moduleIdentifier).classes();\n\tthis.updateClasses(classes)\n});\n\nthis.addScript(function updateClasses(classes) {\n\tvar items = classes.collect(function(ea){\n\t\treturn {isListItem: true, value: ea.type, string: ea.name}\n\t})\n\tthis.get('classesList').updateList(items)\n});\n\nthis.addScript(function reset() {\n\tthis.targetClass = null;\n\n\tthis.get('modulesList').updateList([]);\n\tthis.get('modulesList').setSelection(null);\n\tthis.get('classesList').updateList([]);\n\tthis.get('classesList').setSelection(null);\n\tthis.get('categoriesList').updateList([]);\n\tthis.get('categoriesList').setSelection(null);\n\tthis.get('methodsList').updateList([]);\n\tthis.get('methodsList').setSelection(null);\n\n\tthis.get('searchText').setTextString('');\n\tthis.get('sourceText').setTextString('no code');\n});\n\nthis.addScript(function showMethodPath() {\n\tvar s = this.targetClass.type;\t\n\tvar methodName = this.get('methodsList').selection;\n\tif (methodName)\n\t\ts += \" >> \" + methodName \n\tthis.get('searchText').setTextString(s);\n});\n\nthis.searchClass(\"Morph\")\n\nthis.addScript(function searchClass(className) {\n\tthis.reset();\n\tthis.get('searchText').setTextString(className);\n\tthis.get('modulesList').updateList([{\n\t\tisListItem: true, string: \"class search\" , value: false}])\n\n\tvar classes = Global.classes(true)\n\t\t.select(function(ea) { return ea.type && ea.type.search(className) != -1 })\n\t\t.uniq()\n\t\t.sortBy(function(ea) { return ea.name})\n\tthis.updateClasses(classes)\n})\n\nthis.addScript(function updateModulesList() {\n\tvar modules = Global.subNamespaces(true).reject(function(ea) { return ea.isAnonymous()})\n\tvar items = modules\n\t\t.reject(function(ea) { \n\t\t\treturn (ea.subNamespaces().length == 0) && (ea.classes().length == 0) })\n\t\t.pluck('namespaceIdentifier')\n\t\t.sort()\n\t\t.collect(function(ea){\n\t\tvar s = ea.replace(\"Global.\", \"\").replace(/[A-Za-z0-9]+\\./g, \" \")\n\t\treturn {isStringItem: true, value: ea, string: s}\n\t})\n\n\tthis.get('modulesList').updateList(items)\n\n});","__LivelyClassName__":"lively.morphic.TextChunk"},"351":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"352":{"x":840.046953046953,"y":508.98201798201796,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"353":{"doSave":{"__isSmartRef__":true,"id":354}},"354":{"varMapping":{"__isSmartRef__":true,"id":355},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":360},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"355":{"this":{"__isSmartRef__":true,"id":41},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":356}},"356":{"$super":{"__isSmartRef__":true,"id":357}},"357":{"varMapping":{"__isSmartRef__":true,"id":358},"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":359},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"358":{"obj":{"__isSmartRef__":true,"id":41},"name":"doSave"},"359":{},"360":{},"361":{"position":{"__isSmartRef__":true,"id":362},"_Extent":{"__isSmartRef__":true,"id":363},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":364},"_Fill":{"__isSmartRef__":true,"id":365},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"362":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"363":{"x":853.0799200799202,"y":523.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"364":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"365":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"366":{"x":-0.9990009990010549,"y":20.001998001998004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"367":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"368":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"369":{"x":853.0799200799202,"y":523.9980019980019,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"370":{"addTargetScript":{"__isSmartRef__":true,"id":371},"addTestObject":{"__isSmartRef__":true,"id":374},"allMorphNames":{"__isSmartRef__":true,"id":377},"allScriptListItems":{"__isSmartRef__":true,"id":380},"bindMorphNames":{"__isSmartRef__":true,"id":383},"doSearch":{"__isSmartRef__":true,"id":386},"findSubobjects":{"__isSmartRef__":true,"id":389},"generateSourceForConnection":{"__isSmartRef__":true,"id":392},"generateSourceForObject":{"__isSmartRef__":true,"id":395},"generateSourceForProperty":{"__isSmartRef__":true,"id":398},"generateSourceForScript":{"__isSmartRef__":true,"id":401},"generateSourceForValue":{"__isSmartRef__":true,"id":404},"generateTargetCode":{"__isSmartRef__":true,"id":407},"highlightSelectedObject":{"__isSmartRef__":true,"id":410},"listItemsForObj":{"__isSmartRef__":true,"id":413},"removeTargetScript":{"__isSmartRef__":true,"id":416},"reset":{"__isSmartRef__":true,"id":419},"setSourceInPane":{"__isSmartRef__":true,"id":422},"setTarget":{"__isSmartRef__":true,"id":425},"setupConnections":{"__isSmartRef__":true,"id":428},"showTopLevelItems":{"__isSmartRef__":true,"id":431},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":434},"updateScriptList":{"__isSmartRef__":true,"id":437},"updateSourcePane":{"__isSmartRef__":true,"id":440}},"371":{"varMapping":{"__isSmartRef__":true,"id":372},"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":373},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"372":{"this":{"__isSmartRef__":true,"id":40}},"373":{},"374":{"varMapping":{"__isSmartRef__":true,"id":375},"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":376},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"375":{"this":{"__isSmartRef__":true,"id":40}},"376":{},"377":{"varMapping":{"__isSmartRef__":true,"id":378},"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":379},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"378":{"this":{"__isSmartRef__":true,"id":40}},"379":{},"380":{"varMapping":{"__isSmartRef__":true,"id":381},"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":382},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"381":{"this":{"__isSmartRef__":true,"id":40}},"382":{},"383":{"varMapping":{"__isSmartRef__":true,"id":384},"source":"function bindMorphNames(submorphNames) {\n\tsubmorphNames.forEach(function(ea) {\n\t\tthis[ea]= this.getMorphNamed(ea)\n\t}, this)\n}","funcProperties":{"__isSmartRef__":true,"id":385},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"384":{"this":{"__isSmartRef__":true,"id":40}},"385":{},"386":{"varMapping":{"__isSmartRef__":true,"id":387},"source":"function doSearch(string) {\n\talert('searching ' + string);\n\tvar allItems = this.allScriptListItems();\n\tallItems.select(function(item) {})\n}","funcProperties":{"__isSmartRef__":true,"id":388},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"387":{"this":{"__isSmartRef__":true,"id":40}},"388":{},"389":{"varMapping":{"__isSmartRef__":true,"id":390},"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":391},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"390":{"this":{"__isSmartRef__":true,"id":40}},"391":{},"392":{"varMapping":{"__isSmartRef__":true,"id":393},"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":394},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"393":{"this":{"__isSmartRef__":true,"id":40}},"394":{},"395":{"varMapping":{"__isSmartRef__":true,"id":396},"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":397},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"396":{"this":{"__isSmartRef__":true,"id":40}},"397":{},"398":{"varMapping":{"__isSmartRef__":true,"id":399},"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":400},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"399":{"this":{"__isSmartRef__":true,"id":40}},"400":{},"401":{"varMapping":{"__isSmartRef__":true,"id":402},"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":403},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"402":{"this":{"__isSmartRef__":true,"id":40}},"403":{},"404":{"varMapping":{"__isSmartRef__":true,"id":405},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":406},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"405":{"this":{"__isSmartRef__":true,"id":40}},"406":{},"407":{"varMapping":{"__isSmartRef__":true,"id":408},"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":409},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"408":{"this":{"__isSmartRef__":true,"id":40}},"409":{},"410":{"varMapping":{"__isSmartRef__":true,"id":411},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":412},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"411":{"this":{"__isSmartRef__":true,"id":40}},"412":{},"413":{"varMapping":{"__isSmartRef__":true,"id":414},"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":415},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"414":{"this":{"__isSmartRef__":true,"id":40}},"415":{},"416":{"varMapping":{"__isSmartRef__":true,"id":417},"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":418},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"417":{"this":{"__isSmartRef__":true,"id":40}},"418":{},"419":{"varMapping":{"__isSmartRef__":true,"id":420},"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":421},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"420":{"this":{"__isSmartRef__":true,"id":40}},"421":{},"422":{"varMapping":{"__isSmartRef__":true,"id":423},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n\n\tpane.highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":424},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"423":{"this":{"__isSmartRef__":true,"id":40}},"424":{},"425":{"varMapping":{"__isSmartRef__":true,"id":426},"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}","funcProperties":{"__isSmartRef__":true,"id":427},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"426":{"this":{"__isSmartRef__":true,"id":40}},"427":{},"428":{"varMapping":{"__isSmartRef__":true,"id":429},"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":430},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"429":{"this":{"__isSmartRef__":true,"id":40}},"430":{},"431":{"varMapping":{"__isSmartRef__":true,"id":432},"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":433},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"432":{"this":{"__isSmartRef__":true,"id":40}},"433":{},"434":{"varMapping":{"__isSmartRef__":true,"id":435},"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":436},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"435":{"this":{"__isSmartRef__":true,"id":40}},"436":{},"437":{"varMapping":{"__isSmartRef__":true,"id":438},"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":439},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"438":{"this":{"__isSmartRef__":true,"id":40}},"439":{},"440":{"varMapping":{"__isSmartRef__":true,"id":441},"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":442},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"441":{"this":{"__isSmartRef__":true,"id":40}},"442":{},"443":{"submorphs":[{"__isSmartRef__":true,"id":444},{"__isSmartRef__":true,"id":453},{"__isSmartRef__":true,"id":490},{"__isSmartRef__":true,"id":515}],"scripts":[],"id":18206,"shape":{"__isSmartRef__":true,"id":541},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":552},"_Position":{"__isSmartRef__":true,"id":553},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":39},"label":{"__isSmartRef__":true,"id":444},"closeButton":{"__isSmartRef__":true,"id":453},"menuButton":{"__isSmartRef__":true,"id":490},"collapseButton":{"__isSmartRef__":true,"id":515},"priorExtent":{"__isSmartRef__":true,"id":554},"owner":{"__isSmartRef__":true,"id":39},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"444":{"submorphs":[],"scripts":[],"id":18207,"shape":{"__isSmartRef__":true,"id":445},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":448},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":449},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":450}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":443},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.Text"},"445":{"_Position":{"__isSmartRef__":true,"id":446},"_Extent":{"__isSmartRef__":true,"id":447},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":364},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"446":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"447":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"448":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"449":{"x":362.04045954045955,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"450":{"style":{"__isSmartRef__":true,"id":451},"morph":{"__isSmartRef__":true,"id":444},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ScriptEditorPane","__LivelyClassName__":"lively.morphic.TextChunk"},"451":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"452":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"453":{"submorphs":[{"__isSmartRef__":true,"id":454}],"scripts":[],"id":18208,"shape":{"__isSmartRef__":true,"id":463},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":477},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":467},"lighterFill":{"__isSmartRef__":true,"id":478},"label":{"__isSmartRef__":true,"id":454},"owner":{"__isSmartRef__":true,"id":443},"layout":{"__isSmartRef__":true,"id":487},"attributeConnections":[{"__isSmartRef__":true,"id":488},{"__isSmartRef__":true,"id":489}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"454":{"submorphs":[],"scripts":[],"id":18209,"shape":{"__isSmartRef__":true,"id":455},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":458},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":459},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":460}],"owner":{"__isSmartRef__":true,"id":453},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":462},"__LivelyClassName__":"lively.morphic.Text"},"455":{"_Position":{"__isSmartRef__":true,"id":456},"_Extent":{"__isSmartRef__":true,"id":457},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":364},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"456":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"457":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"458":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"459":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"460":{"style":{"__isSmartRef__":true,"id":461},"morph":{"__isSmartRef__":true,"id":454},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"461":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"462":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"463":{"_Position":{"__isSmartRef__":true,"id":464},"_Extent":{"__isSmartRef__":true,"id":465},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":466},"_Fill":{"__isSmartRef__":true,"id":467},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"464":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"465":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"466":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"467":{"stops":[{"__isSmartRef__":true,"id":468},{"__isSmartRef__":true,"id":470},{"__isSmartRef__":true,"id":472},{"__isSmartRef__":true,"id":474}],"vector":{"__isSmartRef__":true,"id":476},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"468":{"offset":0,"color":{"__isSmartRef__":true,"id":469}},"469":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"470":{"offset":0.4,"color":{"__isSmartRef__":true,"id":471}},"471":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"472":{"offset":0.6,"color":{"__isSmartRef__":true,"id":473}},"473":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"474":{"offset":1,"color":{"__isSmartRef__":true,"id":475}},"475":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"476":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"477":{"x":832.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"478":{"stops":[{"__isSmartRef__":true,"id":479},{"__isSmartRef__":true,"id":481},{"__isSmartRef__":true,"id":483},{"__isSmartRef__":true,"id":485}],"vector":{"__isSmartRef__":true,"id":476},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"479":{"offset":0,"color":{"__isSmartRef__":true,"id":480}},"480":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"481":{"offset":0.4,"color":{"__isSmartRef__":true,"id":482}},"482":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"483":{"offset":0.6,"color":{"__isSmartRef__":true,"id":484}},"484":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"485":{"offset":1,"color":{"__isSmartRef__":true,"id":486}},"486":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"487":{"moveHorizontal":true},"488":{"sourceObj":{"__isSmartRef__":true,"id":453},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"489":{"sourceObj":{"__isSmartRef__":true,"id":453},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"490":{"submorphs":[{"__isSmartRef__":true,"id":491}],"scripts":[],"id":18210,"shape":{"__isSmartRef__":true,"id":500},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":503},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":467},"lighterFill":{"__isSmartRef__":true,"id":504},"label":{"__isSmartRef__":true,"id":491},"owner":{"__isSmartRef__":true,"id":443},"attributeConnections":[{"__isSmartRef__":true,"id":513},{"__isSmartRef__":true,"id":514}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"halos":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"491":{"submorphs":[],"scripts":[],"id":18211,"shape":{"__isSmartRef__":true,"id":492},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":495},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":496},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":497}],"owner":{"__isSmartRef__":true,"id":490},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":499},"__LivelyClassName__":"lively.morphic.Text"},"492":{"_Position":{"__isSmartRef__":true,"id":493},"_Extent":{"__isSmartRef__":true,"id":494},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":364},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"493":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"494":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"495":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"496":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"497":{"style":{"__isSmartRef__":true,"id":498},"morph":{"__isSmartRef__":true,"id":491},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"498":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"499":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"500":{"_Position":{"__isSmartRef__":true,"id":501},"_Extent":{"__isSmartRef__":true,"id":502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":466},"_Fill":{"__isSmartRef__":true,"id":467},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"501":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"502":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"503":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"504":{"stops":[{"__isSmartRef__":true,"id":505},{"__isSmartRef__":true,"id":507},{"__isSmartRef__":true,"id":509},{"__isSmartRef__":true,"id":511}],"vector":{"__isSmartRef__":true,"id":476},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"505":{"offset":0,"color":{"__isSmartRef__":true,"id":506}},"506":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"507":{"offset":0.4,"color":{"__isSmartRef__":true,"id":508}},"508":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"509":{"offset":0.6,"color":{"__isSmartRef__":true,"id":510}},"510":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"511":{"offset":1,"color":{"__isSmartRef__":true,"id":512}},"512":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"513":{"sourceObj":{"__isSmartRef__":true,"id":490},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"514":{"sourceObj":{"__isSmartRef__":true,"id":490},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"515":{"submorphs":[{"__isSmartRef__":true,"id":516}],"scripts":[],"id":18212,"shape":{"__isSmartRef__":true,"id":525},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":528},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":467},"lighterFill":{"__isSmartRef__":true,"id":529},"label":{"__isSmartRef__":true,"id":516},"owner":{"__isSmartRef__":true,"id":443},"layout":{"__isSmartRef__":true,"id":538},"attributeConnections":[{"__isSmartRef__":true,"id":539},{"__isSmartRef__":true,"id":540}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"516":{"submorphs":[],"scripts":[],"id":18213,"shape":{"__isSmartRef__":true,"id":517},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":520},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":521},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":522}],"owner":{"__isSmartRef__":true,"id":515},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":524},"__LivelyClassName__":"lively.morphic.Text"},"517":{"_Position":{"__isSmartRef__":true,"id":518},"_Extent":{"__isSmartRef__":true,"id":519},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":364},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"518":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"519":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"520":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"521":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"522":{"style":{"__isSmartRef__":true,"id":523},"morph":{"__isSmartRef__":true,"id":516},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"523":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"524":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"525":{"_Position":{"__isSmartRef__":true,"id":526},"_Extent":{"__isSmartRef__":true,"id":527},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":466},"_Fill":{"__isSmartRef__":true,"id":467},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"526":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"527":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"528":{"x":813.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"529":{"stops":[{"__isSmartRef__":true,"id":530},{"__isSmartRef__":true,"id":532},{"__isSmartRef__":true,"id":534},{"__isSmartRef__":true,"id":536}],"vector":{"__isSmartRef__":true,"id":476},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"530":{"offset":0,"color":{"__isSmartRef__":true,"id":531}},"531":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"532":{"offset":0.4,"color":{"__isSmartRef__":true,"id":533}},"533":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"534":{"offset":0.6,"color":{"__isSmartRef__":true,"id":535}},"535":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"536":{"offset":1,"color":{"__isSmartRef__":true,"id":537}},"537":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"538":{"moveHorizontal":true},"539":{"sourceObj":{"__isSmartRef__":true,"id":515},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"540":{"sourceObj":{"__isSmartRef__":true,"id":515},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":39},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"541":{"_Position":{"__isSmartRef__":true,"id":542},"_Extent":{"__isSmartRef__":true,"id":543},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":45},"_Fill":{"__isSmartRef__":true,"id":544},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"542":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"543":{"x":852.0809190809191,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"544":{"stops":[{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":549}],"vector":{"__isSmartRef__":true,"id":551},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"545":{"offset":0,"color":{"__isSmartRef__":true,"id":546}},"546":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"547":{"offset":0.6,"color":{"__isSmartRef__":true,"id":548}},"548":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"549":{"offset":1,"color":{"__isSmartRef__":true,"id":550}},"550":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"551":{"x":0,"y":1,"width":0,"height":-1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"552":{"resizeWidth":true,"adjustForNewBounds":true},"553":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"554":{"x":852.0809190809191,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"555":{"submorphs":[],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":556},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":561},"showsHalos":false,"halos":[],"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":562},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":563},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":39},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":564},"__LivelyClassName__":"lively.morphic.Box"},"556":{"position":{"__isSmartRef__":true,"id":557},"_Extent":{"__isSmartRef__":true,"id":558},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":559},"_Fill":{"__isSmartRef__":true,"id":560},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"557":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"558":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"559":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"560":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"561":{"x":839.0809190809191,"y":527.0019980019979,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"562":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"563":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"564":{"onDrag":{"__isSmartRef__":true,"id":565},"onDragEnd":{"__isSmartRef__":true,"id":572},"onDragStart":{"__isSmartRef__":true,"id":579}},"565":{"varMapping":{"__isSmartRef__":true,"id":566},"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":571},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"566":{"this":{"__isSmartRef__":true,"id":555},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":567}},"567":{"$super":{"__isSmartRef__":true,"id":568}},"568":{"varMapping":{"__isSmartRef__":true,"id":569},"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":570},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"569":{"obj":{"__isSmartRef__":true,"id":555},"name":"onDrag"},"570":{},"571":{},"572":{"varMapping":{"__isSmartRef__":true,"id":573},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":578},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"573":{"this":{"__isSmartRef__":true,"id":555},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":574}},"574":{"$super":{"__isSmartRef__":true,"id":575}},"575":{"varMapping":{"__isSmartRef__":true,"id":576},"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":577},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"576":{"obj":{"__isSmartRef__":true,"id":555},"name":"onDragEnd"},"577":{},"578":{},"579":{"varMapping":{"__isSmartRef__":true,"id":580},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":585},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"580":{"this":{"__isSmartRef__":true,"id":555},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":581}},"581":{"$super":{"__isSmartRef__":true,"id":582}},"582":{"varMapping":{"__isSmartRef__":true,"id":583},"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":584},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"583":{"obj":{"__isSmartRef__":true,"id":555},"name":"onDragStart"},"584":{},"585":{},"586":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":587},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"587":{"x":852.0809190809191,"y":542.0019980019979,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"588":{"adjustForNewBounds":true},"589":{"x":911.7619528891457,"y":125.76420930538052,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"590":{"x":852.0809190809191,"y":542.0019980019979,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"591":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"592":{"x":1015,"y":142,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"593":{"requiredModules":[],"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"594":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":595},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":599},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.HandMorph"},"595":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":596},"_Extent":{"__isSmartRef__":true,"id":597},"_Fill":{"__isSmartRef__":true,"id":598},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"596":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"597":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"598":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"599":{"x":843,"y":222,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"600":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":601},"_Extent":{"__isSmartRef__":true,"id":602},"_Fill":{"__isSmartRef__":true,"id":603},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"601":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"602":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"603":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"604":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"605":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"isSimplifiedRegistry":true}}]]>