{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":94},{"__isSmartRef__":true,"id":119}],"scripts":[],"id":"69DBCE64-9987-4B76-9E4B-02E5C7902660","shape":{"__isSmartRef__":true,"id":136},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"RelativeLinkNavigation","partsBinMetaInfo":{"__isSmartRef__":true,"id":137},"eventHandler":{"__isSmartRef__":true,"id":147},"layout":{"__isSmartRef__":true,"id":148},"__serializedExpressions__":["distanceToDragEvent","_Position"],"isInLayoutCycle":false,"derivationIds":[1800,"485EDB23-29AD-43ED-9004-D4D94AE67B08","DB8DB8DF-3D09-4426-89B5-496E3A8C9C61","5F482A58-452F-464D-8438-34353D64236F"],"moved":true,"isBeingDragged":false,"prevScroll":[0,0],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":149},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(321.0,-17.0)","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2}],"scripts":[],"id":"307628C5-17FF-441F-AF9F-6EC10EE8FA78","shape":{"__isSmartRef__":true,"id":7},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13},"lighterFill":{"__isSmartRef__":true,"id":18},"label":{"__isSmartRef__":true,"id":2},"attributeConnections":[{"__isSmartRef__":true,"id":23}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__serializedExpressions__":["padding","distanceToDragEvent","_Position"],"name":"reloadButton1","partsBinMetaInfo":{"__isSmartRef__":true,"id":46},"eventHandler":{"__isSmartRef__":true,"id":47},"owner":{"__isSmartRef__":true,"id":0},"derivationIds":[9279,"FB2E3506-9D27-4EF0-B450-2C31FEC40DBA","00BE38F3-1972-4499-B066-04B39A2919C6","59C5F6C2-4C37-42D5-9BF2-BE928B437383"],"_ClipMode":"visible","isPressed":false,"layout":{"__isSmartRef__":true,"id":48},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(29.0,-16.0)","_Position":"lively.pt(211.0,6.0)"},"2":{"submorphs":[],"scripts":[],"id":"D977AB1F-5E38-4552-B035-79C094474025","shape":{"__isSmartRef__":true,"id":3},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":17,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"owner":{"__isSmartRef__":true,"id":1},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":4}],"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","eventHandler":{"__isSmartRef__":true,"id":6},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[9280,"9FE60C06-7E74-4412-9A9A-F30F97EA9F2A","0C50783F-6851-4412-94F3-EEDD8ED103B4","F84F7CBB-5787-41F7-AD9F-3E4A289A30E1"],"_MinTextWidth":17,"_MinTextHeight":null,"_FontSize":8,"_WordBreak":"break-all","_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"3":{"borderWidth":0,"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_ClipMode":"hidden","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,18.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"4":{"style":{"__isSmartRef__":true,"id":5},"chunkOwner":{"__isSmartRef__":true,"id":2},"storedString":"⟳","_id":"_31","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_Fill":{"__isSmartRef__":true,"id":8},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,18.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"8":{"stops":[{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":12}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"9":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"10":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"11":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"12":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"13":{"stops":[{"__isSmartRef__":true,"id":14},{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":16},{"__isSmartRef__":true,"id":17}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"14":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"16":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"17":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"18":{"stops":[{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":22}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"19":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"20":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"21":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"22":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"23":{"sourceObj":{"__isSmartRef__":true,"id":1},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"updateLinks","visualConnector":{"__isSmartRef__":true,"id":24},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"24":{"submorphs":[{"__isSmartRef__":true,"id":25}],"scripts":[],"shape":{"__isSmartRef__":true,"id":32},"id":9714,"eventHandler":{"__isSmartRef__":true,"id":35},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":37}],"con":{"__isSmartRef__":true,"id":23},"showsMorphMenu":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":38},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"25":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":26},"id":9715,"eventHandler":{"__isSmartRef__":true,"id":31},"droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Origin","_Position"],"owner":{"__isSmartRef__":true,"id":24},"_Rotation":-2.8473648707070347,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Origin":"lively.pt(12.0,6.0)","_Position":"lively.pt(-12.0,-6.0)"},"26":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":30}],"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(16.0,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"27":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"28":{"isAbsolute":true,"x":0,"y":12,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"29":{"isAbsolute":true,"x":16,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"30":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"31":{"morph":{"__isSmartRef__":true,"id":25},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"32":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":34}],"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(9.9,3.0)","_BorderColor":"Color.rgb(0,0,0)"},"33":{"isAbsolute":true,"x":9.92982885971469,"y":3.008965517942471,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"34":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"35":{"morph":{"__isSmartRef__":true,"id":24},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"36":{"morph":{"__isSmartRef__":true,"id":24},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"37":{"morph":{"__isSmartRef__":true,"id":24},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":25},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"38":{"morphMenuItems":{"__isSmartRef__":true,"id":39}},"39":{"varMapping":{"__isSmartRef__":true,"id":40},"source":"function morphMenuItems() {\n            var visualConnector = this, con = this.con, world = this.world();\n            var items = [\n                ['edit converter', function() {\n                    var source = con.converterString || 'function converter(value) {\\n    return value\\n}',\n                        editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n                    editor.doitContext = con;\n                    connect(editor, 'savedTextString', con, 'converterString', {updater:\n                        function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n                    connect(editor, 'savedTextString', world, 'alertOK', {converter: \n                        function() { return 'setting new converter' }})\n                    editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n                    var title = con.targetObj.name && con.sourceObj.name ?\n                        'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n                        'Editor for converter function';\n                    var window = world.addFramedMorph(editor, title)\n                    window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n                }],\n                ['hide', function() {\n                    visualConnector.disconnectFromMagnets();\n                    visualConnector.remove();\n                }],\n                ['disconnect', function() {\n                    alertOK('Disconnected ' + visualConnector.con);\n                    visualConnector.con.visualDisconnect();\n                }],\n                ['cancel', function() {}],\n            ];\n            return items;\n        }","funcProperties":{"__isSmartRef__":true,"id":45},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"40":{"this":{"__isSmartRef__":true,"id":24},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":41}},"41":{"$super":{"__isSmartRef__":true,"id":42}},"42":{"varMapping":{"__isSmartRef__":true,"id":43},"source":"function () {\n                try {\n                    return obj.constructor.prototype[name].apply(obj, arguments)\n                } catch(e) {\n                    alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":44},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"43":{"obj":{"__isSmartRef__":true,"id":24},"name":"morphMenuItems"},"44":{},"45":{},"46":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"47":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"48":{"resizeWidth":false,"resizeHeight":false,"moveVertical":false,"moveHorizontal":true},"49":{"submorphs":[{"__isSmartRef__":true,"id":50}],"scripts":[],"id":"F37C4443-B590-4F19-8C10-921E8E4B888D","shape":{"__isSmartRef__":true,"id":68},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"__serializedExpressions__":["_Position"],"showsHalos":false,"name":"Container","partsBinMetaInfo":{"__isSmartRef__":true,"id":69},"eventHandler":{"__isSmartRef__":true,"id":87},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785"],"partTests":{"__isSmartRef__":true,"id":88},"_ClipMode":"scroll","moved":true,"owner":{"__isSmartRef__":true,"id":0},"_PreviousBorderWidth":1,"layout":{"__isSmartRef__":true,"id":93},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(8.0,39.0)"},"50":{"submorphs":[],"scripts":[],"id":"2AECFC93-C2A3-499F-9080-D4846DA3255F","shape":{"__isSmartRef__":true,"id":51},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"_MaxTextWidth":191.28678642376224,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"LinksText","partsBinMetaInfo":{"__isSmartRef__":true,"id":52},"textChunks":[{"__isSmartRef__":true,"id":53},{"__isSmartRef__":true,"id":55},{"__isSmartRef__":true,"id":57},{"__isSmartRef__":true,"id":59},{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":65}],"charsReplaced":"s","lastFindLoc":6,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":67},"owner":{"__isSmartRef__":true,"id":49},"_ClipMode":"visible","derivationIds":[2018,"CB846027-CAD0-4CBB-B9C3-9FBBAA4F2F19","95FB551B-3A09-4D85-BA90-15FD3F07F2E9","590A9695-4648-4991-8231-4DBE989502E4"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":191.28678642376224,"_MinTextHeight":null,"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(2.0,0.0)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(126.0,-18.0)"},"51":{"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(191.3,126.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"52":{"partsSpaceName":"PartsBin/Basic","migrationLevel":2,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"53":{"_id":"_14603","style":{"__isSmartRef__":true,"id":54},"chunkOwner":{"__isSmartRef__":true,"id":50},"storedString":"search\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"54":{"uri":"http://lively-kernel.org/repository/webwerkstatt/users/jenslincke/draft/search.xhtml","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"55":{"_id":"_14604","style":{"__isSmartRef__":true,"id":56},"chunkOwner":{"__isSmartRef__":true,"id":50},"storedString":"empty\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"56":{"uri":"http://lively-kernel.org/repository/webwerkstatt/users/jenslincke/draft/empty.xhtml","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"57":{"_id":"_14605","style":{"__isSmartRef__":true,"id":58},"chunkOwner":{"__isSmartRef__":true,"id":50},"storedString":"WorldSearch\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"58":{"uri":"http://lively-kernel.org/repository/webwerkstatt/users/jenslincke/draft/WorldSearch.xhtml","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"59":{"_id":"_14606","style":{"__isSmartRef__":true,"id":60},"chunkOwner":{"__isSmartRef__":true,"id":50},"storedString":"PartSearch\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"60":{"uri":"http://lively-kernel.org/repository/webwerkstatt/users/jenslincke/draft/PartSearch.xhtml","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"61":{"_id":"_14607","style":{"__isSmartRef__":true,"id":62},"chunkOwner":{"__isSmartRef__":true,"id":50},"storedString":"MindMaps\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"62":{"uri":"http://lively-kernel.org/repository/webwerkstatt/users/jenslincke/draft/MindMaps.xhtml","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"63":{"_id":"_14608","style":{"__isSmartRef__":true,"id":64},"chunkOwner":{"__isSmartRef__":true,"id":50},"storedString":"CopyAndPasteHack\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"64":{"uri":"http://lively-kernel.org/repository/webwerkstatt/users/jenslincke/draft/CopyAndPasteHack.xhtml","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"65":{"_id":"_14609","style":{"__isSmartRef__":true,"id":66},"chunkOwner":{"__isSmartRef__":true,"id":50},"storedString":"CopyAndPaste\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"66":{"uri":"http://lively-kernel.org/repository/webwerkstatt/users/jenslincke/draft/CopyAndPaste.xhtml","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"67":{"morph":{"__isSmartRef__":true,"id":50},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"68":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,273.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"69":{"partsSpaceName":"PartsBin/Basic","comment":"A simple box morph. A really orange one. Its amazing what you can build out of simple boxes.... Who needs stars when you got orange rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":70},{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":74},{"__isSmartRef__":true,"id":76},{"__isSmartRef__":true,"id":78},{"__isSmartRef__":true,"id":80},{"__isSmartRef__":true,"id":82},{"__isSmartRef__":true,"id":84}],"lastModifiedDate":{"__isSmartRef__":true,"id":86},"revisionOnLoad":184624,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"70":{"date":{"__isSmartRef__":true,"id":71},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"71":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"72":{"date":{"__isSmartRef__":true,"id":73},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"73":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"74":{"date":{"__isSmartRef__":true,"id":75},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"75":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"76":{"date":{"__isSmartRef__":true,"id":77},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"77":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"78":{"date":{"__isSmartRef__":true,"id":79},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"79":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"80":{"date":{"__isSmartRef__":true,"id":81},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"81":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"82":{"date":{"__isSmartRef__":true,"id":83},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"83":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"84":{"date":{"__isSmartRef__":true,"id":85},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"85":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"86":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:33:25 GMT+0100 (CET)"},"87":{"morph":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"88":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":89}},"89":{"test01IsMorph":{"__isSmartRef__":true,"id":90}},"90":{"varMapping":{"__isSmartRef__":true,"id":91},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":92},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"91":{"this":{"__isSmartRef__":true,"id":88}},"92":{},"93":{"resizeWidth":true,"resizeHeight":true},"94":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":95},"eventHandler":{"__isSmartRef__":true,"id":96},"_ClipMode":"visible","derivationIds":["17B3BC36-2070-4502-AE8F-BF6237D04AF0"],"id":"D23A8E7C-B620-49A7-BD8D-8138B5EAF04C","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["reframe-handle corner"],"showsHalos":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"name":"Box","owner":{"__isSmartRef__":true,"id":0},"dragStartPoint":null,"originalTargetExtent":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":97},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(219.7,307.8)","distanceToDragEvent":"lively.pt(36.0,-17.0)"},"95":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(14.0,14.0)","_Padding":"lively.rect(0,0,0,0)"},"96":{"morph":{"__isSmartRef__":true,"id":94},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"97":{"onDragStart":{"__isSmartRef__":true,"id":98},"onDrag":{"__isSmartRef__":true,"id":105},"onDragEnd":{"__isSmartRef__":true,"id":112}},"98":{"varMapping":{"__isSmartRef__":true,"id":99},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"99":{"this":{"__isSmartRef__":true,"id":94},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":100}},"100":{"$super":{"__isSmartRef__":true,"id":101}},"101":{"varMapping":{"__isSmartRef__":true,"id":102},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[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":103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"102":{"obj":{"__isSmartRef__":true,"id":94},"name":"onDragStart"},"103":{},"104":{},"105":{"varMapping":{"__isSmartRef__":true,"id":106},"source":"function onDrag(evt) {\n            var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n            if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n            this.owner.setExtent(newExtent);\n            //console.log(\"WindowExtent: \"+this.owner.getExtent().x+\" ,  \"+this.owner.getExtent().y);\n            this.align(this.bounds().bottomRight(), this.owner.getExtent());\n        }","funcProperties":{"__isSmartRef__":true,"id":111},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"106":{"this":{"__isSmartRef__":true,"id":94},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":107}},"107":{"$super":{"__isSmartRef__":true,"id":108}},"108":{"varMapping":{"__isSmartRef__":true,"id":109},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[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":110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"109":{"obj":{"__isSmartRef__":true,"id":94},"name":"onDrag"},"110":{},"111":{},"112":{"varMapping":{"__isSmartRef__":true,"id":113},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignBottomReframeHandle();\n            this.owner.alignRightReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":118},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"113":{"this":{"__isSmartRef__":true,"id":94},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":114}},"114":{"$super":{"__isSmartRef__":true,"id":115}},"115":{"varMapping":{"__isSmartRef__":true,"id":116},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[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":117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"116":{"obj":{"__isSmartRef__":true,"id":94},"name":"onDragEnd"},"117":{},"118":{},"119":{"submorphs":[],"scripts":[],"id":"2EC6F1C8-BE22-4903-8F4F-B45300D4C82B","shape":{"__isSmartRef__":true,"id":120},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"RelativeURL","partsBinMetaInfo":{"__isSmartRef__":true,"id":121},"textChunks":[{"__isSmartRef__":true,"id":133}],"charsReplaced":"Some Text\n","lastFindLoc":10,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":135},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[0,6],"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(7.0,6.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(119.9,-17.4)"},"120":{"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(177.5,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"121":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":122},{"__isSmartRef__":true,"id":124},{"__isSmartRef__":true,"id":126},{"__isSmartRef__":true,"id":128},{"__isSmartRef__":true,"id":130}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"122":{"date":{"__isSmartRef__":true,"id":123},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"123":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"124":{"date":{"__isSmartRef__":true,"id":125},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)).  This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"125":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"126":{"date":{"__isSmartRef__":true,"id":127},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"127":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"128":{"date":{"__isSmartRef__":true,"id":129},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"129":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"130":{"date":{"__isSmartRef__":true,"id":131},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"131":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"132":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"133":{"style":{"__isSmartRef__":true,"id":134},"morph":{"__isSmartRef__":true,"id":119},"chunkOwner":{"__isSmartRef__":true,"id":119},"storedString":"../../draft/","_id":"_11752","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"134":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"135":{"morph":{"__isSmartRef__":true,"id":119},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"136":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"scroll","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(233.7,321.8)","_BorderColor":"Color.rgb(214,214,214)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"137":{"partsSpaceName":"PartsBin/Wiki/","comment":" a navigation bar","migrationLevel":4,"partName":"RelativeLinkNavigation","revisionOnLoad":182411,"changes":[{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":144}],"lastModifiedDate":{"__isSmartRef__":true,"id":146},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"138":{"date":{"__isSmartRef__":true,"id":139},"author":"jenslincke","message":"no comment","id":"765EF5A3-3366-4250-B342-CB201287F22B"},"139":{"isSerializedDate":true,"string":"Thu Oct 11 2012 16:16:57 GMT+0200 (CEST)"},"140":{"date":{"__isSmartRef__":true,"id":141},"author":"jenslincke","message":"","id":"6C0E6F9E-6CD8-46F0-82BD-5D9C5348BED3"},"141":{"isSerializedDate":true,"string":"Thu Apr 05 2012 09:46:39 GMT+0200 (CEST)"},"142":{"date":{"__isSmartRef__":true,"id":143},"author":"jenslincke","message":"","id":"142F2FFC-04C9-482F-943E-0F5D3BD7F9DA"},"143":{"isSerializedDate":true,"string":"Tue Apr 10 2012 11:55:08 GMT+0200 (CEST)"},"144":{"date":{"__isSmartRef__":true,"id":145},"author":"jenslincke","message":"no comment","id":"329478F1-41B1-409A-832E-A8E6B26E5C44"},"145":{"isSerializedDate":true,"string":"Thu Nov 29 2012 11:15:36 GMT+0100 (CET)"},"146":{"isSerializedDate":true,"string":"Thu Oct 11 2012 16:15:23 GMT+0200 (CEST)"},"147":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"148":{"adjustForNewBounds":true},"149":{"onrestore":{"__isSmartRef__":true,"id":150},"updateLinks":{"__isSmartRef__":true,"id":158}},"150":{"varMapping":{"__isSmartRef__":true,"id":151},"source":"function onrestore() {\n    (function() {this.updateLinks()}).bind(this).delay(0)\n\n}","funcProperties":{"__isSmartRef__":true,"id":156},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"151":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":152}},"152":{"$super":{"__isSmartRef__":true,"id":153}},"153":{"varMapping":{"__isSmartRef__":true,"id":154},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[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":155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"154":{"obj":{"__isSmartRef__":true,"id":0},"name":"onrestore"},"155":{},"156":{"timestamp":{"__isSmartRef__":true,"id":157},"user":"jenslincke","tags":[]},"157":{"isSerializedDate":true,"string":"Thu Apr 05 2012 10:06:42 GMT+0200 (CEST)"},"158":{"varMapping":{"__isSmartRef__":true,"id":159},"source":"function updateLinks() {\n// this.updateLinks()\n    wr = new WebResource(URL.source.getDirectory().withFilename(this.get('RelativeURL').textString))\n    wr.getSubElements(0)\n    var links = wr.subDocuments.invoke('getURL').select(function(ea) {\n        return ea.filename().match(/.*\\.xhtml/)\n    })\n\n    chunks = links.sort().reverse().collect(function(ea) {\n        var linkName = ea.filename().replace(\".xhtml\", \"\")\n         return new lively.morphic.TextChunk(linkName +'\\n', \n            new lively.morphic.TextEmphasis({uri: ea.toString()}))\n    })\n    var rt = new lively.morphic.RichText(\"\")\n    rt.setTextChunks(chunks)\n\n    this.get('LinksText').setRichText(rt)\n\n}","funcProperties":{"__isSmartRef__":true,"id":160},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"159":{"this":{"__isSmartRef__":true,"id":0}},"160":{"timestamp":{"__isSmartRef__":true,"id":161},"user":"jenslincke","tags":[]},"161":{"isSerializedDate":true,"string":"Thu Nov 29 2012 11:13:19 GMT+0100 (CET)"},"isSimplifiedRegistry":true}}