{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1}],"scripts":[],"id":"75DE02EA-F322-489F-B054-B418B658710B","shape":{"__isSmartRef__":true,"id":5},"droppingEnabled":true,"halosEnabled":true,"selectedIndexes":[],"showsHalos":false,"name":"WorldHierarchyList","partsBinMetaInfo":{"__isSmartRef__":true,"id":6},"_ClipMode":{"__isSmartRef__":true,"id":15},"eventHandler":{"__isSmartRef__":true,"id":16},"derivationIds":[2860,"30186701-49A1-49AD-A42F-27F425D92029","ADD09343-51ED-44F6-85F3-257C9A52C897","C1C00AC4-F3E1-44E1-8973-0E9903EFE3B9","2B85E408-84FC-4316-BD59-0C77BB49E637","C517EB25-6C5C-43DD-A273-1A5FC2B4C920","2588B929-E406-4461-B725-2012493293E9","AD837FD7-3154-44D4-A8B6-D06AD6BFDA2C","5F6DB939-7B80-4132-802C-B35155DE6FC4"],"isBeingDragged":false,"changeTriggered":true,"grabbingEnabled":false,"_FontSize":10,"moved":true,"itemMorphs":[],"layout":{"__isSmartRef__":true,"id":17},"listModel":[],"prevScroll":[0,17],"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"itemList":[],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Lists","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(340.0,-11.0)"},"1":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2},"_ClipMode":"visible","derivationIds":["5B4469C4-350D-4551-89E3-0CCAA4874419","99AE6204-7A5A-47D1-AE7C-1B39DB42669D","99B014BD-207F-4071-9F74-35799B5E8BCA","3483CC1D-83B4-4938-94DE-E1AE4375DF99","069DAF40-A6CB-4F0B-8BB2-7E97ED8D1B86","F493BD49-74C1-4F1C-9C09-F03AD58D4C7E"],"id":"508BC57E-1D2A-4CA2-942E-04D95BB5058D","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":3},"showsHalos":false,"layout":{"__isSmartRef__":true,"id":4},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"2":{"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(491.0,4.0)","_Padding":"lively.rect(0,0,0,0)"},"3":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4":{"resizeWidth":true,"adjustForNewBounds":true},"5":{"_BorderWidth":0,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(491.0,191.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(183,255,34)","_Padding":"lively.rect(0,0,0,0)"},"6":{"partsSpaceName":"PartsBin/Visualization/","migrationLevel":8,"partName":"WorldHierarchyList","comment":"A list morph with functions prepared for displaying a world graph.","changes":[{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":14}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Mon Sep 30 2013 14:32:01 GMT-0700 (PDT)\")"},"7":{"author":"undefined","message":"Click on scrollbar does not grab list","id":"16AABF98-2E7D-4875-9E66-CF86EB74AF93","__serializedExpressions__":["date"],"date":"new Date(\"Thu Mar 29 2012 05:39:24 GMT-0700 (PDT)\")"},"8":{"author":"robertkrahn","message":"new morphic lists","id":"ACF81045-E200-4DA6-B0C6-B9AB94590E84","__serializedExpressions__":["date"],"date":"new Date(\"Mon Sep 30 2013 14:32:00 GMT-0700 (PDT)\")"},"9":{"author":"robertkrahn","message":"no comment","id":"3D0531CA-D241-4692-89F0-2FCC7621B8DE","__serializedExpressions__":["date"],"date":"new Date(\"Tue Oct 01 2013 15:29:07 GMT-0700 (PDT)\")"},"10":{"author":"athomschke","message":"trying to overwrite this false transform","id":"CB73CE61-EE59-4C3E-A1A5-77611DAEBB79","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 25 2014 10:44:15 GMT-0700 (PDT)\")"},"11":{"author":"athomschke","message":"rewrote to use the list model","id":"30A336F9-C68B-4DA4-B7EF-D192674E7EAB","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 25 2014 11:22:38 GMT-0700 (PDT)\")"},"12":{"author":"athomschke","message":"renamed it","id":"C57C3F2C-1BB7-419F-8B60-79FDAB70F4D2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 25 2014 15:23:37 GMT-0700 (PDT)\")"},"13":{"author":"athomschke","message":"renamed again","id":"7124E536-B7F5-428F-A3F7-968303EC23EA","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 25 2014 15:24:25 GMT-0700 (PDT)\")"},"14":{"__serializedExpressions__":["date"],"author":"athomschke","message":"removes a connection","id":"DDE8524E-2235-44EF-9439-B88080B6F7B8","date":"new Date(\"Fri Apr 25 2014 16:44:14 GMT-0700 (PDT)\")"},"15":{"x":"hidden","y":"scroll"},"16":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17":{"listItemHeight":19,"padding":0,"maxListItems":11,"noOfCandidatesShown":1,"adjustForNewBounds":true,"__serializedExpressions__":["extent","maxExtent"],"extent":"lively.pt(491.0,191.0)","maxExtent":"lively.pt(491.0,191.0)"},"18":{"isMatch":{"__isSmartRef__":true,"id":19},"onMouseUp":{"__isSmartRef__":true,"id":22},"reset":{"__isSmartRef__":true,"id":29},"updateList":{"__isSmartRef__":true,"id":32},"getModelFor":{"__isSmartRef__":true,"id":39}},"19":{"varMapping":{"__isSmartRef__":true,"id":20},"source":"function isMatch(morph, type, text) {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":21},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"20":{"this":{"__isSmartRef__":true,"id":0}},"21":{"user":"athomschke","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Apr 25 2014 10:42:12 GMT-0700 (PDT)\")"},"22":{"varMapping":{"__isSmartRef__":true,"id":23},"source":"function onMouseUp(evt) {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":28},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"23":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":24}},"24":{"$super":{"__isSmartRef__":true,"id":25}},"25":{"varMapping":{"__isSmartRef__":true,"id":26},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":27},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"26":{"obj":{"__isSmartRef__":true,"id":0},"name":"onMouseUp"},"27":{},"28":{"user":"athomschke","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Apr 25 2014 10:42:12 GMT-0700 (PDT)\")"},"29":{"varMapping":{"__isSmartRef__":true,"id":30},"source":"function reset() {\n    this.setList([]);\n    this.listModel = [];\n}","funcProperties":{"__isSmartRef__":true,"id":31},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"30":{"this":{"__isSmartRef__":true,"id":0}},"31":{"user":"athomschke","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Apr 25 2014 10:42:12 GMT-0700 (PDT)\")"},"32":{"varMapping":{"__isSmartRef__":true,"id":33},"source":"function updateList(type, text) {\n    var morphs = [];\n    var graphString = Strings.printTree(\n            this.world(),                       // starting point\n            Global.String,                      // get a morphs string representation\n            function selectSubmorphs (morph) {  // what to run recursion on\n                morphs.push(morph);\n                return morph.submorphs;\n            },\n            '   ')                              // indentation\n    this.setList(this.getModelFor(graphString.split('\\n'), morphs));\n}","funcProperties":{"__isSmartRef__":true,"id":38},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"33":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":34}},"34":{"$super":{"__isSmartRef__":true,"id":35}},"35":{"varMapping":{"__isSmartRef__":true,"id":36},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":37},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"36":{"obj":{"__isSmartRef__":true,"id":0},"name":"updateList"},"37":{},"38":{"user":"athomschke","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Apr 25 2014 11:22:10 GMT-0700 (PDT)\")"},"39":{"varMapping":{"__isSmartRef__":true,"id":40},"source":"function getModelFor(stringArray, objectArray) {\n    if (stringArray.length === objectArray.length) {\n        return stringArray.collect(function (s, i) {\n            return {\n                isListItem: true,\n                string: s,\n                value: objectArray[i]\n            }\n        })\n    } else {\n        alert('Impossible, can only use strings here');\n        return stringArray;\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":41},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"40":{"this":{"__isSmartRef__":true,"id":0}},"41":{"user":"athomschke","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Fri Apr 25 2014 11:16:11 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}