-1) {\n var c = this.connectionList.selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n this.updateLists();\n this.displayInitialScript();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":1342},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1341":{"this":{"__isSmartRef__":true,"id":20}},"1342":{},"1343":{"varMapping":{"__isSmartRef__":true,"id":1344},"source":"function updateLists() {\n this.scriptList.setList(this.sortedScriptNamesOfObj(this.target));\n var scriptListItems = this.scriptList.getList();\n scriptListItems.unshift(\"-- ALL --\");\n this.scriptList.setList(scriptListItems);\n\n this.connectionList.setList(this.sortedConnectionNamesOfObj(this.target));\n var connectionListItems = this.connectionList.getList();\n connectionListItems.unshift(\"-- ALL --\");\n this.connectionList.setList(connectionListItems);\n}","funcProperties":{"__isSmartRef__":true,"id":1345},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1344":{"this":{"__isSmartRef__":true,"id":20}},"1345":{},"1346":{"varMapping":{"__isSmartRef__":true,"id":1347},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.selectAt(0);\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.selectAt(0);\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1348},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1347":{"this":{"__isSmartRef__":true,"id":20}},"1348":{},"1349":{"varMapping":{"__isSmartRef__":true,"id":1350},"source":"function reset() {\n this.target = null;\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.connectionList.setList();\n this.scriptPane.setTextString(\"\");\n this.morphSelector.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":1351},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1350":{"this":{"__isSmartRef__":true,"id":20}},"1351":{},"1352":{"varMapping":{"__isSmartRef__":true,"id":1353},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n var index = this.scriptList.getList().indexOf(addScriptMatches[0]);\n if (index > -1) { \n return this.scriptList.selectAt(index);\n }\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n editor.updateLists();\n editor.displayInitialScript();\n } \n }\n\n var message = 'Disconnect \"' + selection[0] +'\" connection?';\n var callback = disconnectConnection;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":1552},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1551":{"this":{"__isSmartRef__":true,"id":1498}},"1552":{"timestamp":{"__isSmartRef__":true,"id":1553},"user":"lauritz","categories":[]},"1553":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (W. Europe Standard Time)"},"1554":{"submorphs":[{"__isSmartRef__":true,"id":1555}],"scripts":[],"id":"C3866A9C-5148-40F3-8B1E-408255D66879","shape":{"__isSmartRef__":true,"id":1570},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1586},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1573},"lighterFill":{"__isSmartRef__":true,"id":1587},"label":{"__isSmartRef__":true,"id":1555},"attributeConnections":[{"__isSmartRef__":true,"id":1596}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1598},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1599},"renderContextTable":{"__isSmartRef__":true,"id":1600},"priorExtent":{"__isSmartRef__":true,"id":1601},"owner":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":1602},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":2},"distanceToDragEvent":{"__isSmartRef__":true,"id":1603},"derivationIds":[217,"FDC10087-12CF-4570-9211-8309CB6A9AA3","E18FC530-4B1F-4F08-8DA6-3866A3519E56","04A2AAC3-6A9E-40BB-9408-EBB2567EE63B","8C1A42CE-840C-4AAE-BD79-C93A445B9EBF","61FC11FA-B87E-4EFE-BD15-564D3178B68B","ED34F9B5-9E00-41B3-8313-D9C3D6B3B231","A7481F4B-D444-4B4F-BDA2-4F9F03AEC24D","7DDF7175-34FC-4521-A7C3-580A8BE63351","DEA39C05-FAD7-4882-AB3D-0EE12C3408F9","99186A50-1411-4B6F-B1CB-FF0742C20D7D"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1604},"__LivelyClassName__":"lively.morphic.Button"},"1555":{"submorphs":[],"scripts":[],"id":"6138FFC4-58C2-445B-B42A-BF52B3F1BD7B","shape":{"__isSmartRef__":true,"id":1556},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":21,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1562},"textColor":{"__isSmartRef__":true,"id":1559},"owner":{"__isSmartRef__":true,"id":1554},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1563}],"padding":{"__isSmartRef__":true,"id":1565},"_Padding":{"__isSmartRef__":true,"id":1566},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1567},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":1568},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1569},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":21,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[218,"852A7BD9-52EE-4708-A2D5-1BDECF33C958","7B4F173E-9726-472A-9B30-530D4AA92AD9","CBA217F6-2832-4213-9ABE-47753C1A4180","E6B97D1D-95D5-4644-9359-1D08D42A51F4","4391A57E-70C2-4628-9828-DD668CCE546E","F0C6C298-3B8B-42B2-B5E9-E5B82F607B01","DF0CAF75-4247-4797-B1A0-AD7444391E2A","B4C4F09B-F663-47A1-B85F-461D5452F5F8","FD966AB1-4685-4151-9A38-B1B21B0237EF","CA91FC2C-D7CC-4123-AFD2-108F8F0C2E97"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1556":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1557},"_Extent":{"__isSmartRef__":true,"id":1558},"_BorderColor":{"__isSmartRef__":true,"id":1559},"renderContextTable":{"__isSmartRef__":true,"id":1560},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1561},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1557":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1558":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1559":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1560":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1561":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1562":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1563":{"style":{"__isSmartRef__":true,"id":1564},"chunkOwner":{"__isSmartRef__":true,"id":1555},"storedString":"-","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1564":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1565":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1566":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1567":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1568":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1569":{"morph":{"__isSmartRef__":true,"id":1555},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1570":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1571},"_Extent":{"__isSmartRef__":true,"id":1572},"_Fill":{"__isSmartRef__":true,"id":1573},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1583},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1584},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1585},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1571":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1572":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1573":{"stops":[{"__isSmartRef__":true,"id":1574},{"__isSmartRef__":true,"id":1576},{"__isSmartRef__":true,"id":1578},{"__isSmartRef__":true,"id":1580}],"vector":{"__isSmartRef__":true,"id":1582},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1574":{"offset":0,"color":{"__isSmartRef__":true,"id":1575}},"1575":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1576":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1577}},"1577":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1578":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1579}},"1579":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1580":{"offset":1,"color":{"__isSmartRef__":true,"id":1581}},"1581":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1582":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1583":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1584":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1585":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1586":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1587":{"stops":[{"__isSmartRef__":true,"id":1588},{"__isSmartRef__":true,"id":1590},{"__isSmartRef__":true,"id":1592},{"__isSmartRef__":true,"id":1594}],"vector":{"__isSmartRef__":true,"id":1582},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1588":{"offset":0,"color":{"__isSmartRef__":true,"id":1589}},"1589":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1590":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1591}},"1591":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1592":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1593}},"1593":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1594":{"offset":1,"color":{"__isSmartRef__":true,"id":1595}},"1595":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1596":{"sourceObj":{"__isSmartRef__":true,"id":1554},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1554},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1597},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1597":{"source":{"__isSmartRef__":true,"id":1554},"target":{"__isSmartRef__":true,"id":1554}},"1598":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1599":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1600":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1601":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1602":{"morph":{"__isSmartRef__":true,"id":1554},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1603":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1604":{"deleteSelectedScript":{"__isSmartRef__":true,"id":1605}},"1605":{"varMapping":{"__isSmartRef__":true,"id":1606},"source":"function deleteSelectedScript() {\n\n var editor = this.objectEditorPane;\n var selection = editor.scriptList.selection;\n\n if (!editor.target || editor.scriptList.getList().size() < 2) \n return; \n\n var deleteScript = function (confirmed) {\n if (!confirmed) return;\n \n if (selection && editor.target) {\n if (!editor.target.hasOwnProperty(selection)) \n return;\n delete editor.target[selection];\n editor.updateLists();\n editor.displayInitialScript();\n }\n }\n\n var message = 'Delete \"' + selection + '\" script?';\n var callback = deleteScript;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":1607},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1606":{"this":{"__isSmartRef__":true,"id":1554}},"1607":{"timestamp":{"__isSmartRef__":true,"id":1608},"user":"lauritz"},"1608":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (W. Europe Standard Time)"},"1609":{"submorphs":[{"__isSmartRef__":true,"id":1610}],"scripts":[],"id":"77B056A8-26E4-45BF-80B3-1F4D4D8D3D12","shape":{"__isSmartRef__":true,"id":1626},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1642},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1629},"lighterFill":{"__isSmartRef__":true,"id":1643},"label":{"__isSmartRef__":true,"id":1610},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1652},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":1653},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":1654},"eventHandler":{"__isSmartRef__":true,"id":1655},"distanceToDragEvent":{"__isSmartRef__":true,"id":1656},"priorExtent":{"__isSmartRef__":true,"id":1657},"owner":{"__isSmartRef__":true,"id":2},"textString":"","selection":{"__isSmartRef__":true,"id":1658},"_ClipMode":"visible","prevScroll":[0,0],"listMorph":null,"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0CD057F2-3517-4849-A69E-1EF79B05ACE8","66EBBB7D-8FA7-4D43-AE78-A18DA3B970BA","A50C1893-4138-4E29-865B-92F53F76D08A","1EC5D2B9-3539-419A-8DD6-CE82DEABB02C","95DC06D5-F4C7-49E2-8A01-110D1B0AFBD0"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1675},"__LivelyClassName__":"lively.morphic.Button"},"1610":{"submorphs":[],"scripts":[],"id":"7C161F56-05CC-403E-8D42-C44F622E6B6D","shape":{"__isSmartRef__":true,"id":1611},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1617},"textColor":{"__isSmartRef__":true,"id":1614},"owner":{"__isSmartRef__":true,"id":1609},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1618}],"padding":{"__isSmartRef__":true,"id":1620},"_Padding":{"__isSmartRef__":true,"id":1620},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1621},"attributeConnections":[{"__isSmartRef__":true,"id":1622}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":1623},"eventHandler":{"__isSmartRef__":true,"id":1624},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","8B2F743A-98C5-45E1-B03C-5019114EAC47","D09C56C3-A2DC-4BDF-B8A1-6365138ECD01","74158C3D-B79E-43E7-B111-48701B10ACE2","B19E117B-E40F-4B9F-86AC-BFB2AAFD5336","4E3B3D72-E52C-44ED-AE32-78939BA1ECFD"],"_TextColor":{"__isSmartRef__":true,"id":1625},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1611":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1612},"_Extent":{"__isSmartRef__":true,"id":1613},"_BorderColor":{"__isSmartRef__":true,"id":1614},"renderContextTable":{"__isSmartRef__":true,"id":1615},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1616},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1612":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1613":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1614":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1615":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1616":{"x":0,"y":3,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1617":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1618":{"style":{"__isSmartRef__":true,"id":1619},"chunkOwner":{"__isSmartRef__":true,"id":1610},"storedString":"MiniMap","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1619":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1620":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1621":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1622":{"sourceObj":{"__isSmartRef__":true,"id":1610},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1609},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1623":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1624":{"morph":{"__isSmartRef__":true,"id":1610},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1625":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1626":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1627},"_Extent":{"__isSmartRef__":true,"id":1628},"_Fill":{"__isSmartRef__":true,"id":1629},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1639},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1640},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1641},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1627":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1628":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1629":{"stops":[{"__isSmartRef__":true,"id":1630},{"__isSmartRef__":true,"id":1632},{"__isSmartRef__":true,"id":1634},{"__isSmartRef__":true,"id":1636}],"vector":{"__isSmartRef__":true,"id":1638},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1630":{"offset":0,"color":{"__isSmartRef__":true,"id":1631}},"1631":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1632":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1633}},"1633":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1634":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1635}},"1635":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1636":{"offset":1,"color":{"__isSmartRef__":true,"id":1637}},"1637":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1638":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1639":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1640":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1641":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1642":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1643":{"stops":[{"__isSmartRef__":true,"id":1644},{"__isSmartRef__":true,"id":1646},{"__isSmartRef__":true,"id":1648},{"__isSmartRef__":true,"id":1650}],"vector":{"__isSmartRef__":true,"id":1638},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1644":{"offset":0,"color":{"__isSmartRef__":true,"id":1645}},"1645":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1646":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1647}},"1647":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1648":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1649}},"1649":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1650":{"offset":1,"color":{"__isSmartRef__":true,"id":1651}},"1651":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1652":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1653":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1654":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1655":{"morph":{"__isSmartRef__":true,"id":1609},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1656":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1657":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1658":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":1659},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1665},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1666},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":1667},"_TextColor":{"__isSmartRef__":true,"id":1668},"renderContextTable":{"__isSmartRef__":true,"id":1669},"textChunks":[{"__isSmartRef__":true,"id":1670}],"eventHandler":{"__isSmartRef__":true,"id":1672},"priorExtent":{"__isSmartRef__":true,"id":1673},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"distanceToDragEvent":{"__isSmartRef__":true,"id":1674},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"1659":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1660},"_Extent":{"__isSmartRef__":true,"id":1661},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1662},"renderContextTable":{"__isSmartRef__":true,"id":1663},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1664},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1660":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1661":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1662":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1663":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1664":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1665":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1666":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1667":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1668":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1669":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1670":{"style":{"__isSmartRef__":true,"id":1671},"chunkOwner":{"__isSmartRef__":true,"id":1658},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"1671":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1672":{"morph":{"__isSmartRef__":true,"id":1658},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1673":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1674":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1675":{"createListMorph":{"__isSmartRef__":true,"id":1676},"getList":{"__isSmartRef__":true,"id":1680},"removeList":{"__isSmartRef__":true,"id":1684},"reset":{"__isSmartRef__":true,"id":1688},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1692},"onMouseDown":{"__isSmartRef__":true,"id":1696},"setTargetOfPane":{"__isSmartRef__":true,"id":1704},"setTargetToListSelection":{"__isSmartRef__":true,"id":1708},"onBlur":{"__isSmartRef__":true,"id":1712},"setTarget":{"__isSmartRef__":true,"id":1720},"setTargetOnSelection":{"__isSmartRef__":true,"id":1724}},"1676":{"varMapping":{"__isSmartRef__":true,"id":1677},"source":"function createListMorph() {\n var items = this.getList();\n \n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n\n connect(listMorph, 'selection', this, 'setTargetToListSelection');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":1678},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1677":{"this":{"__isSmartRef__":true,"id":1609}},"1678":{"timestamp":{"__isSmartRef__":true,"id":1679},"user":"lauritz","tags":[]},"1679":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:55:41 GMT+0100 (W. Europe Standard Time)"},"1680":{"varMapping":{"__isSmartRef__":true,"id":1681},"source":"function getList() {\n var worldEntry = {\n isListItem: true,\n selectionString: 'World',\n string: 'World',\n value: this.world()\n };\n var list = this.world().indentedListItemsOfMorphNames();\n list.unshift(worldEntry);\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":1682},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1681":{"this":{"__isSmartRef__":true,"id":1609}},"1682":{"timestamp":{"__isSmartRef__":true,"id":1683},"user":"lauritz","tags":[]},"1683":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:12:23 GMT+0100 (W. Europe Standard Time)"},"1684":{"varMapping":{"__isSmartRef__":true,"id":1685},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1686},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1685":{"this":{"__isSmartRef__":true,"id":1609}},"1686":{"timestamp":{"__isSmartRef__":true,"id":1687},"user":"lauritz","tags":[]},"1687":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:51:07 GMT+0100 (W. Europe Standard Time)"},"1688":{"varMapping":{"__isSmartRef__":true,"id":1689},"source":"function reset() {\n this.list = [];\n this.setLabel('empty');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":1690},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1689":{"this":{"__isSmartRef__":true,"id":1609}},"1690":{"timestamp":{"__isSmartRef__":true,"id":1691},"user":"lauritz","tags":[]},"1691":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:34:06 GMT+0100 (W. Europe Standard Time)"},"1692":{"varMapping":{"__isSmartRef__":true,"id":1693},"source":"function displayTopLevelMorphs() {\n var list = this.createListMorph(); \n if (this.getList().length === 0) return;\n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":1694},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1693":{"this":{"__isSmartRef__":true,"id":1609}},"1694":{"timestamp":{"__isSmartRef__":true,"id":1695},"user":"lauritz","tags":[]},"1695":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:53:20 GMT+0100 (W. Europe Standard Time)"},"1696":{"varMapping":{"__isSmartRef__":true,"id":1697},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n // clicked on morph, not the list, not the list's scrollbar\n if (evt.target === this.renderContext().shapeNode)\n this.removeList();\n } else {\n this.displayTopLevelMorphs();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1702},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1697":{"this":{"__isSmartRef__":true,"id":1609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1698}},"1698":{"$super":{"__isSmartRef__":true,"id":1699}},"1699":{"varMapping":{"__isSmartRef__":true,"id":1700},"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":1701},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1700":{"obj":{"__isSmartRef__":true,"id":1609},"name":"onMouseDown"},"1701":{},"1702":{"timestamp":{"__isSmartRef__":true,"id":1703},"user":"lauritz","tags":[]},"1703":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:39 GMT+0100 (W. Europe Standard Time)"},"1704":{"varMapping":{"__isSmartRef__":true,"id":1705},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":1706},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1705":{"this":{"__isSmartRef__":true,"id":1609}},"1706":{"timestamp":{"__isSmartRef__":true,"id":1707},"user":"lauritz","tags":[]},"1707":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:30:42 GMT+0100 (W. Europe Standard Time)"},"1708":{"varMapping":{"__isSmartRef__":true,"id":1709},"source":"function setTargetToListSelection() { \n var selection = this.listMorph.selection;\n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1710},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1709":{"this":{"__isSmartRef__":true,"id":1609}},"1710":{"timestamp":{"__isSmartRef__":true,"id":1711},"user":"lauritz","tags":[]},"1711":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:06:48 GMT+0100 (W. Europe Standard Time)"},"1712":{"varMapping":{"__isSmartRef__":true,"id":1713},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1718},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1713":{"this":{"__isSmartRef__":true,"id":1609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1714}},"1714":{"$super":{"__isSmartRef__":true,"id":1715}},"1715":{"varMapping":{"__isSmartRef__":true,"id":1716},"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":1717},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1716":{"obj":{"__isSmartRef__":true,"id":1609},"name":"onBlur"},"1717":{},"1718":{"timestamp":{"__isSmartRef__":true,"id":1719},"user":"lauritz","tags":[]},"1719":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:08 GMT+0100 (W. Europe Standard Time)"},"1720":{"varMapping":{"__isSmartRef__":true,"id":1721},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":1722},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1721":{"this":{"__isSmartRef__":true,"id":1609}},"1722":{"timestamp":{"__isSmartRef__":true,"id":1723},"user":"lauritz","tags":[]},"1723":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:29:39 GMT+0100 (W. Europe Standard Time)"},"1724":{"varMapping":{"__isSmartRef__":true,"id":1725},"source":"function setTargetOnSelection() {\n if (this.listMorph && this.listMorph.renderContext() && this.listMorph.renderContext().listNode.value) {\n this.setTargetToListSelection();\n this.stopStepping();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1726},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1725":{"this":{"__isSmartRef__":true,"id":1609}},"1726":{"timestamp":{"__isSmartRef__":true,"id":1727},"user":"lauritz","tags":[]},"1727":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:12:06 GMT+0100 (W. Europe Standard Time)"},"1728":{"submorphs":[],"scripts":[],"id":"5DFE91E5-074E-499B-BD06-D5C9C6333A03","shape":{"__isSmartRef__":true,"id":1729},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1735},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1732},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1736},"textChunks":[{"__isSmartRef__":true,"id":1737}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1739},"renderContextTable":{"__isSmartRef__":true,"id":1740},"eventHandler":{"__isSmartRef__":true,"id":1741},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1742},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":2},"isCopyMorphRef":true,"morphRefId":27,"derivationIds":[223,"5E3A69EF-26C1-4D0D-B04C-8C3894017F56","14AB1B91-3ED6-49AE-AA58-47D18B6C569F","991D4A54-1FC4-4BC7-AA82-F814AC52CDE3","DB9B19F7-4390-4CE5-9B1D-62177CB8D605","8F7B2EE9-9538-4044-B75B-6A12F3108B70","4B9F9B4B-C7D3-418D-9AC9-10503A4EBF8E","324EE422-8C94-43CE-B964-A3150830C25F","36D1ECF9-591F-426B-A4F6-B337D7DB053B","CB52849C-BE64-4053-8D07-758F969F84EB","F1C241D4-A689-4DB7-942F-ADB5F39D9CAA"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1729":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1730},"_Extent":{"__isSmartRef__":true,"id":1731},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1732},"renderContextTable":{"__isSmartRef__":true,"id":1733},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1734},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1730":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1731":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1732":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1733":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1734":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1735":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1736":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1737":{"style":{"__isSmartRef__":true,"id":1738},"chunkOwner":{"__isSmartRef__":true,"id":1728},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"1738":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1739":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1740":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1741":{"morph":{"__isSmartRef__":true,"id":1728},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1742":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1743":{"submorphs":[],"scripts":[],"id":"50A7AFB8-D6AB-49E8-BE84-BECC8968E9EC","shape":{"__isSmartRef__":true,"id":1744},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1750},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1747},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":1751},"textChunks":[{"__isSmartRef__":true,"id":1752}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1754},"renderContextTable":{"__isSmartRef__":true,"id":1755},"eventHandler":{"__isSmartRef__":true,"id":1756},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1757},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":2},"derivationIds":[224,"35EF8FE5-067D-45B6-AF21-77040F11D340","80DC09DD-22D4-4089-B5C3-857B32C9BE9B","EF080074-E6B9-47F3-A87F-26313B40C430","F6977801-C1A7-445C-9BF1-8A1019E202FB","8C9157AE-0343-4CFB-8186-1D5E05D2ECBE","DD3C23F8-6463-4EAE-959B-C486E27D9BDA","1E8D3752-D212-41F8-BC63-B094E0C80707","75C07D11-AE5D-4A36-B2D0-F2A6EA414E72","494AB1C0-2C09-49DE-B4AA-1F24DC7495FF","25199967-E3BA-4763-A704-37BD3152A5F7"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1744":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1745},"_Extent":{"__isSmartRef__":true,"id":1746},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1747},"renderContextTable":{"__isSmartRef__":true,"id":1748},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1749},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1745":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1746":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1747":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1748":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1749":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1750":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1751":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1752":{"style":{"__isSmartRef__":true,"id":1753},"chunkOwner":{"__isSmartRef__":true,"id":1743},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"1753":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1754":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1755":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1756":{"morph":{"__isSmartRef__":true,"id":1743},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1757":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1758":{"submorphs":[{"__isSmartRef__":true,"id":1759}],"scripts":[],"id":"1025029A-BF4C-4C2E-A023-1BE3FA5D961C","shape":{"__isSmartRef__":true,"id":1773},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1789},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1790},"lighterFill":{"__isSmartRef__":true,"id":1776},"label":{"__isSmartRef__":true,"id":1759},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1799},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":1800},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":1801},"eventHandler":{"__isSmartRef__":true,"id":1802},"distanceToDragEvent":{"__isSmartRef__":true,"id":1803},"priorExtent":{"__isSmartRef__":true,"id":1804},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":2},"setTargetToListSelection":"all","savedTextString":"all","derivationIds":[225,"7F83847B-D0B1-4A31-8601-43424B97C858","E08FC110-71D7-4FFD-B4A8-08F8147B95BA","5534107D-C5C9-48DD-A1ED-B87E9D9B672C","0B89FA7A-768C-4062-98AE-C455E8DAFF19","799320C6-CFBA-40E7-B03D-64BFE9B78248","9B650AA3-271B-4E72-B230-51C6F64B7462","C95D3672-724C-4C2C-9CDD-EF308062F627","C66EBEEC-B7CE-4DD9-8BDF-905F071F965D","D68B143A-A712-4FD0-8803-62CCB4C7F763","ED802271-AE5C-4BE9-AC4E-7CED44BC864B"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1805},"__LivelyClassName__":"lively.morphic.Button"},"1759":{"submorphs":[],"scripts":[],"id":"8D7AD667-3802-441F-865A-0932211AA495","shape":{"__isSmartRef__":true,"id":1760},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1765},"textColor":{"__isSmartRef__":true,"id":1763},"owner":{"__isSmartRef__":true,"id":1758},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1766}],"padding":{"__isSmartRef__":true,"id":1768},"_Padding":{"__isSmartRef__":true,"id":1768},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1769},"attributeConnections":[{"__isSmartRef__":true,"id":1770}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":1771},"eventHandler":{"__isSmartRef__":true,"id":1772},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","132C2A9E-3466-4051-AAEA-6E485A91F408","DB8BC4A1-ED41-446B-AB6C-7E73DD857B5D","567FC668-A57C-41CB-8252-8912826B3144","D0B0775F-C8E7-49EB-BBB2-C7BB7DD464BF","AABED87D-D7C0-494A-8803-26F4601E35FF"],"_TextColor":{"__isSmartRef__":true,"id":1625},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1760":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1761},"_Extent":{"__isSmartRef__":true,"id":1762},"_BorderColor":{"__isSmartRef__":true,"id":1763},"renderContextTable":{"__isSmartRef__":true,"id":1764},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1616},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1761":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1762":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1763":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1764":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1765":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1766":{"style":{"__isSmartRef__":true,"id":1767},"chunkOwner":{"__isSmartRef__":true,"id":1759},"storedString":"all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1767":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1768":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1769":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1770":{"sourceObj":{"__isSmartRef__":true,"id":1759},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1758},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1771":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1772":{"morph":{"__isSmartRef__":true,"id":1759},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1773":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1774},"_Extent":{"__isSmartRef__":true,"id":1775},"_Fill":{"__isSmartRef__":true,"id":1776},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1786},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1787},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1788},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1774":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1775":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1776":{"stops":[{"__isSmartRef__":true,"id":1777},{"__isSmartRef__":true,"id":1779},{"__isSmartRef__":true,"id":1781},{"__isSmartRef__":true,"id":1783}],"vector":{"__isSmartRef__":true,"id":1785},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1777":{"offset":0,"color":{"__isSmartRef__":true,"id":1778}},"1778":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1779":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1780}},"1780":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1781":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1782}},"1782":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1783":{"offset":1,"color":{"__isSmartRef__":true,"id":1784}},"1784":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1785":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1786":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1787":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1788":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1789":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1790":{"stops":[{"__isSmartRef__":true,"id":1791},{"__isSmartRef__":true,"id":1793},{"__isSmartRef__":true,"id":1795},{"__isSmartRef__":true,"id":1797}],"vector":{"__isSmartRef__":true,"id":1785},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1791":{"offset":0,"color":{"__isSmartRef__":true,"id":1792}},"1792":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1793":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1794}},"1794":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1795":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1796}},"1796":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1797":{"offset":1,"color":{"__isSmartRef__":true,"id":1798}},"1798":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1799":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1800":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1801":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1802":{"morph":{"__isSmartRef__":true,"id":1758},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1803":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1804":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1805":{"createListMorph":{"__isSmartRef__":true,"id":1806},"getList":{"__isSmartRef__":true,"id":1810},"removeList":{"__isSmartRef__":true,"id":1814},"reset":{"__isSmartRef__":true,"id":1818},"onMouseUp":{"__isSmartRef__":true,"id":1822},"onBlur":{"__isSmartRef__":true,"id":1830},"setTag":{"__isSmartRef__":true,"id":1838}},"1806":{"varMapping":{"__isSmartRef__":true,"id":1807},"source":"function createListMorph() {\n var items = this.getList();\n\n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n \n connect(listMorph, 'selection', this, 'setTag');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":1808},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1807":{"this":{"__isSmartRef__":true,"id":1758}},"1808":{"timestamp":{"__isSmartRef__":true,"id":1809},"user":"lauritz","categories":[]},"1809":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (W. Europe Standard Time)"},"1810":{"varMapping":{"__isSmartRef__":true,"id":1811},"source":"function getList() {\n if (!this.owner.target) return [''];\n\n var target = this.owner.target;\n\n var tags = Functions.own(target).collect(function (each) {\n return target[each].tags || [];\n }).flatten().uniq();\n\n var sortedTags = tags.sortBy(function(name) { \n return name.toLowerCase() \n });\n \n sortedTags.unshift('all'); \n return sortedTags;\n}","funcProperties":{"__isSmartRef__":true,"id":1812},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1811":{"this":{"__isSmartRef__":true,"id":1758}},"1812":{"timestamp":{"__isSmartRef__":true,"id":1813},"user":"lauritz","tags":[]},"1813":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (W. Europe Standard Time)"},"1814":{"varMapping":{"__isSmartRef__":true,"id":1815},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1816},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1815":{"this":{"__isSmartRef__":true,"id":1758}},"1816":{"timestamp":{"__isSmartRef__":true,"id":1817},"user":"lauritz","categories":[]},"1817":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (W. Europe Standard Time)"},"1818":{"varMapping":{"__isSmartRef__":true,"id":1819},"source":"function reset() {\n this.list = [];\n this.setLabel('all');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":1820},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1819":{"this":{"__isSmartRef__":true,"id":1758}},"1820":{"timestamp":{"__isSmartRef__":true,"id":1821},"user":"lauritz","tags":[]},"1821":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (W. Europe Standard Time)"},"1822":{"varMapping":{"__isSmartRef__":true,"id":1823},"source":"function onMouseUp(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n this.removeList();\n return true;\n } \n if (this.getList().size() < 2) return;\n var list = this.createListMorph();\n this.addMorph(list);\n this.listMorph = list;\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":1828},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1823":{"this":{"__isSmartRef__":true,"id":1758},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1824}},"1824":{"$super":{"__isSmartRef__":true,"id":1825}},"1825":{"varMapping":{"__isSmartRef__":true,"id":1826},"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":1827},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1826":{"obj":{"__isSmartRef__":true,"id":1758},"name":"onMouseUp"},"1827":{},"1828":{"timestamp":{"__isSmartRef__":true,"id":1829},"user":"lauritz","categories":[]},"1829":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (W. Europe Standard Time)"},"1830":{"varMapping":{"__isSmartRef__":true,"id":1831},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1836},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1831":{"this":{"__isSmartRef__":true,"id":1758},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1832}},"1832":{"$super":{"__isSmartRef__":true,"id":1833}},"1833":{"varMapping":{"__isSmartRef__":true,"id":1834},"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":1835},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1834":{"obj":{"__isSmartRef__":true,"id":1758},"name":"onBlur"},"1835":{},"1836":{"timestamp":{"__isSmartRef__":true,"id":1837},"user":"lauritz","categories":[]},"1837":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (W. Europe Standard Time)"},"1838":{"varMapping":{"__isSmartRef__":true,"id":1839},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":1840},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1839":{"this":{"__isSmartRef__":true,"id":1758}},"1840":{"timestamp":{"__isSmartRef__":true,"id":1841},"user":"lauritz","categories":[]},"1841":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (W. Europe Standard Time)"},"1842":{"submorphs":[{"__isSmartRef__":true,"id":1843}],"scripts":[],"id":"4F39D3F4-B029-44C4-8509-673F929BE40D","shape":{"__isSmartRef__":true,"id":1858},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1862},"lighterFill":{"__isSmartRef__":true,"id":1874},"label":{"__isSmartRef__":true,"id":1843},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1883},"attributeConnections":[{"__isSmartRef__":true,"id":1884}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":1920},"renderContextTable":{"__isSmartRef__":true,"id":1921},"eventHandler":{"__isSmartRef__":true,"id":1922},"distanceToDragEvent":{"__isSmartRef__":true,"id":1923},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","87E42FF6-3862-481D-97D6-643676E15F32","4F370A81-5A80-4821-8ECC-D52B56F31E15","1C6D1DC9-2F9B-4DC4-B453-1CA45B17C516","0E8EC0BF-934B-410B-AEC2-0ECA8C8F774D","97086CE7-CD46-4035-A371-02A41D555A66"],"_Position":{"__isSmartRef__":true,"id":1924},"owner":{"__isSmartRef__":true,"id":2},"layout":{"__isSmartRef__":true,"id":1925},"_ClipMode":"visible","_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"1843":{"submorphs":[],"scripts":[],"id":"032A8A21-E41C-441F-B7CB-69D08D9B9831","shape":{"__isSmartRef__":true,"id":1844},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1850},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1851},"_Padding":{"__isSmartRef__":true,"id":1852},"owner":{"__isSmartRef__":true,"id":1842},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1853},"textChunks":[{"__isSmartRef__":true,"id":1854}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1856},"eventHandler":{"__isSmartRef__":true,"id":1857},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","BA4EC8D2-AB29-4F9F-B5A0-715A4746A4C4","56735895-BA99-4D98-9866-AA5DBD86237E","81041CF7-31DB-4F65-BB39-FE438A4F266F","D03829B3-268E-40A0-A440-3E4BAC344F30","714637F0-714A-4833-909B-BA4AF1B4628B"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1844":{"position":{"__isSmartRef__":true,"id":1845},"_Extent":{"__isSmartRef__":true,"id":1846},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1847},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1848},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1849},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1845":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1846":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1847":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1848":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1849":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1850":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1851":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1852":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1853":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1854":{"style":{"__isSmartRef__":true,"id":1855},"chunkOwner":{"__isSmartRef__":true,"id":1843},"storedString":"run","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1855":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1856":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1857":{"morph":{"__isSmartRef__":true,"id":1843},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1858":{"position":{"__isSmartRef__":true,"id":1859},"_Extent":{"__isSmartRef__":true,"id":1860},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1861},"_Fill":{"__isSmartRef__":true,"id":1862},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1872},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1873},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1859":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1860":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1861":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1862":{"stops":[{"__isSmartRef__":true,"id":1863},{"__isSmartRef__":true,"id":1865},{"__isSmartRef__":true,"id":1867},{"__isSmartRef__":true,"id":1869}],"vector":{"__isSmartRef__":true,"id":1871},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1863":{"offset":0,"color":{"__isSmartRef__":true,"id":1864}},"1864":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1865":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1866}},"1866":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1867":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1868}},"1868":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1869":{"offset":1,"color":{"__isSmartRef__":true,"id":1870}},"1870":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1871":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1872":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1873":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1874":{"stops":[{"__isSmartRef__":true,"id":1875},{"__isSmartRef__":true,"id":1877},{"__isSmartRef__":true,"id":1879},{"__isSmartRef__":true,"id":1881}],"vector":{"__isSmartRef__":true,"id":1871},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1875":{"offset":0,"color":{"__isSmartRef__":true,"id":1876}},"1876":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1877":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1878}},"1878":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1879":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1880}},"1880":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1881":{"offset":1,"color":{"__isSmartRef__":true,"id":1882}},"1882":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1883":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1884":{"sourceObj":{"__isSmartRef__":true,"id":1842},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":1885},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1885":{"submorphs":[{"__isSmartRef__":true,"id":1886}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1901},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":1908},"eventHandler":{"__isSmartRef__":true,"id":1909},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1910},{"__isSmartRef__":true,"id":1911}],"con":{"__isSmartRef__":true,"id":1884},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1912},"__LivelyClassName__":"lively.morphic.Path"},"1886":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1887},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":1898},"eventHandler":{"__isSmartRef__":true,"id":1899},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1900},"owner":{"__isSmartRef__":true,"id":1885},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"1887":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1888},{"__isSmartRef__":true,"id":1889},{"__isSmartRef__":true,"id":1890},{"__isSmartRef__":true,"id":1891}],"renderContextTable":{"__isSmartRef__":true,"id":1892},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1893},"_Extent":{"__isSmartRef__":true,"id":1894},"_Padding":{"__isSmartRef__":true,"id":1895},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1896},"_Fill":{"__isSmartRef__":true,"id":1897},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1888":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1889":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1890":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1891":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1892":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1893":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1894":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1895":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1896":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1897":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1898":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1899":{"morph":{"__isSmartRef__":true,"id":1886},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1900":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1901":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1902},{"__isSmartRef__":true,"id":1903}],"renderContextTable":{"__isSmartRef__":true,"id":1904},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1905},"_Extent":{"__isSmartRef__":true,"id":1906},"_Padding":{"__isSmartRef__":true,"id":1907},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1896},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1902":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1903":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1904":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1905":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1906":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1907":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1908":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1909":{"morph":{"__isSmartRef__":true,"id":1885},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1910":{"morph":{"__isSmartRef__":true,"id":1885},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1911":{"morph":{"__isSmartRef__":true,"id":1885},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1886},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1912":{"morphMenuItems":{"__isSmartRef__":true,"id":1913}},"1913":{"varMapping":{"__isSmartRef__":true,"id":1914},"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 ||\n '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,\n 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(),\n 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":1919},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1914":{"this":{"__isSmartRef__":true,"id":1885},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1915}},"1915":{"$super":{"__isSmartRef__":true,"id":1916}},"1916":{"varMapping":{"__isSmartRef__":true,"id":1917},"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":1918},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1917":{"obj":{"__isSmartRef__":true,"id":1885},"name":"morphMenuItems"},"1918":{},"1919":{},"1920":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1921":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1922":{"morph":{"__isSmartRef__":true,"id":1842},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1923":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1924":{"x":788.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1925":{"centeredHorizontal":false,"moveHorizontal":true},"1926":{"submorphs":[{"__isSmartRef__":true,"id":1927}],"scripts":[],"id":"26D4BC6D-5886-47B1-B89D-BA74059FAA6B","shape":{"__isSmartRef__":true,"id":1942},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1946},"lighterFill":{"__isSmartRef__":true,"id":1958},"label":{"__isSmartRef__":true,"id":1927},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1967},"attributeConnections":[{"__isSmartRef__":true,"id":1968}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2004},"renderContextTable":{"__isSmartRef__":true,"id":2005},"eventHandler":{"__isSmartRef__":true,"id":2006},"distanceToDragEvent":{"__isSmartRef__":true,"id":2007},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","F51327CB-803E-4234-BFB3-6F5252D1C936","A79280E8-6AE3-4016-AF47-CE78F71924C6","B05829EB-D452-4D81-983B-E2CE425C8260","32B117E5-52D8-4843-B80E-090B9817E099","49AC923E-5272-4E3C-8F02-4F2AED2BC4E9"],"layout":{"__isSmartRef__":true,"id":2008},"_Position":{"__isSmartRef__":true,"id":2009},"owner":{"__isSmartRef__":true,"id":2},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"1927":{"submorphs":[],"scripts":[],"id":"8C21A5F2-63AA-440C-A512-CB86AF650186","shape":{"__isSmartRef__":true,"id":1928},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1934},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1935},"_Padding":{"__isSmartRef__":true,"id":1936},"owner":{"__isSmartRef__":true,"id":1926},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1937},"textChunks":[{"__isSmartRef__":true,"id":1938}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1940},"eventHandler":{"__isSmartRef__":true,"id":1941},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","918C6CC4-3540-4341-BAFD-B195F7807FEE","5AABB138-5EE8-40A5-AB3C-5A9625D0A353","4529D79B-4CC5-467E-91F8-661C3A5F49F8","1E5E570C-FD42-45E3-A7F6-768BB14ACD14","A13FB4E0-72F2-4E7C-A861-EDCBA1393860"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1928":{"position":{"__isSmartRef__":true,"id":1929},"_Extent":{"__isSmartRef__":true,"id":1930},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1931},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1932},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1933},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1929":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1930":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1931":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1932":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1933":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1934":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1935":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1936":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1937":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1938":{"style":{"__isSmartRef__":true,"id":1939},"chunkOwner":{"__isSmartRef__":true,"id":1927},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1939":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1940":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1941":{"morph":{"__isSmartRef__":true,"id":1927},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1942":{"position":{"__isSmartRef__":true,"id":1943},"_Extent":{"__isSmartRef__":true,"id":1944},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1945},"_Fill":{"__isSmartRef__":true,"id":1946},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1956},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1957},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1943":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1944":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1945":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1946":{"stops":[{"__isSmartRef__":true,"id":1947},{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1951},{"__isSmartRef__":true,"id":1953}],"vector":{"__isSmartRef__":true,"id":1955},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1947":{"offset":0,"color":{"__isSmartRef__":true,"id":1948}},"1948":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1949":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1950}},"1950":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1951":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1952}},"1952":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1953":{"offset":1,"color":{"__isSmartRef__":true,"id":1954}},"1954":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1955":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1956":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1957":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1958":{"stops":[{"__isSmartRef__":true,"id":1959},{"__isSmartRef__":true,"id":1961},{"__isSmartRef__":true,"id":1963},{"__isSmartRef__":true,"id":1965}],"vector":{"__isSmartRef__":true,"id":1955},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1959":{"offset":0,"color":{"__isSmartRef__":true,"id":1960}},"1960":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1961":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1962}},"1962":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1963":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1964}},"1964":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1965":{"offset":1,"color":{"__isSmartRef__":true,"id":1966}},"1966":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1967":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1968":{"sourceObj":{"__isSmartRef__":true,"id":1926},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":498},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":1969},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1969":{"submorphs":[{"__isSmartRef__":true,"id":1970}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1985},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":1992},"eventHandler":{"__isSmartRef__":true,"id":1993},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1994},{"__isSmartRef__":true,"id":1995}],"con":{"__isSmartRef__":true,"id":1968},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1996},"__LivelyClassName__":"lively.morphic.Path"},"1970":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1971},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":1982},"eventHandler":{"__isSmartRef__":true,"id":1983},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1984},"owner":{"__isSmartRef__":true,"id":1969},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"1971":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1972},{"__isSmartRef__":true,"id":1973},{"__isSmartRef__":true,"id":1974},{"__isSmartRef__":true,"id":1975}],"renderContextTable":{"__isSmartRef__":true,"id":1976},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1977},"_Extent":{"__isSmartRef__":true,"id":1978},"_Padding":{"__isSmartRef__":true,"id":1979},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1980},"_Fill":{"__isSmartRef__":true,"id":1981},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1972":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1973":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1974":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1975":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1976":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1977":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1978":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1979":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1980":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1981":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1982":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1983":{"morph":{"__isSmartRef__":true,"id":1970},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1984":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1985":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1986},{"__isSmartRef__":true,"id":1987}],"renderContextTable":{"__isSmartRef__":true,"id":1988},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1989},"_Extent":{"__isSmartRef__":true,"id":1990},"_Padding":{"__isSmartRef__":true,"id":1991},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1980},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1986":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1987":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1988":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1989":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1990":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1991":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1992":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1993":{"morph":{"__isSmartRef__":true,"id":1969},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1994":{"morph":{"__isSmartRef__":true,"id":1969},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1995":{"morph":{"__isSmartRef__":true,"id":1969},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1970},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1996":{"morphMenuItems":{"__isSmartRef__":true,"id":1997}},"1997":{"varMapping":{"__isSmartRef__":true,"id":1998},"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 ||\n '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,\n 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(),\n 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":2003},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1998":{"this":{"__isSmartRef__":true,"id":1969},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1999}},"1999":{"$super":{"__isSmartRef__":true,"id":2000}},"2000":{"varMapping":{"__isSmartRef__":true,"id":2001},"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":2002},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2001":{"obj":{"__isSmartRef__":true,"id":1969},"name":"morphMenuItems"},"2002":{},"2003":{},"2004":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2005":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2006":{"morph":{"__isSmartRef__":true,"id":1926},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2007":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2008":{"centeredHorizontal":false,"moveHorizontal":true},"2009":{"x":675.4189853444968,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2010":{"submorphs":[{"__isSmartRef__":true,"id":2011}],"scripts":[],"id":"CEC063A6-CA27-49D7-A54A-86A513FCDEFC","shape":{"__isSmartRef__":true,"id":2026},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2042},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2030},"lighterFill":{"__isSmartRef__":true,"id":2043},"label":{"__isSmartRef__":true,"id":2011},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2052},"attributeConnections":[{"__isSmartRef__":true,"id":2053}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2054},"renderContextTable":{"__isSmartRef__":true,"id":2055},"eventHandler":{"__isSmartRef__":true,"id":2056},"distanceToDragEvent":{"__isSmartRef__":true,"id":2057},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3","FF38CA79-C0DF-4F2F-8FC3-407571EF6A54","B1D50332-9F4F-4F7C-AC3F-95DC6C73EAA4","5B8D7C39-987A-4849-BFFD-3F316CE03852"],"owner":{"__isSmartRef__":true,"id":2},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9940149800149939,"__LivelyClassName__":"lively.morphic.Button"},"2011":{"submorphs":[],"scripts":[],"id":"489F590C-AC60-49B4-ABA7-A26BDA74778C","shape":{"__isSmartRef__":true,"id":2012},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2018},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2019},"_Padding":{"__isSmartRef__":true,"id":2020},"owner":{"__isSmartRef__":true,"id":2010},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2021},"textChunks":[{"__isSmartRef__":true,"id":2022}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2024},"eventHandler":{"__isSmartRef__":true,"id":2025},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718","6BB077CE-92E6-47BE-BE88-9A48488562D1","9E359973-2FDB-417B-BB06-AB34D52BD310","58F098ED-A190-44F2-B73E-80802B2CF2F6"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"2012":{"position":{"__isSmartRef__":true,"id":2013},"_Extent":{"__isSmartRef__":true,"id":2014},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2015},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2016},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2017},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2013":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2014":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2015":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2016":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2017":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2018":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2019":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2020":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2021":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2022":{"style":{"__isSmartRef__":true,"id":2023},"chunkOwner":{"__isSmartRef__":true,"id":2011},"storedString":"Tests","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2023":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2024":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2025":{"morph":{"__isSmartRef__":true,"id":2011},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2026":{"position":{"__isSmartRef__":true,"id":2027},"_Extent":{"__isSmartRef__":true,"id":2028},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2029},"_Fill":{"__isSmartRef__":true,"id":2030},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2040},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2041},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2027":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2028":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2029":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2030":{"stops":[{"__isSmartRef__":true,"id":2031},{"__isSmartRef__":true,"id":2033},{"__isSmartRef__":true,"id":2035},{"__isSmartRef__":true,"id":2037}],"vector":{"__isSmartRef__":true,"id":2039},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2031":{"offset":0,"color":{"__isSmartRef__":true,"id":2032}},"2032":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2033":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2034}},"2034":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2035":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2036}},"2036":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2037":{"offset":1,"color":{"__isSmartRef__":true,"id":2038}},"2038":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2039":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2040":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2041":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2042":{"x":510,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2043":{"stops":[{"__isSmartRef__":true,"id":2044},{"__isSmartRef__":true,"id":2046},{"__isSmartRef__":true,"id":2048},{"__isSmartRef__":true,"id":2050}],"vector":{"__isSmartRef__":true,"id":2039},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2044":{"offset":0,"color":{"__isSmartRef__":true,"id":2045}},"2045":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2046":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2047}},"2047":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2048":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2049}},"2049":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2050":{"offset":1,"color":{"__isSmartRef__":true,"id":2051}},"2051":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2052":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2053":{"sourceObj":{"__isSmartRef__":true,"id":2010},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"openPartTestRunner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2054":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2055":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2056":{"morph":{"__isSmartRef__":true,"id":2010},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2057":{"x":65.95178327801523,"y":-8.024108360992386,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2058":{"target":{"__isSmartRef__":true,"id":2},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":96206,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"2059":{"position":{"__isSmartRef__":true,"id":2060},"_Extent":{"__isSmartRef__":true,"id":2061},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2062},"_Fill":{"__isSmartRef__":true,"id":2063},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2064},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2065},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2060":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2061":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2062":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2063":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2064":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2065":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2066":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":2067}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2067":{"date":{"__isSmartRef__":true,"id":2068},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"2068":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (W. Europe Daylight Time)"},"2069":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2070":{"morph":{"__isSmartRef__":true,"id":2},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2071":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2072":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2073":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2074":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2075":{},"2076":{"displayInitialScript":{"__isSmartRef__":true,"id":2077},"displayJavaScriptSource":{"__isSmartRef__":true,"id":2081},"displaySourceForConnection":{"__isSmartRef__":true,"id":2085},"displaySourceForScript":{"__isSmartRef__":true,"id":2089},"generateSourceForConnection":{"__isSmartRef__":true,"id":2093},"generateSourceForScript":{"__isSmartRef__":true,"id":2097},"generateTargetCode":{"__isSmartRef__":true,"id":2101},"newConnection":{"__isSmartRef__":true,"id":2105},"newScript":{"__isSmartRef__":true,"id":2109},"reset":{"__isSmartRef__":true,"id":2113},"selectChangedContent":{"__isSmartRef__":true,"id":2117},"setTarget":{"__isSmartRef__":true,"id":2121},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":2125},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2129},"updateLists":{"__isSmartRef__":true,"id":2133},"onShutdown":{"__isSmartRef__":true,"id":2137},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":2141},"update":{"__isSmartRef__":true,"id":2145},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":2149},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":2153},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":2157},"printTags":{"__isSmartRef__":true,"id":2165},"setTag":{"__isSmartRef__":true,"id":2169},"runScript":{"__isSmartRef__":true,"id":2173},"openPartTestRunner":{"__isSmartRef__":true,"id":2177}},"2077":{"varMapping":{"__isSmartRef__":true,"id":2078},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.preselectItem();\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.preselectItem();\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2079},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2078":{"this":{"__isSmartRef__":true,"id":2}},"2079":{"timestamp":{"__isSmartRef__":true,"id":2080},"user":"lauritz","tags":[]},"2080":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (W. Europe Standard Time)"},"2081":{"varMapping":{"__isSmartRef__":true,"id":2082},"source":"function displayJavaScriptSource(jsCode) {\n if (this.scriptPane.hasChanged()) {\n var that = this;\n var callback = function(confirmed) {\n if (confirmed) that.scriptPane.display(jsCode)\n };\n this.confirmUnsavedChanges(callback);\n } else {\n this.scriptPane.display(jsCode);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2083},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2082":{"this":{"__isSmartRef__":true,"id":2}},"2083":{"timestamp":{"__isSmartRef__":true,"id":2084},"user":"lauritz","tags":[]},"2084":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"2085":{"varMapping":{"__isSmartRef__":true,"id":2086},"source":"function displaySourceForConnection(connection) {\n var code = \"\", that = this;\n if (connection === undefined) return;\n if (connection === null) {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":2087},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2086":{"this":{"__isSmartRef__":true,"id":2}},"2087":{"timestamp":{"__isSmartRef__":true,"id":2088},"user":"conradcalmez","tags":[]},"2088":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (W. Europe Standard Time)"},"2089":{"varMapping":{"__isSmartRef__":true,"id":2090},"source":"function displaySourceForScript(scriptName) {\n var code = \"\",\n that = this;\n if (scriptName === null) {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":2091},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2090":{"this":{"__isSmartRef__":true,"id":2}},"2091":{"timestamp":{"__isSmartRef__":true,"id":2092},"user":"lauritz","tags":[]},"2092":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:51:37 GMT+0100 (W. Europe Standard Time)"},"2093":{"varMapping":{"__isSmartRef__":true,"id":2094},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2095},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2094":{"this":{"__isSmartRef__":true,"id":2}},"2095":{"timestamp":{"__isSmartRef__":true,"id":2096},"user":"lauritz","tags":[]},"2096":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"2097":{"varMapping":{"__isSmartRef__":true,"id":2098},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (script.timestamp && script.user) \n annotation = Strings.format('// changed at %s by %s \\n', script.timestamp, script.user);\n scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":2099},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2098":{"this":{"__isSmartRef__":true,"id":2}},"2099":{"timestamp":{"__isSmartRef__":true,"id":2100},"user":"lauritz","tags":[]},"2100":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:32:42 GMT+0100 (W. Europe Standard Time)"},"2101":{"varMapping":{"__isSmartRef__":true,"id":2102},"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":2103},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2102":{"this":{"__isSmartRef__":true,"id":2}},"2103":{"timestamp":{"__isSmartRef__":true,"id":2104},"user":"lauritz","tags":[]},"2104":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"2105":{"varMapping":{"__isSmartRef__":true,"id":2106},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2107},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2106":{"this":{"__isSmartRef__":true,"id":2}},"2107":{"timestamp":{"__isSmartRef__":true,"id":2108},"user":"lauritz","tags":[]},"2108":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"2109":{"varMapping":{"__isSmartRef__":true,"id":2110},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n \\n}).tag([]);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2111},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2110":{"this":{"__isSmartRef__":true,"id":2}},"2111":{"timestamp":{"__isSmartRef__":true,"id":2112},"user":"lauritz","tags":[]},"2112":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (W. Europe Standard Time)"},"2113":{"varMapping":{"__isSmartRef__":true,"id":2114},"source":"function reset() {\n this.scriptPane = this.get('ObjectEditorScriptPane')\n this.scriptList = this.get('ObjectEditorScriptList')\n this.connectionList = this.get('ObjectEditorConnectionList')\n this.morphSelector = this.get('ObjectEditorMorphSelector')\n this.target = null;\n this.scriptPane.reset();\n this.scriptList.setList();\n this.scriptList.selection = null;\n this.connectionList.setList();\n this.connectionList.selection = null;\n this.morphSelector.reset();\n this.tagChooser.reset();\n this.currentTag = null;\n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":2115},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2114":{"this":{"__isSmartRef__":true,"id":2}},"2115":{"timestamp":{"__isSmartRef__":true,"id":2116},"user":"conradcalmez","tags":[]},"2116":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:57:50 GMT+0100 (W. Europe Standard Time)"},"2117":{"varMapping":{"__isSmartRef__":true,"id":2118},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n return this.scriptList.selectAddedScript(addScriptMatches[0]);\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i= (this.owner.getExtent().x - this.getExtent().x)) {\n x = this.owner.getExtent().x - this.getExtent().x;\n this.direction.x *= -1;\n } else if (y >= (this.owner.getExtent().y - this.getExtent().y)) {\n y = this.owner.getExtent().y - this.getExtent().y;\n this.direction.y *= -1; \n }\n}","funcProperties":{"__isSmartRef__":true,"id":2695},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2694":{"this":{"__isSmartRef__":true,"id":2564}},"2695":{"timestamp":{"__isSmartRef__":true,"id":2696},"user":"undefined","tags":[]},"2696":{"isSerializedDate":true,"string":"Mon Jan 02 2012 19:55:51 GMT+0100 (W. Europe Standard Time)"},"2697":{"varMapping":{"__isSmartRef__":true,"id":2698},"source":"function step() {\n var pos = this.getPosition(),\n dir = this.direction;\n pos = pos.addPt(pt(dir.x * this.speed, dir.y * this.speed));\n this.setPosition(pos);\n //this.detectCollisions();\n this.stayInBounds();\n}","funcProperties":{"__isSmartRef__":true,"id":2699},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2698":{"this":{"__isSmartRef__":true,"id":2564}},"2699":{"timestamp":{"__isSmartRef__":true,"id":2700},"user":"fabian","tags":[]},"2700":{"isSerializedDate":true,"string":"Mon Jan 02 2012 21:05:43 GMT+0100 (W. Europe Standard Time)"},"2701":{"varMapping":{"__isSmartRef__":true,"id":2702},"source":"function detectCollisions() {\n var morphs = this.owner.submorphs.without(this),\n that = this;\n morphs.forEach(function(ea) {\n that.detectCollisionWith(ea)});\n}","funcProperties":{"__isSmartRef__":true,"id":2703},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2702":{"this":{"__isSmartRef__":true,"id":2564}},"2703":{"timestamp":{"__isSmartRef__":true,"id":2704},"user":"fbo","tags":[]},"2704":{"isSerializedDate":true,"string":"Thu Dec 29 2011 23:04:30 GMT+0100 (W. Europe Standard Time)"},"2705":{"varMapping":{"__isSmartRef__":true,"id":2706},"source":"function detectCollisionWith(aMorph) {\n var myBounds = this.getBounds(),\n theirBounds = aMorph.getBounds(),\n inXRange = false,\n inYRange = false,\n newX = myBounds.topLeft().x,\n newY = myBounds.topLeft().y;\n\n if ((theirBounds.topLeft().y <= myBounds.topLeft().y && \n myBounds.topLeft().y <= theirBounds.bottomRight().y) ||\n (myBounds.topLeft().y <= theirBounds.topLeft().y && \n theirBounds.topLeft().y <= myBounds.bottomRight().y)) {\n inYRange = true;\n }\n\n if ((theirBounds.topLeft().x <= myBounds.topLeft().x && \n myBounds.topLeft().x <= theirBounds.bottomRight().x) ||\n (myBounds.topLeft().x <= theirBounds.topLeft().x && \n theirBounds.topLeft().x <= myBounds.bottomRight().x)) {\n inXRange = true;\n }\n\n if (this.direction.x == 1) { \n if (myBounds.bottomRight().x >= theirBounds.topLeft().x &&\n inYRange) {\n this.direction.x = -1;\n newX = theirBounds.topLeft().x - this.getExtent().x - 1;\n }\n } else {\n if (myBounds.topLeft().x <= theirBounds.bottomRight().x &&\n inYRange) {\n this.direction.y = 1;\n newX = theirBounds.bottomRight().x + 1;\n }\n }\n this.setPosition(pt(newX, newY));\n\n if (this.direction.y == 1) { \n if (myBounds.bottomRight().y >= theirBounds.topLeft().y &&\n inXRange) {\n this.direction.y = -1;\n newY = theirBounds.topLeft().y - this.getExtent().y - 1;\n }\n } else {\n if (myBounds.topLeft().y <= theirBounds.bottomRight().y &&\n inXRange) {\n this.direction.y = 1;\n newY = theirBounds.bottomRight().y + 1;\n }\n }\n this.setPosition(pt(newX, newY));\n}","funcProperties":{"__isSmartRef__":true,"id":2707},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2706":{"this":{"__isSmartRef__":true,"id":2564}},"2707":{"timestamp":{"__isSmartRef__":true,"id":2708},"user":"fbo","tags":[]},"2708":{"isSerializedDate":true,"string":"Fri Dec 30 2011 01:48:59 GMT+0100 (W. Europe Standard Time)"},"2709":{"varMapping":{"__isSmartRef__":true,"id":2710},"source":"function onMouseDown(evt) {\n /*if (this.owner) {\n if (this.owner.logCrabClick) {\n this.owner.logCrabClick({\n clickPos: this.getGlobalTransform().inverse().\n transformPoint(evt.getPosition()),\n crabPos: this.getPosition()});\n }\n this.onPinch(evt);\n }*/\n}","funcProperties":{"__isSmartRef__":true,"id":2715},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2710":{"this":{"__isSmartRef__":true,"id":2564},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2711}},"2711":{"$super":{"__isSmartRef__":true,"id":2712}},"2712":{"varMapping":{"__isSmartRef__":true,"id":2713},"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":2714},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2713":{"obj":{"__isSmartRef__":true,"id":2564},"name":"onMouseDown"},"2714":{},"2715":{"timestamp":{"__isSmartRef__":true,"id":2716},"user":"fabian","tags":[]},"2716":{"isSerializedDate":true,"string":"Tue Jan 03 2012 01:07:10 GMT+0100 (W. Europe Standard Time)"},"2717":{"varMapping":{"__isSmartRef__":true,"id":2718},"source":"function onTouchMove(evt) {\n // scale does not work for some reason .. \n // but it would be more elegant that way:\n /*var touches = evt.targetTouches;\n if (touches.length != 2) {\n return;\n }\n var t1 = touches[0], t2 = touches[1];\n alertOK('T @ (' + t1.pageX + ',' + t1.pageY + '), (' + \n t2.pageX + ',' + t2.pageY + ') - ' + evt.scale);\n if (evt.scale < this.getScale()) {\n this.onPinch(evt);\n } else {\n alert('please pinch');\n }*/\n if (!this.touchStartPositions || \n evt.targetTouches.length !== 2) { return; }\n var pos1 = this.touchStartPositions,\n pos2 = this.touchListToArray(evt.targetTouches).\n collect(function(ea) {\n return pt(ea.pageX, ea.pageY);}),\n dist1 = Math.sqrt(\n Math.pow(pos1[0].x - pos1[1].x, 2) +\n Math.pow(pos1[0].y - pos1[1].y, 2)),\n dist2 = Math.sqrt(\n Math.pow(pos2[0].x - pos2[1].x, 2) +\n Math.pow(pos2[0].y - pos2[1].y, 2));\n \n if (dist1 > dist2) { \n this.onPinch(evt, pos1, pos2);\n }\n delete this.touchStartPositions;\n}","funcProperties":{"__isSmartRef__":true,"id":2719},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2718":{"this":{"__isSmartRef__":true,"id":2564}},"2719":{"timestamp":{"__isSmartRef__":true,"id":2720},"user":"fbo","tags":[]},"2720":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:13:56 GMT+0100 (W. Europe Standard Time)"},"2721":{"varMapping":{"__isSmartRef__":true,"id":2722},"source":"function onPinch(evt, touch1, touch2) {\n if (this.owner && this.owner.removeCrab) {\n this.owner.logCrabPinch({\n time: new Date().getTime(),\n touch1: touch1,\n touch2: touch2\n });\n this.owner.removeCrab(this);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2723},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2722":{"this":{"__isSmartRef__":true,"id":2564}},"2723":{"timestamp":{"__isSmartRef__":true,"id":2724},"user":"fbo","tags":[]},"2724":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:45:25 GMT+0100 (W. Europe Standard Time)"},"2725":{"varMapping":{"__isSmartRef__":true,"id":2726},"source":"function onTouchStart(evt) {\n var touches = this.touchListToArray(evt.targetTouches);\n if (touches.length !== 2) { return; }\n this.touchStartPositions = touches.collect(function(ea) {\n return pt(ea.pageX, ea.pageY);});\n}","funcProperties":{"__isSmartRef__":true,"id":2731},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2726":{"this":{"__isSmartRef__":true,"id":2564},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2727}},"2727":{"$super":{"__isSmartRef__":true,"id":2728}},"2728":{"varMapping":{"__isSmartRef__":true,"id":2729},"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":2730},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2729":{"obj":{"__isSmartRef__":true,"id":2564},"name":"onTouchStart"},"2730":{},"2731":{"timestamp":{"__isSmartRef__":true,"id":2732},"user":"fabian","tags":[]},"2732":{"isSerializedDate":true,"string":"Tue Jan 03 2012 02:54:54 GMT+0100 (W. Europe Standard Time)"},"2733":{"varMapping":{"__isSmartRef__":true,"id":2734},"source":"function onTouchEnd(evt) {\n /*if (!this.touchStartPositions || \n evt.targetTouches.length !== 2) { return; }\n var pos1 = this.touchStartPositions,\n pos2 = this.touchListToArray(evt.targetTouches).\n collect(function(ea) {\n return pt(ea.pageX, ea.pageY);}),\n dist1 = Math.sqrt(\n Math.pow(pos1[0].x - pos1[1].x, 2) +\n Math.pow(pos1[0].y - pos1[1].y, 2)),\n dist2 = Math.sqrt(\n Math.pow(pos2[0].x - pos2[1].x, 2) +\n Math.pow(pos2[0].y - pos2[1].y, 2));\n \n if (dist1 > dist2) { \n this.onPinch(pos1, pos2, evt);\n }\n delete this.touchStartPositions;*/\n}","funcProperties":{"__isSmartRef__":true,"id":2739},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2734":{"this":{"__isSmartRef__":true,"id":2564},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2735}},"2735":{"$super":{"__isSmartRef__":true,"id":2736}},"2736":{"varMapping":{"__isSmartRef__":true,"id":2737},"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":2738},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2737":{"obj":{"__isSmartRef__":true,"id":2564},"name":"onTouchEnd"},"2738":{},"2739":{"timestamp":{"__isSmartRef__":true,"id":2740},"user":"fbo","tags":[]},"2740":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:57:26 GMT+0100 (W. Europe Standard Time)"},"2741":{"varMapping":{"__isSmartRef__":true,"id":2742},"source":"function touchListToArray(touchList) { \n // this should be part of TouchList, which only exists in Safari\n var res = [];\n for (var i = 0; i < touchList.length; i++) {\n res.push(touchList.item(i));\n }\n //alertOK('put ' + res.length + ' touches into array');\n return res;\n}","funcProperties":{"__isSmartRef__":true,"id":2743},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2742":{"this":{"__isSmartRef__":true,"id":2564}},"2743":{"timestamp":{"__isSmartRef__":true,"id":2744},"user":"fabian","tags":[]},"2744":{"isSerializedDate":true,"string":"Tue Jan 03 2012 02:59:24 GMT+0100 (W. Europe Standard Time)"},"2745":{"submorphs":[{"__isSmartRef__":true,"id":2746}],"scripts":[],"id":"5B238E4B-34FB-4ED8-B55C-14386E505DEC","shape":{"__isSmartRef__":true,"id":2766},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2779},"attributeConnections":[{"__isSmartRef__":true,"id":2780}],"doNotSerialize":["$$value"],"doNotCopyProperties":["$$value"],"value":0.30060000000000003,"sliderExtent":0.1,"valueScale":1,"sliderKnob":{"__isSmartRef__":true,"id":2746},"styleClass":["slider_background_horizontal"],"showsHalos":false,"name":"Slider","partsBinMetaInfo":{"__isSmartRef__":true,"id":2781},"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2782},"eventHandler":{"__isSmartRef__":true,"id":2783},"layout":{"__isSmartRef__":true,"id":2784},"derivationIds":[2631],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Slider"},"2746":{"submorphs":[],"scripts":[],"id":"C653BCA7-5352-40BF-9EC8-4D8085C3BDCA","shape":{"__isSmartRef__":true,"id":2747},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":2761},"slider":{"__isSmartRef__":true,"id":2745},"owner":{"__isSmartRef__":true,"id":2745},"styleClass":["slider_horizontal"],"hitPoint":{"__isSmartRef__":true,"id":2762},"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2763},"eventHandler":{"__isSmartRef__":true,"id":2764},"derivationIds":[2632],"_ClipMode":"visible","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":2765},"__LivelyClassName__":"lively.morphic.SliderKnob"},"2747":{"position":{"__isSmartRef__":true,"id":2748},"_Extent":{"__isSmartRef__":true,"id":2749},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2750},"_Fill":{"__isSmartRef__":true,"id":2751},"_BorderRadius":6,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2759},"_Padding":{"__isSmartRef__":true,"id":2760},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2748":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2749":{"x":15,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2750":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2751":{"stops":[{"__isSmartRef__":true,"id":2752},{"__isSmartRef__":true,"id":2754},{"__isSmartRef__":true,"id":2756}],"vector":{"__isSmartRef__":true,"id":2758},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2752":{"offset":0,"color":{"__isSmartRef__":true,"id":2753}},"2753":{"r":0.7681568627450981,"g":0.8271372549019608,"b":0.8660392156862744,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2754":{"offset":0.5,"color":{"__isSmartRef__":true,"id":2755}},"2755":{"r":0.5363137254901961,"g":0.6542745098039215,"b":0.7320784313725489,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2756":{"offset":1,"color":{"__isSmartRef__":true,"id":2757}},"2757":{"r":0.3783529411764706,"g":0.5110588235294118,"b":0.5985882352941176,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2758":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2759":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2760":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2761":{"x":40.581,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2762":{"x":963,"y":194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2763":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2764":{"morph":{"__isSmartRef__":true,"id":2746},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2765":{"x":15,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2766":{"position":{"__isSmartRef__":true,"id":2767},"_Extent":{"__isSmartRef__":true,"id":2768},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2769},"_Fill":{"__isSmartRef__":true,"id":2770},"_BorderRadius":6,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2777},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":2778},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2767":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2768":{"x":150,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2769":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2770":{"stops":[{"__isSmartRef__":true,"id":2771},{"__isSmartRef__":true,"id":2773},{"__isSmartRef__":true,"id":2775}],"vector":{"__isSmartRef__":true,"id":2758},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2771":{"offset":0,"color":{"__isSmartRef__":true,"id":2772}},"2772":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2773":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2774}},"2774":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2775":{"offset":1,"color":{"__isSmartRef__":true,"id":2776}},"2776":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2777":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2778":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2779":{"x":379,"y":365,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2780":{"sourceObj":{"__isSmartRef__":true,"id":2745},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":2745},"targetMethodName":"adjustSliderParts","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2781":{"requiredModules":[],"partsSpaceName":"PartsBin/Inputs","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","partName":"Slider","comment":"The connection point \"value\" can be used to read/write the slider knob position.","revisionOnLoad":148695,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2782":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2783":{"morph":{"__isSmartRef__":true,"id":2745},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2784":{},"2785":{"submorphs":[],"scripts":[],"id":"334513F1-4739-4060-94D0-8DE9CE5859A3","shape":{"__isSmartRef__":true,"id":2786},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":2791},"_Position":{"__isSmartRef__":true,"id":2792},"showsHalos":false,"name":"Image","partsBinMetaInfo":{"__isSmartRef__":true,"id":2793},"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2794},"derivationIds":[707],"_ClipMode":"visible","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image"},"2786":{"position":{"__isSmartRef__":true,"id":2787},"_Extent":{"__isSmartRef__":true,"id":2788},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png","__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2789},"isLoaded":true,"_Padding":{"__isSmartRef__":true,"id":2790},"__LivelyClassName__":"lively.morphic.Shapes.Image"},"2787":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2788":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2789":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2790":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2791":{"morph":{"__isSmartRef__":true,"id":2785},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2792":{"x":732,"y":331,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2793":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","partName":"Image","migrationLevel":2,"comment":"an pixmap image morph","revisionOnLoad":148804,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2794":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2795":{"submorphs":[],"scripts":[],"id":"54A9264B-0D50-4185-9712-B51E155A9E00","shape":{"__isSmartRef__":true,"id":2796},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2802},"_MaxTextWidth":623.6881559999997,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2799},"showsHalos":false,"_FontSize":31,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":2803},"textChunks":[{"__isSmartRef__":true,"id":2814}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2816},"renderContextTable":{"__isSmartRef__":true,"id":2817},"eventHandler":{"__isSmartRef__":true,"id":2818},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2819},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":623.6881559999997,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"priorSelectionRange":[9,9],"__LivelyClassName__":"lively.morphic.Text"},"2796":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2797},"_Extent":{"__isSmartRef__":true,"id":2798},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2799},"renderContextTable":{"__isSmartRef__":true,"id":2800},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2801},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2797":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2798":{"x":631.6881559999997,"y":52,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2799":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2800":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2801":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2802":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2803":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2804},{"__isSmartRef__":true,"id":2806},{"__isSmartRef__":true,"id":2808},{"__isSmartRef__":true,"id":2810},{"__isSmartRef__":true,"id":2812}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2804":{"date":{"__isSmartRef__":true,"id":2805},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2805":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (W. Europe Daylight Time)"},"2806":{"date":{"__isSmartRef__":true,"id":2807},"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"},"2807":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (W. Europe Standard Time)"},"2808":{"date":{"__isSmartRef__":true,"id":2809},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2809":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (W. Europe Daylight Time)"},"2810":{"date":{"__isSmartRef__":true,"id":2811},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2811":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (W. Europe Daylight Time)"},"2812":{"date":{"__isSmartRef__":true,"id":2813},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2813":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (W. Europe Daylight Time)"},"2814":{"style":{"__isSmartRef__":true,"id":2815},"morph":{"__isSmartRef__":true,"id":2795},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":2795},"storedString":"Die Webwerkstatt für unterwegs","__LivelyClassName__":"lively.morphic.TextChunk"},"2815":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2816":{"x":631.6881559999997,"y":52,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2817":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2818":{"morph":{"__isSmartRef__":true,"id":2795},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2819":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2820":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2821},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":2827},"eventHandler":{"__isSmartRef__":true,"id":2828},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","priorExtent":{"__isSmartRef__":true,"id":2829},"__SourceModuleName__":"Global.lively.morphic.Events","internalClickedOnMorph":{"__isSmartRef__":true,"id":2830},"carriesGrabbedMorphs":false,"lastScrollTime":1336752143873,"scrollFocusMorph":{"__isSmartRef__":true,"id":2840},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":2961},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"2821":{"_Position":{"__isSmartRef__":true,"id":2822},"renderContextTable":{"__isSmartRef__":true,"id":2823},"_Extent":{"__isSmartRef__":true,"id":2824},"_Fill":{"__isSmartRef__":true,"id":2825},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2826},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2822":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2823":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2824":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2825":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2826":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2827":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2828":{"morph":{"__isSmartRef__":true,"id":2820},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2829":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2830":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2831},"derivationIds":[null],"id":"E92634C5-76F4-4480-BFEA-BD2FD002FFC1","renderContextTable":{"__isSmartRef__":true,"id":2836},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2837}],"eventHandler":{"__isSmartRef__":true,"id":2839},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2840},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1625},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2960},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2831":{"_Position":{"__isSmartRef__":true,"id":2832},"renderContextTable":{"__isSmartRef__":true,"id":2833},"_Extent":{"__isSmartRef__":true,"id":2834},"_Padding":{"__isSmartRef__":true,"id":2835},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1625},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2832":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2833":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2834":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2835":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2836":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2837":{"style":{"__isSmartRef__":true,"id":2838},"chunkOwner":{"__isSmartRef__":true,"id":2830},"storedString":"OK","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2838":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2839":{"morph":{"__isSmartRef__":true,"id":2830},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2840":{"submorphs":[{"__isSmartRef__":true,"id":2830}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2841},"derivationIds":[null],"id":"C91DC898-76C1-432D-8EFF-DAEC60968FA5","renderContextTable":{"__isSmartRef__":true,"id":2856},"eventHandler":{"__isSmartRef__":true,"id":2857},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2858},"priorExtent":{"__isSmartRef__":true,"id":2859},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2860},"lighterFill":{"__isSmartRef__":true,"id":2847},"label":{"__isSmartRef__":true,"id":2830},"layout":{"__isSmartRef__":true,"id":2869},"owner":{"__isSmartRef__":true,"id":2870},"attributeConnections":[{"__isSmartRef__":true,"id":2958},{"__isSmartRef__":true,"id":2959}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2841":{"_Position":{"__isSmartRef__":true,"id":2842},"renderContextTable":{"__isSmartRef__":true,"id":2843},"_Extent":{"__isSmartRef__":true,"id":2844},"_Padding":{"__isSmartRef__":true,"id":2845},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2846},"_Fill":{"__isSmartRef__":true,"id":2847},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2842":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2843":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2844":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2845":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2846":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2847":{"stops":[{"__isSmartRef__":true,"id":2848},{"__isSmartRef__":true,"id":2850},{"__isSmartRef__":true,"id":2852},{"__isSmartRef__":true,"id":2854}],"vector":{"__isSmartRef__":true,"id":2366},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2848":{"offset":0,"color":{"__isSmartRef__":true,"id":2849}},"2849":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2850":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2851}},"2851":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2852":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2853}},"2853":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2854":{"offset":1,"color":{"__isSmartRef__":true,"id":2855}},"2855":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2856":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2857":{"morph":{"__isSmartRef__":true,"id":2840},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2858":{"x":172,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2859":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2860":{"stops":[{"__isSmartRef__":true,"id":2861},{"__isSmartRef__":true,"id":2863},{"__isSmartRef__":true,"id":2865},{"__isSmartRef__":true,"id":2867}],"vector":{"__isSmartRef__":true,"id":2366},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2861":{"offset":0,"color":{"__isSmartRef__":true,"id":2862}},"2862":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2863":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2864}},"2864":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2865":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2866}},"2866":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2867":{"offset":1,"color":{"__isSmartRef__":true,"id":2868}},"2868":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2869":{"moveVertical":true,"moveHorizontal":true},"2870":{"submorphs":[{"__isSmartRef__":true,"id":2871},{"__isSmartRef__":true,"id":2882},{"__isSmartRef__":true,"id":2840},{"__isSmartRef__":true,"id":2916}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2934},"derivationIds":[null],"id":"B31CEA33-4F84-4457-8DD5-863AF5EB7417","renderContextTable":{"__isSmartRef__":true,"id":2941},"eventHandler":{"__isSmartRef__":true,"id":2942},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2943},"isLockOwner":true,"layout":{"__isSmartRef__":true,"id":2944},"draggingEnabled":false,"grabbingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":2945},{"__isSmartRef__":true,"id":2947},{"__isSmartRef__":true,"id":2949}],"ownerApp":{"__isSmartRef__":true,"id":2914},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2950},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"2871":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2872},"derivationIds":[null],"id":"ED8FF012-3E7E-42A1-9FFC-EE3F46520624","renderContextTable":{"__isSmartRef__":true,"id":2877},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2878}],"eventHandler":{"__isSmartRef__":true,"id":2880},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2870},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"draggingEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":2881},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2872":{"_Position":{"__isSmartRef__":true,"id":2873},"renderContextTable":{"__isSmartRef__":true,"id":2874},"_Extent":{"__isSmartRef__":true,"id":2875},"_Padding":{"__isSmartRef__":true,"id":2876},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1625},"_Fill":{"__isSmartRef__":true,"id":2363},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2873":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2874":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2875":{"x":237,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2876":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2877":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2878":{"style":{"__isSmartRef__":true,"id":2879},"chunkOwner":{"__isSmartRef__":true,"id":2871},"storedString":"Please enter a relative or absolute path","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2879":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2880":{"morph":{"__isSmartRef__":true,"id":2871},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2881":{"x":237,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2882":{"submorphs":[{"__isSmartRef__":true,"id":2883}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2894},"derivationIds":[null],"id":"B251CFF2-D5A4-4D4B-9A9B-049085934DBF","renderContextTable":{"__isSmartRef__":true,"id":2899},"eventHandler":{"__isSmartRef__":true,"id":2900},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2901},"priorExtent":{"__isSmartRef__":true,"id":2902},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2860},"lighterFill":{"__isSmartRef__":true,"id":2903},"label":{"__isSmartRef__":true,"id":2883},"layout":{"__isSmartRef__":true,"id":2912},"owner":{"__isSmartRef__":true,"id":2870},"attributeConnections":[{"__isSmartRef__":true,"id":2913},{"__isSmartRef__":true,"id":2932}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2883":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2884},"derivationIds":[null],"id":"D8E1AB78-A792-4937-9C0E-EE2DA297D8E1","renderContextTable":{"__isSmartRef__":true,"id":2889},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2890}],"eventHandler":{"__isSmartRef__":true,"id":2892},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2882},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1625},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2893},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2884":{"_Position":{"__isSmartRef__":true,"id":2885},"renderContextTable":{"__isSmartRef__":true,"id":2886},"_Extent":{"__isSmartRef__":true,"id":2887},"_Padding":{"__isSmartRef__":true,"id":2888},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1625},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2885":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2886":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2887":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2888":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2889":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2890":{"style":{"__isSmartRef__":true,"id":2891},"chunkOwner":{"__isSmartRef__":true,"id":2883},"storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2891":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2892":{"morph":{"__isSmartRef__":true,"id":2883},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2893":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2894":{"_Position":{"__isSmartRef__":true,"id":2895},"renderContextTable":{"__isSmartRef__":true,"id":2896},"_Extent":{"__isSmartRef__":true,"id":2897},"_Padding":{"__isSmartRef__":true,"id":2898},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2846},"_Fill":{"__isSmartRef__":true,"id":2860},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2895":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2896":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2897":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2898":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2899":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2900":{"morph":{"__isSmartRef__":true,"id":2882},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2901":{"x":236,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2902":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2903":{"stops":[{"__isSmartRef__":true,"id":2904},{"__isSmartRef__":true,"id":2906},{"__isSmartRef__":true,"id":2908},{"__isSmartRef__":true,"id":2910}],"vector":{"__isSmartRef__":true,"id":2366},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2904":{"offset":0,"color":{"__isSmartRef__":true,"id":2905}},"2905":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2906":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2907}},"2907":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2908":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2909}},"2909":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2910":{"offset":1,"color":{"__isSmartRef__":true,"id":2911}},"2911":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2912":{"moveVertical":true,"moveHorizontal":true},"2913":{"sourceObj":{"__isSmartRef__":true,"id":2882},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2914},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2914":{"result":"plakatDesign2.xhtml","message":"Please enter a relative or absolute path","attributeConnections":[{"__isSmartRef__":true,"id":2915}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"defaultInput":"blank.xhtml","panel":{"__isSmartRef__":true,"id":2870},"label":{"__isSmartRef__":true,"id":2871},"cancelButton":{"__isSmartRef__":true,"id":2882},"okButton":{"__isSmartRef__":true,"id":2840},"inputText":{"__isSmartRef__":true,"id":2916},"view":{"__isSmartRef__":true,"id":2870},"__LivelyClassName__":"lively.morphic.PromptDialog","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2915":{"sourceObj":{"__isSmartRef__":true,"id":2914},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":2914},"targetMethodName":"triggerCallback","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2916":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2917},"derivationIds":[null],"id":"28AF0F19-C2D7-4771-AF04-F0FAE3B1AC34","renderContextTable":{"__isSmartRef__":true,"id":2923},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2924}],"eventHandler":{"__isSmartRef__":true,"id":2926},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":2927},"isInputLine":true,"draggingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":2928},{"__isSmartRef__":true,"id":2929}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"plakatDesign2.xhtml","owner":{"__isSmartRef__":true,"id":2870},"priorExtent":{"__isSmartRef__":true,"id":2931},"_MaxTextWidth":282,"_MinTextWidth":282,"_MaxTextHeight":null,"_MinTextHeight":null,"priorSelectionRange":[7,7],"previousSelection":[0,11],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2917":{"_Position":{"__isSmartRef__":true,"id":2918},"renderContextTable":{"__isSmartRef__":true,"id":2919},"_Extent":{"__isSmartRef__":true,"id":2920},"_Padding":{"__isSmartRef__":true,"id":2921},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1625},"_Fill":{"__isSmartRef__":true,"id":2922},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2918":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2919":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2920":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2921":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2922":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2923":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2924":{"style":{"__isSmartRef__":true,"id":2925},"chunkOwner":{"__isSmartRef__":true,"id":2916},"storedString":"plakatDesign2.xhtml","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2925":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2926":{"morph":{"__isSmartRef__":true,"id":2916},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2927":{"x":4,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2928":{"sourceObj":{"__isSmartRef__":true,"id":2916},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2914},"targetMethodName":"result","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2929":{"sourceObj":{"__isSmartRef__":true,"id":2916},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":2914},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2930},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2930":{"source":{"__isSmartRef__":true,"id":2916},"target":{"__isSmartRef__":true,"id":2914}},"2931":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2932":{"sourceObj":{"__isSmartRef__":true,"id":2882},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2914},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2933},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2933":{"source":{"__isSmartRef__":true,"id":2882},"target":{"__isSmartRef__":true,"id":2914}},"2934":{"_Position":{"__isSmartRef__":true,"id":2935},"renderContextTable":{"__isSmartRef__":true,"id":2936},"_Extent":{"__isSmartRef__":true,"id":2937},"_Padding":{"__isSmartRef__":true,"id":2938},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2939},"_Fill":{"__isSmartRef__":true,"id":2940},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2935":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2936":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2937":{"x":300,"y":90,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2938":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2939":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2940":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2941":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2942":{"morph":{"__isSmartRef__":true,"id":2870},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2943":{"x":326,"y":195.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2944":{"adjustForNewBounds":true},"2945":{"sourceObj":{"__isSmartRef__":true,"id":2870},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":2914},"targetMethodName":"result","converter":null,"converterString":"function () { return null}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2946},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2946":{"source":{"__isSmartRef__":true,"id":2870},"target":{"__isSmartRef__":true,"id":2914}},"2947":{"sourceObj":{"__isSmartRef__":true,"id":2870},"sourceAttrName":"onEnterPressed","targetObj":{"__isSmartRef__":true,"id":2916},"targetMethodName":"doSave","converter":null,"converterString":"function (arg) { return arg }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2948},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2948":{"source":{"__isSmartRef__":true,"id":2870},"target":{"__isSmartRef__":true,"id":2916}},"2949":{"sourceObj":{"__isSmartRef__":true,"id":2870},"sourceAttrName":"remove","targetMethodName":"remove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2950":{"$$onEnterPressed":{"__isSmartRef__":true,"id":2951}},"2951":{"varMapping":{"__isSmartRef__":true,"id":2952},"source":"function onEnterPressed(evt) {\n evt.stop();\n }","funcProperties":{"__isSmartRef__":true,"id":2957},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2952":{"this":{"__isSmartRef__":true,"id":2870},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2953}},"2953":{"$super":{"__isSmartRef__":true,"id":2954}},"2954":{"varMapping":{"__isSmartRef__":true,"id":2955},"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":2956},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2955":{"obj":{"__isSmartRef__":true,"id":2870},"name":"onEnterPressed"},"2956":{},"2957":{},"2958":{"sourceObj":{"__isSmartRef__":true,"id":2840},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2914},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2959":{"sourceObj":{"__isSmartRef__":true,"id":2840},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2916},"targetMethodName":"doSave","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2960":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2961":{"x":525,"y":272,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2962":{"_Position":{"__isSmartRef__":true,"id":2963},"renderContextTable":{"__isSmartRef__":true,"id":2964},"_Extent":{"__isSmartRef__":true,"id":2965},"_Fill":{"__isSmartRef__":true,"id":2966},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2967},"_Opacity":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2963":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2964":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2965":{"x":3000,"y":4000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2966":{"r":0.628663850016892,"g":0.668842337327078,"b":0.6641930832993239,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2967":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2968":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"2969":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2970":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2971":{"x":1440,"y":6000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2972":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"2973":{"x":523,"y":270,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2974":{"submorphs":[{"__isSmartRef__":true,"id":2975}],"scripts":[],"id":"B7695FFC-C675-4834-B33F-22A8C11AAE13","shape":{"__isSmartRef__":true,"id":3004},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3011},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":3012},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3109},"eventHandler":{"__isSmartRef__":true,"id":3110},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":3111},"layout":{"__isSmartRef__":true,"id":3112},"distanceToDragEvent":{"__isSmartRef__":true,"id":3113},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3114},"__LivelyClassName__":"lively.morphic.Box"},"2975":{"submorphs":[{"__isSmartRef__":true,"id":2976}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2992},"id":"1DB74C9B-B655-429E-922D-C411D82A5B60","renderContextTable":{"__isSmartRef__":true,"id":2997},"eventHandler":{"__isSmartRef__":true,"id":2998},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2999},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":3000},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":3001},"partsBinMetaInfo":{"__isSmartRef__":true,"id":3002},"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2974},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":3003},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"2976":{"submorphs":[],"scripts":[],"id":"659771E7-6761-436E-9A3E-11CF97163547","shape":{"__isSmartRef__":true,"id":2977},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2983},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2980},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":2984},"textChunks":[{"__isSmartRef__":true,"id":2985}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2987},"renderContextTable":{"__isSmartRef__":true,"id":2988},"eventHandler":{"__isSmartRef__":true,"id":2989},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2990},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":2975},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":2991},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2977":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2978},"_Extent":{"__isSmartRef__":true,"id":2979},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2980},"renderContextTable":{"__isSmartRef__":true,"id":2981},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2982},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2978":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2979":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2980":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2981":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2982":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2983":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2984":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2985":{"style":{"__isSmartRef__":true,"id":2986},"chunkOwner":{"__isSmartRef__":true,"id":2976},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"2986":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2987":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2988":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2989":{"morph":{"__isSmartRef__":true,"id":2976},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2990":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2991":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2992":{"_Position":{"__isSmartRef__":true,"id":2993},"renderContextTable":{"__isSmartRef__":true,"id":2994},"_Extent":{"__isSmartRef__":true,"id":2995},"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2996},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"2993":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2994":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2995":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2996":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2997":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2998":{"morph":{"__isSmartRef__":true,"id":2975},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2999":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3000":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3001":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3002":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3003":{"centeredHorizontal":true,"centeredVertical":true},"3004":{"position":{"__isSmartRef__":true,"id":3005},"_Extent":{"__isSmartRef__":true,"id":3006},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3007},"_Fill":{"__isSmartRef__":true,"id":3008},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3009},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3010},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3005":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3006":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3007":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3008":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3009":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3010":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3011":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3012":{"partsSpaceName":"PartsBin/iPadWidgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":3013},{"__isSmartRef__":true,"id":3015},{"__isSmartRef__":true,"id":3017},{"__isSmartRef__":true,"id":3019},{"__isSmartRef__":true,"id":3021},{"__isSmartRef__":true,"id":3023},{"__isSmartRef__":true,"id":3025},{"__isSmartRef__":true,"id":3027},{"__isSmartRef__":true,"id":3029},{"__isSmartRef__":true,"id":3031},{"__isSmartRef__":true,"id":3033},{"__isSmartRef__":true,"id":3035},{"__isSmartRef__":true,"id":3037},{"__isSmartRef__":true,"id":3039},{"__isSmartRef__":true,"id":3041},{"__isSmartRef__":true,"id":3043},{"__isSmartRef__":true,"id":3045},{"__isSmartRef__":true,"id":3047},{"__isSmartRef__":true,"id":3049},{"__isSmartRef__":true,"id":3051},{"__isSmartRef__":true,"id":3053},{"__isSmartRef__":true,"id":3055},{"__isSmartRef__":true,"id":3057},{"__isSmartRef__":true,"id":3059},{"__isSmartRef__":true,"id":3061},{"__isSmartRef__":true,"id":3063},{"__isSmartRef__":true,"id":3065},{"__isSmartRef__":true,"id":3067},{"__isSmartRef__":true,"id":3069},{"__isSmartRef__":true,"id":3071},{"__isSmartRef__":true,"id":3073},{"__isSmartRef__":true,"id":3075},{"__isSmartRef__":true,"id":3077},{"__isSmartRef__":true,"id":3079},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3083},{"__isSmartRef__":true,"id":3085},{"__isSmartRef__":true,"id":3087},{"__isSmartRef__":true,"id":3089},{"__isSmartRef__":true,"id":3091},{"__isSmartRef__":true,"id":3093},{"__isSmartRef__":true,"id":3095},{"__isSmartRef__":true,"id":3097},{"__isSmartRef__":true,"id":3099},{"__isSmartRef__":true,"id":3101},{"__isSmartRef__":true,"id":3103},{"__isSmartRef__":true,"id":3105},{"__isSmartRef__":true,"id":3107}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3013":{"date":{"__isSmartRef__":true,"id":3014},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"3014":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (W. Europe Standard Time)"},"3015":{"date":{"__isSmartRef__":true,"id":3016},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"3016":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (W. Europe Standard Time)"},"3017":{"date":{"__isSmartRef__":true,"id":3018},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"3018":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (W. Europe Standard Time)"},"3019":{"date":{"__isSmartRef__":true,"id":3020},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"3020":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (W. Europe Standard Time)"},"3021":{"date":{"__isSmartRef__":true,"id":3022},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"3022":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (W. Europe Standard Time)"},"3023":{"date":{"__isSmartRef__":true,"id":3024},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"3024":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (W. Europe Standard Time)"},"3025":{"date":{"__isSmartRef__":true,"id":3026},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"3026":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (W. Europe Standard Time)"},"3027":{"date":{"__isSmartRef__":true,"id":3028},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"3028":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (W. Europe Standard Time)"},"3029":{"date":{"__isSmartRef__":true,"id":3030},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"3030":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (W. Europe Standard Time)"},"3031":{"date":{"__isSmartRef__":true,"id":3032},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"3032":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (W. Europe Standard Time)"},"3033":{"date":{"__isSmartRef__":true,"id":3034},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"3034":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (W. Europe Standard Time)"},"3035":{"date":{"__isSmartRef__":true,"id":3036},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"3036":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (W. Europe Standard Time)"},"3037":{"date":{"__isSmartRef__":true,"id":3038},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"3038":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (W. Europe Standard Time)"},"3039":{"date":{"__isSmartRef__":true,"id":3040},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"3040":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (W. Europe Standard Time)"},"3041":{"date":{"__isSmartRef__":true,"id":3042},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"3042":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (W. Europe Standard Time)"},"3043":{"date":{"__isSmartRef__":true,"id":3044},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"3044":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (W. Europe Standard Time)"},"3045":{"date":{"__isSmartRef__":true,"id":3046},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"3046":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (W. Europe Standard Time)"},"3047":{"date":{"__isSmartRef__":true,"id":3048},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"3048":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (W. Europe Standard Time)"},"3049":{"date":{"__isSmartRef__":true,"id":3050},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"3050":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (W. Europe Standard Time)"},"3051":{"date":{"__isSmartRef__":true,"id":3052},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"3052":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (W. Europe Standard Time)"},"3053":{"date":{"__isSmartRef__":true,"id":3054},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"3054":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (W. Europe Standard Time)"},"3055":{"date":{"__isSmartRef__":true,"id":3056},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"3056":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (W. Europe Standard Time)"},"3057":{"date":{"__isSmartRef__":true,"id":3058},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"3058":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (W. Europe Standard Time)"},"3059":{"date":{"__isSmartRef__":true,"id":3060},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"3060":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (W. Europe Standard Time)"},"3061":{"date":{"__isSmartRef__":true,"id":3062},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"3062":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (W. Europe Standard Time)"},"3063":{"date":{"__isSmartRef__":true,"id":3064},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"3064":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (W. Europe Standard Time)"},"3065":{"date":{"__isSmartRef__":true,"id":3066},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"3066":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (W. Europe Standard Time)"},"3067":{"date":{"__isSmartRef__":true,"id":3068},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"3068":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (W. Europe Standard Time)"},"3069":{"date":{"__isSmartRef__":true,"id":3070},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"3070":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (W. Europe Standard Time)"},"3071":{"date":{"__isSmartRef__":true,"id":3072},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"3072":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (W. Europe Standard Time)"},"3073":{"date":{"__isSmartRef__":true,"id":3074},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"3074":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (W. Europe Standard Time)"},"3075":{"date":{"__isSmartRef__":true,"id":3076},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"3076":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (W. Europe Standard Time)"},"3077":{"date":{"__isSmartRef__":true,"id":3078},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"3078":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (W. Europe Standard Time)"},"3079":{"date":{"__isSmartRef__":true,"id":3080},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"3080":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (W. Europe Standard Time)"},"3081":{"date":{"__isSmartRef__":true,"id":3082},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"3082":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (W. Europe Standard Time)"},"3083":{"date":{"__isSmartRef__":true,"id":3084},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"3084":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (W. Europe Standard Time)"},"3085":{"date":{"__isSmartRef__":true,"id":3086},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"3086":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (W. Europe Standard Time)"},"3087":{"date":{"__isSmartRef__":true,"id":3088},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"3088":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (W. Europe Standard Time)"},"3089":{"date":{"__isSmartRef__":true,"id":3090},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"3090":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (W. Europe Standard Time)"},"3091":{"date":{"__isSmartRef__":true,"id":3092},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"3092":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (W. Europe Standard Time)"},"3093":{"date":{"__isSmartRef__":true,"id":3094},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"3094":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (W. Europe Standard Time)"},"3095":{"date":{"__isSmartRef__":true,"id":3096},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"3096":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (W. Europe Standard Time)"},"3097":{"date":{"__isSmartRef__":true,"id":3098},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"3098":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (W. Europe Standard Time)"},"3099":{"date":{"__isSmartRef__":true,"id":3100},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"3100":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (W. Europe Standard Time)"},"3101":{"date":{"__isSmartRef__":true,"id":3102},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"3102":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (W. Europe Standard Time)"},"3103":{"date":{"__isSmartRef__":true,"id":3104},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"3104":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (W. Europe Standard Time)"},"3105":{"date":{"__isSmartRef__":true,"id":3106},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"3106":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (W. Europe Standard Time)"},"3107":{"date":{"__isSmartRef__":true,"id":3108},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"3108":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (W. Europe Standard Time)"},"3109":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3110":{"morph":{"__isSmartRef__":true,"id":2974},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3111":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3112":{"adjustForNewBounds":true},"3113":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3114":{"loadPart":{"__isSmartRef__":true,"id":3115},"loadFinished":{"__isSmartRef__":true,"id":3119},"loadPartByName":{"__isSmartRef__":true,"id":3123}},"3115":{"varMapping":{"__isSmartRef__":true,"id":3116},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":3117},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3116":{"this":{"__isSmartRef__":true,"id":2974}},"3117":{"timestamp":{"__isSmartRef__":true,"id":3118},"user":"sstamm","tags":[]},"3118":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (W. Europe Standard Time)"},"3119":{"varMapping":{"__isSmartRef__":true,"id":3120},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3121},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3120":{"this":{"__isSmartRef__":true,"id":2974}},"3121":{"timestamp":{"__isSmartRef__":true,"id":3122},"user":"sstamm","tags":[]},"3122":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (W. Europe Standard Time)"},"3123":{"varMapping":{"__isSmartRef__":true,"id":3124},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":3125},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3124":{"this":{"__isSmartRef__":true,"id":2974}},"3125":{"timestamp":{"__isSmartRef__":true,"id":3126},"user":"sstamm","tags":[]},"3126":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (W. Europe Standard Time)"},"3127":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","varMapping":{"__isSmartRef__":true,"id":3128},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3129},"__LivelyClassName__":"AttributeConnection"},"3128":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"3129":{"updater":{"__isSmartRef__":true,"id":3130}},"3130":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3128},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3131},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3131":{},"3132":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/BP2012/Research/NetworkBenchmarks.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>