>>onPaste: Error: INVALID_STATE_ERR: DOM Exception 11\nundefined","__layered_draggingEnabled__":true,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1284},"eventHandler":{"__isSmartRef__":true,"id":1285},"eventStartPos":null,"attributeConnections":[{"__isSmartRef__":true,"id":1286}],"__layered_doNotSerialize__":[],"doNotCopyProperties":["$$savedWorldAsURL"],"doNotSerialize":["$$savedWorldAsURL"],"worldMenuOpened":false,"prevScroll":[0,-2160],"draggingEnabled":true,"clickedOnMorphTime":1333367519718,"_Scroll":[0,-2160],"currentUser":"sstamm","loadingMorph":{"__isSmartRef__":true,"id":1291},"savedWorldAsURL":{"__isSmartRef__":true,"id":1444},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2},"id":18444,"renderContextTable":{"__isSmartRef__":true,"id":10},"eventHandler":{"__isSmartRef__":true,"id":11},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":0},"controlPoints":[{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":760}],"con":{"__isSmartRef__":true,"id":579},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.Path"},"2":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":3},{"__isSmartRef__":true,"id":4}],"renderContextTable":{"__isSmartRef__":true,"id":5},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6},"_Extent":{"__isSmartRef__":true,"id":7},"_Padding":{"__isSmartRef__":true,"id":8},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":9},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"3":{"isAbsolute":true,"x":41,"y":588,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4":{"isAbsolute":true,"x":41,"y":588,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"5":{"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"},"6":{"x":40,"y":587,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7":{"x":1,"y":1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"9":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"10":{"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"},"11":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"12":{"morph":{"__isSmartRef__":true,"id":1},"index":0,"connectedMagnet":{"__isSmartRef__":true,"id":13},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"13":{"morph":{"__isSmartRef__":true,"id":14},"position":{"__isSmartRef__":true,"id":759},"connectedControlPoints":[{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":760}],"cachedGlobalPosition":{"__isSmartRef__":true,"id":779},"__SourceModuleName__":"Global.lively.morphic.Connectors","__LivelyClassName__":"lively.morphic.RelativeMagnet"},"14":{"submorphs":[{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":377},{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":496},{"__isSmartRef__":true,"id":511}],"scripts":[],"id":16793,"shape":{"__isSmartRef__":true,"id":571},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"UserStory4","partsBinMetaInfo":{"__isSmartRef__":true,"id":581},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":650},"eventHandler":{"__isSmartRef__":true,"id":651},"attributeConnections":[{"__isSmartRef__":true,"id":579}],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":652},"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":2,"layout":{"__isSmartRef__":true,"id":653},"scriptAnnotations":{"__isSmartRef__":true,"id":654},"titlePane":"Title","databaseRev":"1-1fd2ad18a8156299fe20a7329f5edf34","databaseID":"a96fcc542c7c941948c9b0a117502612","distanceToDragEvent":{"__isSmartRef__":true,"id":693},"serialization":{"__isSmartRef__":true,"id":694},"owner":null,"_Position":{"__isSmartRef__":true,"id":701},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":702},"__LivelyClassName__":"lively.morphic.Box"},"15":{"submorphs":[{"__isSmartRef__":true,"id":16}],"scripts":[],"id":16794,"shape":{"__isSmartRef__":true,"id":31},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":35},"lighterFill":{"__isSmartRef__":true,"id":47},"label":{"__isSmartRef__":true,"id":16},"name":"PublishButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":56},"attributeConnections":[{"__isSmartRef__":true,"id":57}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":93},"renderContextTable":{"__isSmartRef__":true,"id":94},"eventHandler":{"__isSmartRef__":true,"id":95},"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":96},"layout":{"__isSmartRef__":true,"id":97},"scriptAnnotations":{"__isSmartRef__":true,"id":98},"isCopyMorphRef":true,"morphRefId":2,"_Position":{"__isSmartRef__":true,"id":101},"owner":{"__isSmartRef__":true,"id":14},"publishUserStory":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"16":{"submorphs":[],"scripts":[],"id":16795,"shape":{"__isSmartRef__":true,"id":17},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":23},"_MaxTextWidth":86,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":24},"_Padding":{"__isSmartRef__":true,"id":25},"owner":{"__isSmartRef__":true,"id":15},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":26},"textChunks":[{"__isSmartRef__":true,"id":27}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":29},"eventHandler":{"__isSmartRef__":true,"id":30},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":86,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isCopyMorphRef":true,"morphRefId":2,"__LivelyClassName__":"lively.morphic.Text"},"17":{"position":{"__isSmartRef__":true,"id":18},"_Extent":{"__isSmartRef__":true,"id":19},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":20},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":21},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":22},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"18":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19":{"x":86,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"21":{"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"},"22":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"23":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"24":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"26":{"x":86,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"27":{"style":{"__isSmartRef__":true,"id":28},"chunkOwner":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"28":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"29":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"30":{"morph":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"31":{"position":{"__isSmartRef__":true,"id":32},"_Extent":{"__isSmartRef__":true,"id":33},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":34},"_Fill":{"__isSmartRef__":true,"id":35},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":45},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":46},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"32":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"33":{"x":86,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"34":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"35":{"stops":[{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":40},{"__isSmartRef__":true,"id":42}],"vector":{"__isSmartRef__":true,"id":44},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"36":{"offset":0,"color":{"__isSmartRef__":true,"id":37}},"37":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"38":{"offset":0.4,"color":{"__isSmartRef__":true,"id":39}},"39":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"40":{"offset":0.6,"color":{"__isSmartRef__":true,"id":41}},"41":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"42":{"offset":1,"color":{"__isSmartRef__":true,"id":43}},"43":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"44":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"45":{"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"},"46":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"47":{"stops":[{"__isSmartRef__":true,"id":48},{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":52},{"__isSmartRef__":true,"id":54}],"vector":{"__isSmartRef__":true,"id":44},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"48":{"offset":0,"color":{"__isSmartRef__":true,"id":49}},"49":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"50":{"offset":0.4,"color":{"__isSmartRef__":true,"id":51}},"51":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"52":{"offset":0.6,"color":{"__isSmartRef__":true,"id":53}},"53":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"54":{"offset":1,"color":{"__isSmartRef__":true,"id":55}},"55":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"56":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"57":{"sourceObj":{"__isSmartRef__":true,"id":15},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"publishUserStory","visualConnector":{"__isSmartRef__":true,"id":58},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"58":{"submorphs":[{"__isSmartRef__":true,"id":59}],"scripts":[],"shape":{"__isSmartRef__":true,"id":74},"id":20262,"renderContextTable":{"__isSmartRef__":true,"id":81},"eventHandler":{"__isSmartRef__":true,"id":82},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":83},{"__isSmartRef__":true,"id":84}],"con":{"__isSmartRef__":true,"id":57},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":85},"__LivelyClassName__":"lively.morphic.Path"},"59":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":60},"id":20263,"renderContextTable":{"__isSmartRef__":true,"id":71},"eventHandler":{"__isSmartRef__":true,"id":72},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":73},"owner":{"__isSmartRef__":true,"id":58},"_Rotation":-2.414348024283846,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"60":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":64}],"renderContextTable":{"__isSmartRef__":true,"id":65},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":66},"_Extent":{"__isSmartRef__":true,"id":67},"_Padding":{"__isSmartRef__":true,"id":68},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":69},"_Fill":{"__isSmartRef__":true,"id":70},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"61":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"62":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"63":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"64":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"65":{"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"},"66":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"67":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"68":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"69":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"70":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"71":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"72":{"morph":{"__isSmartRef__":true,"id":59},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"73":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"74":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":75},{"__isSmartRef__":true,"id":76}],"renderContextTable":{"__isSmartRef__":true,"id":77},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":78},"_Extent":{"__isSmartRef__":true,"id":79},"_Padding":{"__isSmartRef__":true,"id":80},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":69},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"75":{"isAbsolute":true,"x":309,"y":275,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"76":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"77":{"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"},"78":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"79":{"x":310,"y":276,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"80":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"81":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"82":{"morph":{"__isSmartRef__":true,"id":58},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"83":{"morph":{"__isSmartRef__":true,"id":58},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"84":{"morph":{"__isSmartRef__":true,"id":58},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":59},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"85":{"morphMenuItems":{"__isSmartRef__":true,"id":86}},"86":{"varMapping":{"__isSmartRef__":true,"id":87},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":92},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"87":{"this":{"__isSmartRef__":true,"id":58},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":88}},"88":{"$super":{"__isSmartRef__":true,"id":89}},"89":{"varMapping":{"__isSmartRef__":true,"id":90},"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":91},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"90":{"obj":{"__isSmartRef__":true,"id":58},"name":"morphMenuItems"},"91":{},"92":{},"93":{"x":85,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"94":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"95":{"morph":{"__isSmartRef__":true,"id":15},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"96":{"x":64,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"97":{"moveVertical":true,"moveHorizontal":true},"98":{"publishUserStory":{"__isSmartRef__":true,"id":99}},"99":{"time":{"__isSmartRef__":true,"id":100},"user":"sebastian.stamm"},"100":{"isSerializedDate":true,"string":"Tue Oct 18 2011 13:23:30 GMT+0200 (W. Europe Daylight Time)"},"101":{"x":394,"y":264,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"102":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":103},"id":16796,"renderContextTable":{"__isSmartRef__":true,"id":146},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":147}],"eventHandler":{"__isSmartRef__":true,"id":149},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"monospace","_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":150},"_MaxTextWidth":430.112,"_MinTextWidth":430.112,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":151},"syntaxHighlightingWhileTyping":false,"attributeConnections":[{"__isSmartRef__":true,"id":152},{"__isSmartRef__":true,"id":110}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1317804898170,"accessibleInInactiveWindow":true,"previousSelection":[0,11],"priorSelectionRange":[0,11],"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":187},"isBeingDragged":false,"charsReplaced":"","lastFindLoc":13,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"DescriptionPane","scriptAnnotations":{"__isSmartRef__":true,"id":188},"isCopyMorphRef":true,"morphRefId":1,"isInLayoutCycle":false,"_Position":{"__isSmartRef__":true,"id":193},"owner":{"__isSmartRef__":true,"id":14},"_Rotation":0,"_Scale":1,"textString":"undefined","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":194},"__LivelyClassName__":"lively.morphic.Text"},"103":{"_Position":{"__isSmartRef__":true,"id":104},"renderContextTable":{"__isSmartRef__":true,"id":105},"_Extent":{"__isSmartRef__":true,"id":106},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":107},"_BorderWidth":0.444,"_BorderColor":{"__isSmartRef__":true,"id":108},"_BorderRadius":5.55,"_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","attributeConnections":[{"__isSmartRef__":true,"id":109}],"doNotSerialize":["$$_Fill"],"doNotCopyProperties":["$$_Fill"],"_Fill":{"__isSmartRef__":true,"id":145},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"104":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"105":{"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"},"106":{"x":468,"y":192,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"107":{"x":10,"y":10,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"108":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"109":{"sourceObj":{"__isSmartRef__":true,"id":103},"sourceAttrName":"_Fill","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"makeSerialization","dependedBy":{"__isSmartRef__":true,"id":110},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"110":{"sourceObj":{"__isSmartRef__":true,"id":102},"sourceAttrName":"fill","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"makeSerialization","dependendConnections":[{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":109}],"visualConnector":{"__isSmartRef__":true,"id":111},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryConnection"},"111":{"submorphs":[{"__isSmartRef__":true,"id":112}],"scripts":[],"shape":{"__isSmartRef__":true,"id":126},"id":17742,"renderContextTable":{"__isSmartRef__":true,"id":133},"eventHandler":{"__isSmartRef__":true,"id":134},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":135},{"__isSmartRef__":true,"id":136}],"con":{"__isSmartRef__":true,"id":110},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":137},"__LivelyClassName__":"lively.morphic.Path"},"112":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":113},"id":17743,"renderContextTable":{"__isSmartRef__":true,"id":123},"eventHandler":{"__isSmartRef__":true,"id":124},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":125},"owner":{"__isSmartRef__":true,"id":111},"_Rotation":-1.7384387646261124,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"113":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":114},{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":116},{"__isSmartRef__":true,"id":117}],"renderContextTable":{"__isSmartRef__":true,"id":118},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":119},"_Extent":{"__isSmartRef__":true,"id":120},"_Padding":{"__isSmartRef__":true,"id":121},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":9},"_Fill":{"__isSmartRef__":true,"id":122},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"114":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"115":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"116":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"117":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"118":{"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"},"119":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"120":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"121":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"122":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"123":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"124":{"morph":{"__isSmartRef__":true,"id":112},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"125":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"126":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":127},{"__isSmartRef__":true,"id":128}],"renderContextTable":{"__isSmartRef__":true,"id":129},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":130},"_Extent":{"__isSmartRef__":true,"id":131},"_Padding":{"__isSmartRef__":true,"id":132},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":9},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"127":{"isAbsolute":true,"x":11,"y":65,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"128":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"129":{"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"},"130":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"131":{"x":12,"y":66,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"132":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"133":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"134":{"morph":{"__isSmartRef__":true,"id":111},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"135":{"morph":{"__isSmartRef__":true,"id":111},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"136":{"morph":{"__isSmartRef__":true,"id":111},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":112},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"137":{"morphMenuItems":{"__isSmartRef__":true,"id":138}},"138":{"varMapping":{"__isSmartRef__":true,"id":139},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":144},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"139":{"this":{"__isSmartRef__":true,"id":111},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":140}},"140":{"$super":{"__isSmartRef__":true,"id":141}},"141":{"varMapping":{"__isSmartRef__":true,"id":142},"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":143},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"142":{"obj":{"__isSmartRef__":true,"id":111},"name":"morphMenuItems"},"143":{},"144":{},"145":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"146":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"147":{"style":{"__isSmartRef__":true,"id":148},"chunkOwner":{"__isSmartRef__":true,"id":102},"storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"148":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"149":{"morph":{"__isSmartRef__":true,"id":102},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"150":{"x":468,"y":192,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"151":{"resizeWidth":true,"resizeHeight":true},"152":{"sourceObj":{"__isSmartRef__":true,"id":102},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"makeSerialization","visualConnector":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"153":{"submorphs":[{"__isSmartRef__":true,"id":154}],"scripts":[],"shape":{"__isSmartRef__":true,"id":168},"id":17544,"renderContextTable":{"__isSmartRef__":true,"id":175},"eventHandler":{"__isSmartRef__":true,"id":176},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":177},{"__isSmartRef__":true,"id":178}],"con":{"__isSmartRef__":true,"id":152},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":179},"__LivelyClassName__":"lively.morphic.Path"},"154":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":155},"id":17545,"renderContextTable":{"__isSmartRef__":true,"id":165},"eventHandler":{"__isSmartRef__":true,"id":166},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":167},"owner":{"__isSmartRef__":true,"id":153},"_Rotation":-1.7384387646261124,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"155":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":156},{"__isSmartRef__":true,"id":157},{"__isSmartRef__":true,"id":158},{"__isSmartRef__":true,"id":159}],"renderContextTable":{"__isSmartRef__":true,"id":160},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":161},"_Extent":{"__isSmartRef__":true,"id":162},"_Padding":{"__isSmartRef__":true,"id":163},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":9},"_Fill":{"__isSmartRef__":true,"id":164},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"156":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"157":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"158":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"159":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"160":{"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"},"161":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"162":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"163":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"164":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"165":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"166":{"morph":{"__isSmartRef__":true,"id":154},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"167":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"168":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":169},{"__isSmartRef__":true,"id":170}],"renderContextTable":{"__isSmartRef__":true,"id":171},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":172},"_Extent":{"__isSmartRef__":true,"id":173},"_Padding":{"__isSmartRef__":true,"id":174},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":9},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"169":{"isAbsolute":true,"x":11,"y":65,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"170":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"171":{"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"},"172":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"173":{"x":12,"y":66,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"174":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"175":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"176":{"morph":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"177":{"morph":{"__isSmartRef__":true,"id":153},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"178":{"morph":{"__isSmartRef__":true,"id":153},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":154},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"179":{"morphMenuItems":{"__isSmartRef__":true,"id":180}},"180":{"varMapping":{"__isSmartRef__":true,"id":181},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":186},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"181":{"this":{"__isSmartRef__":true,"id":153},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":182}},"182":{"$super":{"__isSmartRef__":true,"id":183}},"183":{"varMapping":{"__isSmartRef__":true,"id":184},"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":185},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"184":{"obj":{"__isSmartRef__":true,"id":153},"name":"morphMenuItems"},"185":{},"186":{},"187":{"x":268,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"188":{"printMe":{"__isSmartRef__":true,"id":189},"deleteUserStory":{"__isSmartRef__":true,"id":191}},"189":{"time":{"__isSmartRef__":true,"id":190},"user":"athomschke"},"190":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:49:29 GMT+0200 (W. Europe Daylight Time)"},"191":{"time":{"__isSmartRef__":true,"id":192},"user":"benjamin.siegmund"},"192":{"isSerializedDate":true,"string":"Tue Oct 18 2011 16:11:24 GMT+0200 (W. Europe Daylight Time)"},"193":{"x":11,"y":65,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"194":{"printMe":{"__isSmartRef__":true,"id":195}},"195":{"varMapping":{"__isSmartRef__":true,"id":196},"source":"function printMe() {\n alert(this.textString);\n}","funcProperties":{"__isSmartRef__":true,"id":197},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"196":{"this":{"__isSmartRef__":true,"id":102}},"197":{},"198":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":199},"id":16797,"renderContextTable":{"__isSmartRef__":true,"id":242},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":243}],"eventHandler":{"__isSmartRef__":true,"id":245},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Arial","_FontSize":16,"priorExtent":{"__isSmartRef__":true,"id":246},"_MaxTextWidth":447,"_MinTextWidth":447,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":247},"syntaxHighlightingWhileTyping":false,"attributeConnections":[{"__isSmartRef__":true,"id":248},{"__isSmartRef__":true,"id":206}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1317804898170,"accessibleInInactiveWindow":true,"previousSelection":[0,5],"priorSelectionRange":[0,5],"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":283},"isBeingDragged":false,"charsReplaced":"foo","lastFindLoc":6,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"TitlePane","scriptAnnotations":{"__isSmartRef__":true,"id":284},"isCopyMorphRef":true,"morphRefId":4,"isInLayoutCycle":false,"_Position":{"__isSmartRef__":true,"id":287},"owner":{"__isSmartRef__":true,"id":14},"_Rotation":0,"_Scale":1,"textString":"undefined","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":288},"__LivelyClassName__":"lively.morphic.Text"},"199":{"_Position":{"__isSmartRef__":true,"id":200},"renderContextTable":{"__isSmartRef__":true,"id":201},"_Extent":{"__isSmartRef__":true,"id":202},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":203},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":204},"_BorderRadius":6.660000000000001,"_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","attributeConnections":[{"__isSmartRef__":true,"id":205}],"doNotSerialize":["$$_Fill"],"doNotCopyProperties":["$$_Fill"],"_Fill":{"__isSmartRef__":true,"id":241},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"200":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"201":{"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"},"202":{"x":467,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"203":{"x":10,"y":10,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"204":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"205":{"sourceObj":{"__isSmartRef__":true,"id":199},"sourceAttrName":"_Fill","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"makeSerialization","dependedBy":{"__isSmartRef__":true,"id":206},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"206":{"sourceObj":{"__isSmartRef__":true,"id":198},"sourceAttrName":"fill","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"makeSerialization","dependendConnections":[{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":205}],"visualConnector":{"__isSmartRef__":true,"id":207},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryConnection"},"207":{"submorphs":[{"__isSmartRef__":true,"id":208}],"scripts":[],"shape":{"__isSmartRef__":true,"id":222},"id":17239,"renderContextTable":{"__isSmartRef__":true,"id":229},"eventHandler":{"__isSmartRef__":true,"id":230},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":231},{"__isSmartRef__":true,"id":232}],"con":{"__isSmartRef__":true,"id":206},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":233},"__LivelyClassName__":"lively.morphic.Path"},"208":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":209},"id":17240,"renderContextTable":{"__isSmartRef__":true,"id":219},"eventHandler":{"__isSmartRef__":true,"id":220},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":221},"owner":{"__isSmartRef__":true,"id":207},"_Rotation":-2.356194490192345,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"209":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":210},{"__isSmartRef__":true,"id":211},{"__isSmartRef__":true,"id":212},{"__isSmartRef__":true,"id":213}],"renderContextTable":{"__isSmartRef__":true,"id":214},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":215},"_Extent":{"__isSmartRef__":true,"id":216},"_Padding":{"__isSmartRef__":true,"id":217},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":9},"_Fill":{"__isSmartRef__":true,"id":218},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"210":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"211":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"212":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"213":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"214":{"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"},"215":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"216":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"217":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"218":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"219":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"220":{"morph":{"__isSmartRef__":true,"id":208},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"221":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"222":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":223},{"__isSmartRef__":true,"id":224}],"renderContextTable":{"__isSmartRef__":true,"id":225},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":226},"_Extent":{"__isSmartRef__":true,"id":227},"_Padding":{"__isSmartRef__":true,"id":228},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":9},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"223":{"isAbsolute":true,"x":12,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"224":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"225":{"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"},"226":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"227":{"x":13,"y":13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"228":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"229":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"230":{"morph":{"__isSmartRef__":true,"id":207},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"231":{"morph":{"__isSmartRef__":true,"id":207},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"232":{"morph":{"__isSmartRef__":true,"id":207},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":208},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"233":{"morphMenuItems":{"__isSmartRef__":true,"id":234}},"234":{"varMapping":{"__isSmartRef__":true,"id":235},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":240},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"235":{"this":{"__isSmartRef__":true,"id":207},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":236}},"236":{"$super":{"__isSmartRef__":true,"id":237}},"237":{"varMapping":{"__isSmartRef__":true,"id":238},"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":239},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"238":{"obj":{"__isSmartRef__":true,"id":207},"name":"morphMenuItems"},"239":{},"240":{},"241":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"242":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"243":{"style":{"__isSmartRef__":true,"id":244},"chunkOwner":{"__isSmartRef__":true,"id":198},"storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"244":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"245":{"morph":{"__isSmartRef__":true,"id":198},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"246":{"x":467,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"247":{"resizeWidth":true,"resizeHeight":false},"248":{"sourceObj":{"__isSmartRef__":true,"id":198},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"makeSerialization","visualConnector":{"__isSmartRef__":true,"id":249},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"249":{"submorphs":[{"__isSmartRef__":true,"id":250}],"scripts":[],"shape":{"__isSmartRef__":true,"id":264},"id":17081,"renderContextTable":{"__isSmartRef__":true,"id":271},"eventHandler":{"__isSmartRef__":true,"id":272},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":273},{"__isSmartRef__":true,"id":274}],"con":{"__isSmartRef__":true,"id":248},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":275},"__LivelyClassName__":"lively.morphic.Path"},"250":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":251},"id":17082,"renderContextTable":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":262},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":263},"owner":{"__isSmartRef__":true,"id":249},"_Rotation":-2.356194490192345,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"251":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":252},{"__isSmartRef__":true,"id":253},{"__isSmartRef__":true,"id":254},{"__isSmartRef__":true,"id":255}],"renderContextTable":{"__isSmartRef__":true,"id":256},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":257},"_Extent":{"__isSmartRef__":true,"id":258},"_Padding":{"__isSmartRef__":true,"id":259},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":9},"_Fill":{"__isSmartRef__":true,"id":260},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"252":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"253":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"254":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"255":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"256":{"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"},"257":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"258":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"259":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"260":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"261":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"262":{"morph":{"__isSmartRef__":true,"id":250},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"263":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"264":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":265},{"__isSmartRef__":true,"id":266}],"renderContextTable":{"__isSmartRef__":true,"id":267},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":268},"_Extent":{"__isSmartRef__":true,"id":269},"_Padding":{"__isSmartRef__":true,"id":270},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":9},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"265":{"isAbsolute":true,"x":12,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"266":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"267":{"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"},"268":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"269":{"x":13,"y":13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"270":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"271":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"272":{"morph":{"__isSmartRef__":true,"id":249},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"273":{"morph":{"__isSmartRef__":true,"id":249},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"274":{"morph":{"__isSmartRef__":true,"id":249},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":250},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"275":{"morphMenuItems":{"__isSmartRef__":true,"id":276}},"276":{"varMapping":{"__isSmartRef__":true,"id":277},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":282},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"277":{"this":{"__isSmartRef__":true,"id":249},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":278}},"278":{"$super":{"__isSmartRef__":true,"id":279}},"279":{"varMapping":{"__isSmartRef__":true,"id":280},"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":281},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"280":{"obj":{"__isSmartRef__":true,"id":249},"name":"morphMenuItems"},"281":{},"282":{},"283":{"x":268,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"284":{"printMe":{"__isSmartRef__":true,"id":285}},"285":{"time":{"__isSmartRef__":true,"id":286},"user":"athomschke"},"286":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:49:57 GMT+0200 (W. Europe Daylight Time)"},"287":{"x":12,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"288":{"printMe":{"__isSmartRef__":true,"id":289}},"289":{"varMapping":{"__isSmartRef__":true,"id":290},"source":"function printMe() {\n alert(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":291},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"290":{"this":{"__isSmartRef__":true,"id":198}},"291":{},"292":{"submorphs":[{"__isSmartRef__":true,"id":293}],"scripts":[],"id":16798,"shape":{"__isSmartRef__":true,"id":308},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":315},"lighterFill":{"__isSmartRef__":true,"id":325},"label":{"__isSmartRef__":true,"id":293},"name":"DeleteButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":334},"attributeConnections":[{"__isSmartRef__":true,"id":335}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":371},"renderContextTable":{"__isSmartRef__":true,"id":372},"eventHandler":{"__isSmartRef__":true,"id":373},"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":374},"layout":{"__isSmartRef__":true,"id":375},"textString":"Delete","_Position":{"__isSmartRef__":true,"id":376},"owner":{"__isSmartRef__":true,"id":14},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"293":{"submorphs":[],"scripts":[],"id":16799,"shape":{"__isSmartRef__":true,"id":294},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":300},"_MaxTextWidth":25,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":301},"_Padding":{"__isSmartRef__":true,"id":302},"owner":{"__isSmartRef__":true,"id":292},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":303},"textChunks":[{"__isSmartRef__":true,"id":304}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":306},"eventHandler":{"__isSmartRef__":true,"id":307},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":25,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"294":{"position":{"__isSmartRef__":true,"id":295},"_Extent":{"__isSmartRef__":true,"id":296},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":297},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":298},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":299},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"295":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"296":{"x":25,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"297":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"298":{"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"},"299":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"300":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"301":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"302":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"303":{"x":25,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"304":{"style":{"__isSmartRef__":true,"id":305},"chunkOwner":{"__isSmartRef__":true,"id":293},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"305":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"306":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"307":{"morph":{"__isSmartRef__":true,"id":293},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"308":{"position":{"__isSmartRef__":true,"id":309},"_Extent":{"__isSmartRef__":true,"id":310},"_BorderWidth":1.6280000000000001,"_BorderColor":{"__isSmartRef__":true,"id":311},"_Fill":{"__isSmartRef__":true,"id":312},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":313},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":314},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"309":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"310":{"x":25,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"311":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"312":{"r":1,"g":0.09471783713529147,"b":0.11328772765559311,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"313":{"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"},"314":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"315":{"stops":[{"__isSmartRef__":true,"id":316},{"__isSmartRef__":true,"id":318},{"__isSmartRef__":true,"id":320},{"__isSmartRef__":true,"id":322}],"vector":{"__isSmartRef__":true,"id":324},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"316":{"offset":0,"color":{"__isSmartRef__":true,"id":317}},"317":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"318":{"offset":0.4,"color":{"__isSmartRef__":true,"id":319}},"319":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"320":{"offset":0.6,"color":{"__isSmartRef__":true,"id":321}},"321":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"322":{"offset":1,"color":{"__isSmartRef__":true,"id":323}},"323":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"324":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"325":{"stops":[{"__isSmartRef__":true,"id":326},{"__isSmartRef__":true,"id":328},{"__isSmartRef__":true,"id":330},{"__isSmartRef__":true,"id":332}],"vector":{"__isSmartRef__":true,"id":324},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"326":{"offset":0,"color":{"__isSmartRef__":true,"id":327}},"327":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"328":{"offset":0.4,"color":{"__isSmartRef__":true,"id":329}},"329":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"330":{"offset":0.6,"color":{"__isSmartRef__":true,"id":331}},"331":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"332":{"offset":1,"color":{"__isSmartRef__":true,"id":333}},"333":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"334":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"335":{"sourceObj":{"__isSmartRef__":true,"id":292},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"deleteUserStory","visualConnector":{"__isSmartRef__":true,"id":336},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"336":{"submorphs":[{"__isSmartRef__":true,"id":337}],"scripts":[],"shape":{"__isSmartRef__":true,"id":352},"id":23288,"renderContextTable":{"__isSmartRef__":true,"id":359},"eventHandler":{"__isSmartRef__":true,"id":360},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":362}],"con":{"__isSmartRef__":true,"id":335},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":363},"__LivelyClassName__":"lively.morphic.Path"},"337":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":338},"id":23289,"renderContextTable":{"__isSmartRef__":true,"id":349},"eventHandler":{"__isSmartRef__":true,"id":350},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":351},"owner":{"__isSmartRef__":true,"id":336},"_Rotation":-1.6147240938717864,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"338":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":339},{"__isSmartRef__":true,"id":340},{"__isSmartRef__":true,"id":341},{"__isSmartRef__":true,"id":342}],"renderContextTable":{"__isSmartRef__":true,"id":343},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":344},"_Extent":{"__isSmartRef__":true,"id":345},"_Padding":{"__isSmartRef__":true,"id":346},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":347},"_Fill":{"__isSmartRef__":true,"id":348},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"339":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"340":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"341":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"342":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"343":{"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"},"344":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"345":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"346":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"347":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"348":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"349":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"350":{"morph":{"__isSmartRef__":true,"id":337},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"351":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"352":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":353},{"__isSmartRef__":true,"id":354}],"renderContextTable":{"__isSmartRef__":true,"id":355},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":356},"_Extent":{"__isSmartRef__":true,"id":357},"_Padding":{"__isSmartRef__":true,"id":358},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":347},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"353":{"isAbsolute":true,"x":12,"y":273,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"354":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"355":{"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"},"356":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"357":{"x":13,"y":274,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"358":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"359":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"360":{"morph":{"__isSmartRef__":true,"id":336},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"361":{"morph":{"__isSmartRef__":true,"id":336},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"362":{"morph":{"__isSmartRef__":true,"id":336},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":337},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"363":{"morphMenuItems":{"__isSmartRef__":true,"id":364}},"364":{"varMapping":{"__isSmartRef__":true,"id":365},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":370},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"365":{"this":{"__isSmartRef__":true,"id":336},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":366}},"366":{"$super":{"__isSmartRef__":true,"id":367}},"367":{"varMapping":{"__isSmartRef__":true,"id":368},"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":369},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"368":{"obj":{"__isSmartRef__":true,"id":336},"name":"morphMenuItems"},"369":{},"370":{},"371":{"x":25,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"372":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"373":{"morph":{"__isSmartRef__":true,"id":292},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"374":{"x":31,"y":-14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"375":{"moveVertical":true},"376":{"x":122,"y":265,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"377":{"submorphs":[],"scripts":[],"id":16800,"shape":{"__isSmartRef__":true,"id":378},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":385},"showsHalos":false,"name":"ResizeCorner1","partsBinMetaInfo":{"__isSmartRef__":true,"id":386},"__SourceModuleName__":"Global.lively.morphic.Core","__layered_draggingEnabled__":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":387},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":388},"eventHandler":{"__isSmartRef__":true,"id":389},"cornerName":"bottomRight","priorExtent":{"__isSmartRef__":true,"id":390},"originalTargetInnerBounds":null,"isResizeCorner":true,"relativeOrigin":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":14},"scriptAnnotations":{"__isSmartRef__":true,"id":391},"layout":{"__isSmartRef__":true,"id":398},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":399},"__LivelyClassName__":"lively.morphic.Box"},"378":{"position":{"__isSmartRef__":true,"id":379},"_Extent":{"__isSmartRef__":true,"id":380},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":381},"_Fill":{"__isSmartRef__":true,"id":382},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":383},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":384},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"379":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"380":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"381":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"382":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"383":{"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"},"384":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"385":{"x":480,"y":285,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"386":{"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Resize an object without using halos.","partName":"ResizeCorner","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"387":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"388":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"389":{"morph":{"__isSmartRef__":true,"id":377},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"390":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"391":{"onDrag":{"__isSmartRef__":true,"id":392},"onDragEnd":{"__isSmartRef__":true,"id":394},"onDragStart":{"__isSmartRef__":true,"id":396}},"392":{"time":{"__isSmartRef__":true,"id":393},"user":"conrad.calmez"},"393":{"isSerializedDate":true,"string":"Tue Oct 18 2011 17:27:49 GMT+0200 (W. Europe Daylight Time)"},"394":{"time":{"__isSmartRef__":true,"id":395},"user":"conrad.calmez"},"395":{"isSerializedDate":true,"string":"Tue Oct 18 2011 17:27:49 GMT+0200 (W. Europe Daylight Time)"},"396":{"time":{"__isSmartRef__":true,"id":397},"user":"conrad.calmez"},"397":{"isSerializedDate":true,"string":"Tue Oct 18 2011 17:27:49 GMT+0200 (W. Europe Daylight Time)"},"398":{"moveHorizontal":true,"moveVertical":true},"399":{"onDrag":{"__isSmartRef__":true,"id":400},"onDragEnd":{"__isSmartRef__":true,"id":407},"onDragStart":{"__isSmartRef__":true,"id":414},"reset":{"__isSmartRef__":true,"id":421},"morphMenuItems":{"__isSmartRef__":true,"id":424},"alignToOwner":{"__isSmartRef__":true,"id":431}},"400":{"varMapping":{"__isSmartRef__":true,"id":401},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":406},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"401":{"this":{"__isSmartRef__":true,"id":377},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":402}},"402":{"$super":{"__isSmartRef__":true,"id":403}},"403":{"varMapping":{"__isSmartRef__":true,"id":404},"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":405},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"404":{"obj":{"__isSmartRef__":true,"id":377},"name":"onDrag"},"405":{},"406":{},"407":{"varMapping":{"__isSmartRef__":true,"id":408},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":413},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"408":{"this":{"__isSmartRef__":true,"id":377},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":409}},"409":{"$super":{"__isSmartRef__":true,"id":410}},"410":{"varMapping":{"__isSmartRef__":true,"id":411},"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":412},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"411":{"obj":{"__isSmartRef__":true,"id":377},"name":"onDragEnd"},"412":{},"413":{},"414":{"varMapping":{"__isSmartRef__":true,"id":415},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":420},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"415":{"this":{"__isSmartRef__":true,"id":377},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":416}},"416":{"$super":{"__isSmartRef__":true,"id":417}},"417":{"varMapping":{"__isSmartRef__":true,"id":418},"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":419},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"418":{"obj":{"__isSmartRef__":true,"id":377},"name":"onDragStart"},"419":{},"420":{},"421":{"varMapping":{"__isSmartRef__":true,"id":422},"source":"function reset() {\n this.isResizeCorner = true\n this.cornerName = 'bottomRight'\n this.setExtent(pt(10,10));\n this.setPosition(pt(0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":423},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"422":{"this":{"__isSmartRef__":true,"id":377}},"423":{},"424":{"varMapping":{"__isSmartRef__":true,"id":425},"source":"function morphMenuItems() {\n return $super().concat([\n [\"corner\", [\n [\"top left\", function() { this.cornerName = 'topLeft'}.bind(this)],\n [\"top right\", function() { this.cornerName = 'topRight'}.bind(this)],\n [\"bottom right\", function() { this.cornerName = 'bottomRight'}.bind(this)],\n [\"bottom left\", function() { this.cornerName = 'bottomLeft'}.bind(this)],\n ]]\n ])\t\n}","funcProperties":{"__isSmartRef__":true,"id":430},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"425":{"this":{"__isSmartRef__":true,"id":377},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":426}},"426":{"$super":{"__isSmartRef__":true,"id":427}},"427":{"varMapping":{"__isSmartRef__":true,"id":428},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":429},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"428":{"obj":{"__isSmartRef__":true,"id":377},"name":"morphMenuItems"},"429":{},"430":{},"431":{"varMapping":{"__isSmartRef__":true,"id":432},"source":"function alignToOwner() {\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\n}","funcProperties":{"__isSmartRef__":true,"id":433},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"432":{"this":{"__isSmartRef__":true,"id":377}},"433":{},"434":{"submorphs":[],"scripts":[],"id":16801,"renderContextTable":{"__isSmartRef__":true,"id":435},"shape":{"__isSmartRef__":true,"id":436},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","eventHandler":{"__isSmartRef__":true,"id":443},"itemList":["new","in progress","done"],"selectOnMove":false,"showsHalos":false,"priorExtent":{"__isSmartRef__":true,"id":444},"attributeConnections":[{"__isSmartRef__":true,"id":445}],"doNotSerialize":["$$selectedLineNo"],"doNotCopyProperties":["$$selectedLineNo"],"name":"DropDownList","partsBinMetaInfo":{"__isSmartRef__":true,"id":485},"__SourceModuleName__":"Global.lively.morphic.Core","changeTriggered":false,"selection":"new","layout":{"__isSmartRef__":true,"id":486},"distanceToDragEvent":{"__isSmartRef__":true,"id":487},"isCopyMorphRef":true,"morphRefId":1,"scriptAnnotations":{"__isSmartRef__":true,"id":488},"_Position":{"__isSmartRef__":true,"id":491},"owner":{"__isSmartRef__":true,"id":14},"_Rotation":0,"_Scale":1,"selectedLineNo":0,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":492},"__LivelyClassName__":"lively.morphic.DropDownList"},"435":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"436":{"_Position":{"__isSmartRef__":true,"id":437},"renderContextTable":{"__isSmartRef__":true,"id":438},"_Extent":{"__isSmartRef__":true,"id":439},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":440},"_Fill":{"__isSmartRef__":true,"id":441},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":{"__isSmartRef__":true,"id":442},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"437":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"438":{"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"},"439":{"x":107,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"440":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"441":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"442":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"443":{"morph":{"__isSmartRef__":true,"id":434},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"444":{"x":107,"y":26,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"445":{"sourceObj":{"__isSmartRef__":true,"id":434},"sourceAttrName":"selectedLineNo","targetObj":{"__isSmartRef__":true,"id":434},"targetMethodName":"fill","visualConnector":{"__isSmartRef__":true,"id":446},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"446":{"submorphs":[{"__isSmartRef__":true,"id":447}],"scripts":[],"shape":{"__isSmartRef__":true,"id":466},"id":3620,"renderContextTable":{"__isSmartRef__":true,"id":473},"eventHandler":{"__isSmartRef__":true,"id":474},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":475},{"__isSmartRef__":true,"id":476}],"con":{"__isSmartRef__":true,"id":445},"showsMorphMenu":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":477},"__LivelyClassName__":"lively.morphic.Path"},"447":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":448},"id":3621,"renderContextTable":{"__isSmartRef__":true,"id":459},"eventHandler":{"__isSmartRef__":true,"id":460},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":461},"owner":{"__isSmartRef__":true,"id":446},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":462},{"__isSmartRef__":true,"id":463},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":465}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Rotation":2.1965478205316833,"__LivelyClassName__":"lively.morphic.Path"},"448":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":449},{"__isSmartRef__":true,"id":450},{"__isSmartRef__":true,"id":451},{"__isSmartRef__":true,"id":452}],"renderContextTable":{"__isSmartRef__":true,"id":453},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":454},"_Extent":{"__isSmartRef__":true,"id":455},"_Padding":{"__isSmartRef__":true,"id":456},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":457},"_Fill":{"__isSmartRef__":true,"id":458},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"449":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"450":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"451":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"452":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"453":{"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"},"454":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"455":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"456":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"457":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"458":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"459":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"460":{"morph":{"__isSmartRef__":true,"id":447},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"461":{"x":0.5,"y":137.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"462":{"morph":{"__isSmartRef__":true,"id":447},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"463":{"morph":{"__isSmartRef__":true,"id":447},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"464":{"morph":{"__isSmartRef__":true,"id":447},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"465":{"morph":{"__isSmartRef__":true,"id":447},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"466":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":468}],"renderContextTable":{"__isSmartRef__":true,"id":469},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":470},"_Extent":{"__isSmartRef__":true,"id":471},"_Padding":{"__isSmartRef__":true,"id":472},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":457},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"467":{"isAbsolute":true,"x":306,"y":262,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"468":{"isAbsolute":true,"x":207,"y":399,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"469":{"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"},"470":{"x":206.5,"y":261.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"471":{"x":100,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"472":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"473":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"474":{"morph":{"__isSmartRef__":true,"id":446},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"475":{"morph":{"__isSmartRef__":true,"id":446},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"476":{"morph":{"__isSmartRef__":true,"id":446},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":447},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"477":{"morphMenuItems":{"__isSmartRef__":true,"id":478}},"478":{"varMapping":{"__isSmartRef__":true,"id":479},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":484},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"479":{"this":{"__isSmartRef__":true,"id":446},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":480}},"480":{"$super":{"__isSmartRef__":true,"id":481}},"481":{"varMapping":{"__isSmartRef__":true,"id":482},"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":483},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"482":{"obj":{"__isSmartRef__":true,"id":446},"name":"morphMenuItems"},"483":{},"484":{},"485":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","comment":"\"Native\" drop down list","partName":"DropDownList","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"486":{"moveVertical":true,"moveHorizontal":true},"487":{"x":78,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"488":{"fill":{"__isSmartRef__":true,"id":489}},"489":{"time":{"__isSmartRef__":true,"id":490},"user":"conrad.calmez"},"490":{"isSerializedDate":true,"string":"Wed Oct 19 2011 13:10:36 GMT+0200 (W. Europe Daylight Time)"},"491":{"x":278,"y":262,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"492":{"fill":{"__isSmartRef__":true,"id":493}},"493":{"varMapping":{"__isSmartRef__":true,"id":494},"source":"function fill(lineNumber) {\n var status, color;\n status = this.itemList[lineNumber];\n switch (status) {\n case 'new':\n color = Color.rgb(255,255,255)\n break;\n case 'in progress':\n color = Color.rgb(255,255,0)\n break;\n case 'done':\n color = Color.rgb(0,255,0)\n break;\n default:\n color = Color.rgb(200,200,200)\n break;\n }\n this.owner.get('Rectangle').shape.setFill(color);\n}","funcProperties":{"__isSmartRef__":true,"id":495},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"494":{"this":{"__isSmartRef__":true,"id":434}},"495":{},"496":{"submorphs":[],"scripts":[],"id":16802,"shape":{"__isSmartRef__":true,"id":497},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":504},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":505},"eventHandler":{"__isSmartRef__":true,"id":506},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"layout":{"__isSmartRef__":true,"id":507},"priorExtent":{"__isSmartRef__":true,"id":508},"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":509},"_Position":{"__isSmartRef__":true,"id":510},"owner":{"__isSmartRef__":true,"id":14},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"497":{"position":{"__isSmartRef__":true,"id":498},"_Extent":{"__isSmartRef__":true,"id":499},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":500},"_Fill":{"__isSmartRef__":true,"id":501},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":502},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":503},"_BorderRadius":50,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"498":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"499":{"x":26,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"500":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"501":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"502":{"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"},"503":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"504":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"505":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"506":{"morph":{"__isSmartRef__":true,"id":496},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"507":{"moveVertical":true,"moveHorizontal":true},"508":{"x":26,"y":26,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"509":{"x":40,"y":-8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"510":{"x":244,"y":262,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"511":{"submorphs":[{"__isSmartRef__":true,"id":512}],"scripts":[],"id":16803,"shape":{"__isSmartRef__":true,"id":527},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":543},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":531},"lighterFill":{"__isSmartRef__":true,"id":544},"label":{"__isSmartRef__":true,"id":512},"name":"RevertButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":553},"attributeConnections":[{"__isSmartRef__":true,"id":554}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":555},"renderContextTable":{"__isSmartRef__":true,"id":556},"eventHandler":{"__isSmartRef__":true,"id":557},"owner":{"__isSmartRef__":true,"id":14},"scriptAnnotations":{"__isSmartRef__":true,"id":558},"layout":{"__isSmartRef__":true,"id":565},"_Visible":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":566},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":567},"__LivelyClassName__":"lively.morphic.Button"},"512":{"submorphs":[],"scripts":[],"id":16804,"shape":{"__isSmartRef__":true,"id":513},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":519},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":520},"_Padding":{"__isSmartRef__":true,"id":521},"owner":{"__isSmartRef__":true,"id":511},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":522},"textChunks":[{"__isSmartRef__":true,"id":523}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":525},"eventHandler":{"__isSmartRef__":true,"id":526},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":101,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"513":{"position":{"__isSmartRef__":true,"id":514},"_Extent":{"__isSmartRef__":true,"id":515},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":516},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":517},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":518},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"514":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"515":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"516":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"517":{"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"},"518":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"519":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"520":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"521":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"522":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"523":{"style":{"__isSmartRef__":true,"id":524},"chunkOwner":{"__isSmartRef__":true,"id":512},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"524":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"525":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"526":{"morph":{"__isSmartRef__":true,"id":512},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"527":{"position":{"__isSmartRef__":true,"id":528},"_Extent":{"__isSmartRef__":true,"id":529},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":530},"_Fill":{"__isSmartRef__":true,"id":531},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":541},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":542},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"528":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"529":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"530":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"531":{"stops":[{"__isSmartRef__":true,"id":532},{"__isSmartRef__":true,"id":534},{"__isSmartRef__":true,"id":536},{"__isSmartRef__":true,"id":538}],"vector":{"__isSmartRef__":true,"id":540},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"532":{"offset":0,"color":{"__isSmartRef__":true,"id":533}},"533":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"534":{"offset":0.4,"color":{"__isSmartRef__":true,"id":535}},"535":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"536":{"offset":0.6,"color":{"__isSmartRef__":true,"id":537}},"537":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"538":{"offset":1,"color":{"__isSmartRef__":true,"id":539}},"539":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"540":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"541":{"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"},"542":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"543":{"x":10,"y":266,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"544":{"stops":[{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":549},{"__isSmartRef__":true,"id":551}],"vector":{"__isSmartRef__":true,"id":540},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"545":{"offset":0,"color":{"__isSmartRef__":true,"id":546}},"546":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"547":{"offset":0.4,"color":{"__isSmartRef__":true,"id":548}},"548":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"549":{"offset":0.6,"color":{"__isSmartRef__":true,"id":550}},"550":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"551":{"offset":1,"color":{"__isSmartRef__":true,"id":552}},"552":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"553":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"554":{"sourceObj":{"__isSmartRef__":true,"id":511},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":511},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"555":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"556":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"557":{"morph":{"__isSmartRef__":true,"id":511},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"558":{"onFire":{"__isSmartRef__":true,"id":559},"setIsActive":{"__isSmartRef__":true,"id":561},"getIsActive":{"__isSmartRef__":true,"id":563}},"559":{"time":{"__isSmartRef__":true,"id":560},"user":"athomschke"},"560":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:50:04 GMT+0200 (W. Europe Daylight Time)"},"561":{"time":{"__isSmartRef__":true,"id":562},"user":"athomschke"},"562":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:37:21 GMT+0200 (W. Europe Daylight Time)"},"563":{"time":{"__isSmartRef__":true,"id":564},"user":"athomschke"},"564":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:26:23 GMT+0200 (W. Europe Daylight Time)"},"565":{"moveVertical":true},"566":{"x":73,"y":-14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"567":{"onFire":{"__isSmartRef__":true,"id":568}},"568":{"varMapping":{"__isSmartRef__":true,"id":569},"source":"function onFire() { \n this.owner.setSerializedProperties(this.owner.originalProperties);\n}","funcProperties":{"__isSmartRef__":true,"id":570},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"569":{"this":{"__isSmartRef__":true,"id":511}},"570":{},"571":{"position":{"__isSmartRef__":true,"id":572},"_Extent":{"__isSmartRef__":true,"id":573},"_Fill":{"__isSmartRef__":true,"id":574},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":575},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":576},"_BorderRadius":7.7700000000000005,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":577},"attributeConnections":[{"__isSmartRef__":true,"id":578}],"doNotSerialize":["$$_BorderColor"],"doNotCopyProperties":["$$_BorderColor"],"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":580},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"572":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"573":{"x":490,"y":295,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"574":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"575":{"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"},"576":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"577":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"578":{"sourceObj":{"__isSmartRef__":true,"id":571},"sourceAttrName":"_BorderColor","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"makeSerialization","dependedBy":{"__isSmartRef__":true,"id":579},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"579":{"sourceObj":{"__isSmartRef__":true,"id":14},"sourceAttrName":"borderColor","targetObj":{"__isSmartRef__":true,"id":14},"targetMethodName":"makeSerialization","dependendConnections":[{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":578}],"visualConnector":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryConnection"},"580":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"581":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"UserStory","changes":[{"__isSmartRef__":true,"id":582},{"__isSmartRef__":true,"id":584},{"__isSmartRef__":true,"id":586},{"__isSmartRef__":true,"id":588},{"__isSmartRef__":true,"id":590},{"__isSmartRef__":true,"id":592},{"__isSmartRef__":true,"id":594},{"__isSmartRef__":true,"id":596},{"__isSmartRef__":true,"id":598},{"__isSmartRef__":true,"id":600},{"__isSmartRef__":true,"id":602},{"__isSmartRef__":true,"id":604},{"__isSmartRef__":true,"id":606},{"__isSmartRef__":true,"id":608},{"__isSmartRef__":true,"id":610},{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":618},{"__isSmartRef__":true,"id":620},{"__isSmartRef__":true,"id":622},{"__isSmartRef__":true,"id":624},{"__isSmartRef__":true,"id":626},{"__isSmartRef__":true,"id":628},{"__isSmartRef__":true,"id":630},{"__isSmartRef__":true,"id":632},{"__isSmartRef__":true,"id":634},{"__isSmartRef__":true,"id":636},{"__isSmartRef__":true,"id":638},{"__isSmartRef__":true,"id":640},{"__isSmartRef__":true,"id":642},{"__isSmartRef__":true,"id":644},{"__isSmartRef__":true,"id":646},{"__isSmartRef__":true,"id":648}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"582":{"date":{"__isSmartRef__":true,"id":583},"author":"sebastian.stamm","message":"fixed serialization for diffViewer"},"583":{"isSerializedDate":true,"string":"Fri Oct 21 2011 11:59:25 GMT+0200 (W. Europe Daylight Time)"},"584":{"date":{"__isSmartRef__":true,"id":585},"author":"sebastian.stamm","message":"FIX: dropDownList works now"},"585":{"isSerializedDate":true,"string":"Fri Oct 21 2011 10:50:30 GMT+0200 (W. Europe Daylight Time)"},"586":{"date":{"__isSmartRef__":true,"id":587},"author":"sebastian.stamm","message":"bugfix: revert button"},"587":{"isSerializedDate":true,"string":"Thu Oct 20 2011 16:30:13 GMT+0200 (W. Europe Daylight Time)"},"588":{"date":{"__isSmartRef__":true,"id":589},"author":"benjamin.siegmund","message":"added alert when creating new task"},"589":{"isSerializedDate":true,"string":"Thu Oct 20 2011 15:23:47 GMT+0200 (W. Europe Daylight Time)"},"590":{"date":{"__isSmartRef__":true,"id":591},"author":"sebastian.stamm","message":"onclick brings to front"},"591":{"isSerializedDate":true,"string":"Thu Oct 20 2011 14:43:14 GMT+0200 (W. Europe Daylight Time)"},"592":{"date":{"__isSmartRef__":true,"id":593},"author":"conrad.calmez","message":"fix bug now for REAL"},"593":{"isSerializedDate":true,"string":"Thu Oct 20 2011 13:52:00 GMT+0200 (W. Europe Daylight Time)"},"594":{"date":{"__isSmartRef__":true,"id":595},"author":"sebastian.stamm","message":"will generate new DB-IDs again"},"595":{"isSerializedDate":true,"string":"Thu Oct 20 2011 13:43:55 GMT+0200 (W. Europe Daylight Time)"},"596":{"date":{"__isSmartRef__":true,"id":597},"author":"conrad.calmez","message":"moved comparison of serialized objects to here"},"597":{"isSerializedDate":true,"string":"Thu Oct 20 2011 13:30:12 GMT+0200 (W. Europe Daylight Time)"},"598":{"date":{"__isSmartRef__":true,"id":599},"author":"sebastian.stamm","message":"UserStories can not be dropped onto something (except the world)"},"599":{"isSerializedDate":true,"string":"Thu Oct 20 2011 12:34:10 GMT+0200 (W. Europe Daylight Time)"},"600":{"date":{"__isSmartRef__":true,"id":601},"author":"athomschke","message":"Some styling"},"601":{"isSerializedDate":true,"string":"Thu Oct 20 2011 10:00:26 GMT+0200 (W. Europe Daylight Time)"},"602":{"date":{"__isSmartRef__":true,"id":603},"author":"benjamin.siegmund","message":"dropping disabled, use enableDropping() to enable it for further editing"},"603":{"isSerializedDate":true,"string":"Wed Oct 19 2011 17:48:43 GMT+0200 (W. Europe Daylight Time)"},"604":{"date":{"__isSmartRef__":true,"id":605},"author":"athomschke","message":"set originalProperties on publish"},"605":{"isSerializedDate":true,"string":"Wed Oct 19 2011 17:02:45 GMT+0200 (W. Europe Daylight Time)"},"606":{"date":{"__isSmartRef__":true,"id":607},"author":"athomschke","message":"gets the originalProperties by serializing itself now"},"607":{"isSerializedDate":true,"string":"Wed Oct 19 2011 15:36:46 GMT+0200 (W. Europe Daylight Time)"},"608":{"date":{"__isSmartRef__":true,"id":609},"author":"conrad.calmez","message":"foo test bar"},"609":{"isSerializedDate":true,"string":"Wed Oct 19 2011 14:58:27 GMT+0200 (W. Europe Daylight Time)"},"610":{"date":{"__isSmartRef__":true,"id":611},"author":"athomschke","message":"moved request at setSerializedProperties to refresh all button"},"611":{"isSerializedDate":true,"string":"Wed Oct 19 2011 15:30:03 GMT+0200 (W. Europe Daylight Time)"},"612":{"date":{"__isSmartRef__":true,"id":613},"author":"conrad.calmez","message":"connection on DropDownList hidden."},"613":{"isSerializedDate":true,"string":"Wed Oct 19 2011 16:34:00 GMT+0200 (W. Europe Daylight Time)"},"614":{"date":{"__isSmartRef__":true,"id":615},"author":"athomschke","message":"set originalProperties on publish"},"615":{"isSerializedDate":true,"string":"Wed Oct 19 2011 17:03:48 GMT+0200 (W. Europe Daylight Time)"},"616":{"date":{"__isSmartRef__":true,"id":617},"author":"benjamin.siegmund","message":"Publishing conflict is now shown as alert"},"617":{"isSerializedDate":true,"string":"Thu Oct 20 2011 09:40:00 GMT+0200 (W. Europe Daylight Time)"},"618":{"date":{"__isSmartRef__":true,"id":619},"author":"conrad.calmez","message":"delete button moved down in order to not confuse w/ object delete"},"619":{"isSerializedDate":true,"string":"Thu Oct 20 2011 12:01:39 GMT+0200 (W. Europe Daylight Time)"},"620":{"date":{"__isSmartRef__":true,"id":621},"author":"conrad.calmez","message":"changed fill color of DropDownList to gray again."},"621":{"isSerializedDate":true,"string":"Thu Oct 20 2011 12:02:48 GMT+0200 (W. Europe Daylight Time)"},"622":{"date":{"__isSmartRef__":true,"id":623},"author":"conrad.calmez","message":"refactored responisbility of serializeAsString method"},"623":{"isSerializedDate":true,"string":"Thu Oct 20 2011 13:18:58 GMT+0200 (W. Europe Daylight Time)"},"624":{"date":{"__isSmartRef__":true,"id":625},"author":"sebastian.stamm","message":"does not generate a new DB-ID if it already has one"},"625":{"isSerializedDate":true,"string":"Thu Oct 20 2011 13:35:46 GMT+0200 (W. Europe Daylight Time)"},"626":{"date":{"__isSmartRef__":true,"id":627},"author":"conrad.calmez","message":"bug fix in test to serialize"},"627":{"isSerializedDate":true,"string":"Thu Oct 20 2011 13:48:54 GMT+0200 (W. Europe Daylight Time)"},"628":{"date":{"__isSmartRef__":true,"id":629},"author":"conrad.calmez","message":"reworked serializeAsString method"},"629":{"isSerializedDate":true,"string":"Thu Oct 20 2011 14:08:14 GMT+0200 (W. Europe Daylight Time)"},"630":{"date":{"__isSmartRef__":true,"id":631},"author":"sebastian.stamm","message":"prepare for (hopefully) final DB-ID bug fix"},"631":{"isSerializedDate":true,"string":"Thu Oct 20 2011 14:54:57 GMT+0200 (W. Europe Daylight Time)"},"632":{"date":{"__isSmartRef__":true,"id":633},"author":"sebastian.stamm","message":"you can successfully click on the text fields now"},"633":{"isSerializedDate":true,"string":"Thu Oct 20 2011 16:00:41 GMT+0200 (W. Europe Daylight Time)"},"634":{"date":{"__isSmartRef__":true,"id":635},"author":"sebastian.stamm","message":"serializePropertyAsString added"},"635":{"isSerializedDate":true,"string":"Thu Oct 20 2011 18:25:46 GMT+0200 (W. Europe Daylight Time)"},"636":{"date":{"__isSmartRef__":true,"id":637},"author":"sebastian.stamm","message":"bugfix in serialization of properties"},"637":{"isSerializedDate":true,"string":"Thu Oct 20 2011 18:28:29 GMT+0200 (W. Europe Daylight Time)"},"638":{"date":{"__isSmartRef__":true,"id":639},"author":"sebastian.stamm","message":"another bugfix for serializing properties"},"639":{"isSerializedDate":true,"string":"Thu Oct 20 2011 18:30:07 GMT+0200 (W. Europe Daylight Time)"},"640":{"date":{"__isSmartRef__":true,"id":641},"author":"sebastian.stamm","message":"bug should be finally fixed now..."},"641":{"isSerializedDate":true,"string":"Thu Oct 20 2011 18:34:03 GMT+0200 (W. Europe Daylight Time)"},"642":{"date":{"__isSmartRef__":true,"id":643},"author":"sebastian.stamm","message":"well, it wasn't, it is fixed now, i hope"},"643":{"isSerializedDate":true,"string":"Thu Oct 20 2011 18:44:46 GMT+0200 (W. Europe Daylight Time)"},"644":{"date":{"__isSmartRef__":true,"id":645},"author":"sebastian.stamm","message":"one fixed, one made, now fixed again"},"645":{"isSerializedDate":true,"string":"Thu Oct 20 2011 18:46:11 GMT+0200 (W. Europe Daylight Time)"},"646":{"date":{"__isSmartRef__":true,"id":647},"author":"sebastian.stamm","message":"i'll just stop saying I fixed it"},"647":{"isSerializedDate":true,"string":"Thu Oct 20 2011 18:53:33 GMT+0200 (W. Europe Daylight Time)"},"648":{"date":{"__isSmartRef__":true,"id":649},"author":"sebastian.stamm","message":"fixed the fix"},"649":{"isSerializedDate":true,"string":"Fri Oct 21 2011 11:51:38 GMT+0200 (W. Europe Daylight Time)"},"650":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"651":{"morph":{"__isSmartRef__":true,"id":14},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"652":{"x":490,"y":295,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"653":{"adjustForNewBounds":true},"654":{"serialize":{"__isSmartRef__":true,"id":655},"filterTitle":{"__isSmartRef__":true,"id":657},"filterDescription":{"__isSmartRef__":true,"id":659},"filterTitleColor":{"__isSmartRef__":true,"id":661},"filterDescriptionColor":{"__isSmartRef__":true,"id":663},"filterPublishButtonColor":{"__isSmartRef__":true,"id":665},"publishUserStory":{"__isSmartRef__":true,"id":667},"onrestore":{"__isSmartRef__":true,"id":669},"deleteUserStory":{"__isSmartRef__":true,"id":671},"setSerializedProperties":{"__isSmartRef__":true,"id":673},"onShutdown":{"__isSmartRef__":true,"id":675},"dropOn":{"__isSmartRef__":true,"id":677},"serializeAsString":{"__isSmartRef__":true,"id":679},"compareToSerialized":{"__isSmartRef__":true,"id":681},"onClick":{"__isSmartRef__":true,"id":683},"onCreateFromPartsBin":{"__isSmartRef__":true,"id":685},"onMouseDown":{"__isSmartRef__":true,"id":687},"serializePropertyAsString":{"__isSmartRef__":true,"id":689},"makeSerialization":{"__isSmartRef__":true,"id":691}},"655":{"time":{"__isSmartRef__":true,"id":656},"user":"sebastian.stamm"},"656":{"isSerializedDate":true,"string":"Fri Oct 21 2011 14:57:21 GMT+0200 (W. Europe Daylight Time)"},"657":{"time":{"__isSmartRef__":true,"id":658},"user":"conrad.calmez"},"658":{"isSerializedDate":true,"string":"Wed Oct 19 2011 12:04:28 GMT+0200 (W. Europe Daylight Time)"},"659":{"time":{"__isSmartRef__":true,"id":660},"user":"conrad.calmez"},"660":{"isSerializedDate":true,"string":"Wed Oct 19 2011 12:04:02 GMT+0200 (W. Europe Daylight Time)"},"661":{"time":{"__isSmartRef__":true,"id":662},"user":"conrad.calmez"},"662":{"isSerializedDate":true,"string":"Wed Oct 19 2011 11:59:26 GMT+0200 (W. Europe Daylight Time)"},"663":{"time":{"__isSmartRef__":true,"id":664},"user":"conrad.calmez"},"664":{"isSerializedDate":true,"string":"Wed Oct 19 2011 11:59:07 GMT+0200 (W. Europe Daylight Time)"},"665":{"time":{"__isSmartRef__":true,"id":666},"user":"athomschke"},"666":{"isSerializedDate":true,"string":"Tue Oct 18 2011 14:48:50 GMT+0200 (W. Europe Daylight Time)"},"667":{"time":{"__isSmartRef__":true,"id":668},"user":"sebastian.stamm"},"668":{"isSerializedDate":true,"string":"Thu Oct 20 2011 16:29:49 GMT+0200 (W. Europe Daylight Time)"},"669":{"time":{"__isSmartRef__":true,"id":670},"user":"sebastian.stamm"},"670":{"isSerializedDate":true,"string":"Thu Oct 20 2011 14:54:07 GMT+0200 (W. Europe Daylight Time)"},"671":{"time":{"__isSmartRef__":true,"id":672},"user":"benjamin.siegmund"},"672":{"isSerializedDate":true,"string":"Wed Oct 19 2011 10:25:32 GMT+0200 (W. Europe Daylight Time)"},"673":{"time":{"__isSmartRef__":true,"id":674},"user":"athomschke"},"674":{"isSerializedDate":true,"string":"Wed Oct 19 2011 15:36:04 GMT+0200 (W. Europe Daylight Time)"},"675":{"time":{"__isSmartRef__":true,"id":676},"user":"benjamin.siegmund"},"676":{"isSerializedDate":true,"string":"Wed Oct 19 2011 10:25:03 GMT+0200 (W. Europe Daylight Time)"},"677":{"time":{"__isSmartRef__":true,"id":678},"user":"sebastian.stamm"},"678":{"isSerializedDate":true,"string":"Thu Oct 20 2011 12:33:06 GMT+0200 (W. Europe Daylight Time)"},"679":{"time":{"__isSmartRef__":true,"id":680},"user":"sebastian.stamm"},"680":{"isSerializedDate":true,"string":"Thu Oct 20 2011 17:19:35 GMT+0200 (W. Europe Daylight Time)"},"681":{"time":{"__isSmartRef__":true,"id":682},"user":"sebastian.stamm"},"682":{"isSerializedDate":true,"string":"Fri Oct 21 2011 14:50:57 GMT+0200 (W. Europe Daylight Time)"},"683":{"time":{"__isSmartRef__":true,"id":684},"user":"sebastian.stamm"},"684":{"isSerializedDate":true,"string":"Thu Oct 20 2011 14:42:30 GMT+0200 (W. Europe Daylight Time)"},"685":{"time":{"__isSmartRef__":true,"id":686},"user":"sebastian.stamm"},"686":{"isSerializedDate":true,"string":"Thu Oct 20 2011 17:18:09 GMT+0200 (W. Europe Daylight Time)"},"687":{"time":{"__isSmartRef__":true,"id":688},"user":"sebastian.stamm"},"688":{"isSerializedDate":true,"string":"Fri Oct 21 2011 11:50:33 GMT+0200 (W. Europe Daylight Time)"},"689":{"time":{"__isSmartRef__":true,"id":690},"user":"sebastian.stamm"},"690":{"isSerializedDate":true,"string":"Fri Oct 21 2011 11:58:48 GMT+0200 (W. Europe Daylight Time)"},"691":{"time":{"__isSmartRef__":true,"id":692},"user":"sebastian.stamm"},"692":{"isSerializedDate":true,"string":"Fri Oct 21 2011 14:55:47 GMT+0200 (W. Europe Daylight Time)"},"693":{"x":327,"y":-32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"694":{"title":"Title","description":"Ein schöner Text","position":{"__isSmartRef__":true,"id":695},"extent":{"__isSmartRef__":true,"id":696},"borderColor":{"__isSmartRef__":true,"id":697},"borderWidth":1,"color":{"__isSmartRef__":true,"id":698},"titleColor":{"__isSmartRef__":true,"id":699},"descriptionColor":{"__isSmartRef__":true,"id":700},"status":0,"_id":"a96fcc542c7c941948c9b0a117502612","_rev":"1-1fd2ad18a8156299fe20a7329f5edf34","type":"task"},"695":{"x":46,"y":592},"696":{"x":490,"y":295},"697":{"r":0,"g":0,"b":0},"698":{"r":0.839,"g":0.839,"b":0.839},"699":{"r":1,"g":1,"b":1},"700":{"r":1,"g":1,"b":1},"701":{"x":58,"y":588,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"702":{"serialize":{"__isSmartRef__":true,"id":703},"filterTitle":{"__isSmartRef__":true,"id":706},"filterDescription":{"__isSmartRef__":true,"id":709},"filterTitleColor":{"__isSmartRef__":true,"id":712},"filterDescriptionColor":{"__isSmartRef__":true,"id":715},"publishUserStory":{"__isSmartRef__":true,"id":718},"deleteUserStory":{"__isSmartRef__":true,"id":721},"setSerializedProperties":{"__isSmartRef__":true,"id":724},"onShutdown":{"__isSmartRef__":true,"id":727},"dropOn":{"__isSmartRef__":true,"id":730},"serializeAsString":{"__isSmartRef__":true,"id":737},"compareToSerialized":{"__isSmartRef__":true,"id":740},"onCreateFromPartsBin":{"__isSmartRef__":true,"id":743},"onMouseDown":{"__isSmartRef__":true,"id":746},"serializePropertyAsString":{"__isSmartRef__":true,"id":753},"makeSerialization":{"__isSmartRef__":true,"id":756}},"703":{"varMapping":{"__isSmartRef__":true,"id":704},"source":"function serialize() {\n return this.serialization || this.makeSerialization();\n}","funcProperties":{"__isSmartRef__":true,"id":705},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"704":{"this":{"__isSmartRef__":true,"id":14}},"705":{},"706":{"varMapping":{"__isSmartRef__":true,"id":707},"source":"function filterTitle() {\n return this.get('TitlePane').textString;\n}","funcProperties":{"__isSmartRef__":true,"id":708},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"707":{"this":{"__isSmartRef__":true,"id":14}},"708":{},"709":{"varMapping":{"__isSmartRef__":true,"id":710},"source":"function filterDescription() {\n return this.get('DescriptionPane').textString;\n}","funcProperties":{"__isSmartRef__":true,"id":711},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"710":{"this":{"__isSmartRef__":true,"id":14}},"711":{},"712":{"varMapping":{"__isSmartRef__":true,"id":713},"source":"function filterTitleColor() {\n return this.get('TitlePane').shape.getFill();\n}","funcProperties":{"__isSmartRef__":true,"id":714},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"713":{"this":{"__isSmartRef__":true,"id":14}},"714":{},"715":{"varMapping":{"__isSmartRef__":true,"id":716},"source":"function filterDescriptionColor() {\n return this.get('DescriptionPane').shape.getFill();\n}","funcProperties":{"__isSmartRef__":true,"id":717},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"716":{"this":{"__isSmartRef__":true,"id":14}},"717":{},"718":{"varMapping":{"__isSmartRef__":true,"id":719},"source":"function publishUserStory() {\n\n module('apps.CouchDB').load(true);\n var db = new CouchDB('lively_tasks');\n var newtask = this.serialize();\n var result = db.save(newtask);\n\n if(result.error==\"conflict\"){\n alert(\"There are changes to this Task, please refresh before publishing\");\n }else{\n this.databaseRev = result.rev;\n alertOK('task published');\n this.originalProperties = newtask;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":720},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"719":{"this":{"__isSmartRef__":true,"id":14}},"720":{},"721":{"varMapping":{"__isSmartRef__":true,"id":722},"source":"function deleteUserStory() {\n module('apps.CouchDB').load(true)\n var db = new CouchDB('lively_tasks')\n var docs = db.allDocs()\n var that=this;\n var myRow = docs.rows.select(function(ea) {return ea.id == that.databaseID})\n var myTask = myRow.collect(function(ea) { return db.open(ea.id) })\n\n myTask.each(function (ea) {\n db.deleteDoc(ea);\n alert(\"task deleted\");\n })\n this.remove();\n}","funcProperties":{"__isSmartRef__":true,"id":723},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"722":{"this":{"__isSmartRef__":true,"id":14}},"723":{},"724":{"varMapping":{"__isSmartRef__":true,"id":725},"source":"function setSerializedProperties(props) {\n this.onShutdown();\n this.get('TitlePane').textString = props.title;\n this.get('DescriptionPane').textString = props.description;\n this.setPosition(pt(props.position.x, props.position.y));\n this.setExtent(pt(props.extent.x, props.extent.y));\n this.shape.setBorderColor(Color.rgb(props.borderColor.r*255, props.borderColor.g*255, props.borderColor.b*255)); \n this.shape.setBorderWidth(props.borderWidth);\n this.shape.setFill(Color.rgb(props.color.r*255, props.color.g*255, props.color.b*255));\n this.submorphs[2].shape.setFill(Color.rgb(props.titleColor.r*255, props.titleColor.g*255, props.titleColor.b*255));\n this.submorphs[1].shape.setFill(Color.rgb(props.descriptionColor.r*255, props.descriptionColor.g*255, props.descriptionColor.b*255));\n this.databaseID = props._id;\n this.databaseRev = props._rev;\n this.get('DropDownList').selectAt(props.status);\n this.get('DropDownList').fill(props.status);\n\n this.originalProperties = this.serialize();\n}","funcProperties":{"__isSmartRef__":true,"id":726},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"725":{"this":{"__isSmartRef__":true,"id":14}},"726":{},"727":{"varMapping":{"__isSmartRef__":true,"id":728},"source":"function onShutdown() {\n module('apps.CouchDB').load(true)\n var db = new CouchDB('lively_tasks')\n var docs = db.allDocs()\n var that=this;\n var myRow = docs.rows.select(function(ea) {return ea.id == that.databaseID})\n var myTask = myRow.collect(function(ea) { return db.open(ea.id) })\n\n myTask.each(function (ea) {\n if(ea.type!='task') {\n db.deleteDoc(ea);\n alert(\"deleting temporary userstory\");\n }\n })\n}","funcProperties":{"__isSmartRef__":true,"id":729},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"728":{"this":{"__isSmartRef__":true,"id":14}},"729":{},"730":{"varMapping":{"__isSmartRef__":true,"id":731},"source":"function dropOn(morph) {\n // UserStories can not be dropped on anything except the world\n while(morph.owner) morph = morph.owner;\n morph.addMorph(this);\n}","funcProperties":{"__isSmartRef__":true,"id":736},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"731":{"this":{"__isSmartRef__":true,"id":14},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":732}},"732":{"$super":{"__isSmartRef__":true,"id":733}},"733":{"varMapping":{"__isSmartRef__":true,"id":734},"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":735},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"734":{"obj":{"__isSmartRef__":true,"id":14},"name":"dropOn"},"735":{},"736":{},"737":{"varMapping":{"__isSmartRef__":true,"id":738},"source":"function serializeAsString() {\n // FIXME: cleanup code\n\n var text, serializedObject;\n if (typeof this.status == 'number') {\n serializedObject = this;\n }\n else {\n serializedObject = this.serialize();\n }\n\ttext = \"Title: \" + serializedObject.title + \"\\n\" +\n\t\"Description: \" + serializedObject.description + \"\\n\" +\n\t\"Position: (\" + serializedObject.position.x + \", \" +\n serializedObject.position.y + \")\\n\" +\n\t\"Status: \" + serializedObject.status + \"\\n\" +\n\t\"Extent: (\" + serializedObject.extent.x + \", \" +\n serializedObject.extent.y + \")\\n\" +\n\t\"Border Width: \" + serializedObject.borderWidth + \"\\n\" +\n\t\"Color (r,g,b): (\" + serializedObject.color.r + \", \" +\n serializedObject.color.g + \", \" +\n serializedObject.color.b + \")\\n\" +\n\t\"Border Color (r,g,b): (\" + serializedObject.borderColor.r + \", \" +\n serializedObject.borderColor.g + \", \" +\n serializedObject.borderColor.b + \")\\n\" +\n\t\"Title Color (r,g,b): (\" + serializedObject.titleColor.r + \", \" +\n serializedObject.titleColor.g + \", \" +\n serializedObject.titleColor.b + \")\\n\" +\n\t\"Description Color (r,g,b): (\" + serializedObject.descriptionColor.r + \", \" +\n serializedObject.descriptionColor.g + \", \" +\n serializedObject.descriptionColor.b + \")\";\n\treturn text;\n}","funcProperties":{"__isSmartRef__":true,"id":739},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"738":{"this":{"__isSmartRef__":true,"id":14}},"739":{},"740":{"varMapping":{"__isSmartRef__":true,"id":741},"source":"function compareToSerialized(serializedObject) {\n var serializedMe;\n serializedMe = this.serialize();\n if(\n serializedMe.title == serializedObject.title &&\n serializedMe.description == serializedObject.description &&\n serializedMe.position.x == serializedObject.position.x &&\n serializedMe.position.y == serializedObject.position.y && \n serializedMe.extent.x == serializedObject.extent.x &&\n serializedMe.extent.y == serializedObject.extent.y &&\n serializedMe.borderColor.r == serializedObject.borderColor.r &&\n serializedMe.borderColor.g == serializedObject.borderColor.g &&\n serializedMe.borderColor.b == serializedObject.borderColor.b &&\n serializedMe.borderWidth == serializedObject.borderWidth &&\n serializedMe.color.r == serializedObject.color.r &&\n serializedMe.color.g == serializedObject.color.g &&\n serializedMe.color.b == serializedObject.color.b &&\n serializedMe.titleColor.r == serializedObject.titleColor.r &&\n serializedMe.titleColor.g == serializedObject.titleColor.g &&\n serializedMe.titleColor.b == serializedObject.titleColor.b &&\n serializedMe.descriptionColor.r == serializedObject.descriptionColor.r &&\n serializedMe.descriptionColor.g == serializedObject.descriptionColor.g &&\n serializedMe.descriptionColor.b == serializedObject.descriptionColor.b &&\n serializedMe.status == serializedObject.status &&\n serializedMe._id == serializedObject._id &&\n serializedMe._rev == serializedObject._rev &&\n serializedMe.type == serializedObject.type\n ) {\n return true;\n }\n return false;\n}","funcProperties":{"__isSmartRef__":true,"id":742},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"741":{"this":{"__isSmartRef__":true,"id":14}},"742":{},"743":{"varMapping":{"__isSmartRef__":true,"id":744},"source":"function onCreateFromPartsBin() {\n module('apps.CouchDB').load(true);\n var db = new CouchDB('lively_tasks');\n var newtask = {\n title: \"\",\n description: \"\"\n };\n var result = db.save(newtask);\n this.databaseID = result.id;\n this.databaseRev = result.rev;\n alertOK(\"new Task created\");\n}","funcProperties":{"__isSmartRef__":true,"id":745},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"744":{"this":{"__isSmartRef__":true,"id":14}},"745":{},"746":{"varMapping":{"__isSmartRef__":true,"id":747},"source":"function onMouseDown(evt) {\n if(!(this.owner && this.owner.topMorph() === this))\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":752},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"747":{"this":{"__isSmartRef__":true,"id":14},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":748}},"748":{"$super":{"__isSmartRef__":true,"id":749}},"749":{"varMapping":{"__isSmartRef__":true,"id":750},"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":751},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"750":{"obj":{"__isSmartRef__":true,"id":14},"name":"onMouseDown"},"751":{},"752":{},"753":{"varMapping":{"__isSmartRef__":true,"id":754},"source":"function serializePropertyAsString(property,serializedObject) {\n if(!serializedObject) {\n serializedObject = this.serialize();\n }\n\n if(serializedObject[property] != null) {\n var result = serializedObject[property];\n if(result && typeof result === \"object\"){\n var temp = \"(\";\n for (var element in result){\n if(result.hasOwnProperty(element)){\n temp += result[element]+\",\";\n }\n }\n result = temp.substring(0,temp.length-1)+\")\";\n }\n return String(result);\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":755},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"754":{"this":{"__isSmartRef__":true,"id":14}},"755":{},"756":{"varMapping":{"__isSmartRef__":true,"id":757},"source":"function makeSerialization() {\n this.serialization = {\n title: this.filterTitle(),\n description: this.filterDescription(),\n position: {x:this.getPosition().x, y: this.getPosition().y},\n extent: {x:this.getExtent().x, y: this.getExtent().y},\n borderColor: {r: this.shape.getBorderColor().r, g: this.shape.getBorderColor().g, b: this.shape.getBorderColor().b},\n borderWidth: this.shape.getBorderWidth(),\n color: {r: this.shape.getFill().r, g: this.shape.getFill().g, b: this.shape.getFill().b},\n titleColor: {r: this.filterTitleColor().r, g: this.filterTitleColor().g, b: this.filterTitleColor().b},\n descriptionColor: {r: this.filterDescriptionColor().r, g: this.filterDescriptionColor().g, b: this.filterDescriptionColor().b},\n status: this.get('DropDownList').selectedLineNo,\n _id: this.databaseID,\n _rev: this.databaseRev,\n type: \"task\"\n }\n return this.serialization;\n}","funcProperties":{"__isSmartRef__":true,"id":758},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"757":{"this":{"__isSmartRef__":true,"id":14}},"758":{},"759":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"760":{"morph":{"__isSmartRef__":true,"id":1},"index":1,"connectedMagnet":{"__isSmartRef__":true,"id":13},"marker":{"__isSmartRef__":true,"id":761},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"761":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":762},"id":18445,"renderContextTable":{"__isSmartRef__":true,"id":772},"eventHandler":{"__isSmartRef__":true,"id":773},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":774},"owner":null,"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":775},{"__isSmartRef__":true,"id":776},{"__isSmartRef__":true,"id":777},{"__isSmartRef__":true,"id":778}],"_Rotation":0,"_Scale":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"762":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":763},{"__isSmartRef__":true,"id":764},{"__isSmartRef__":true,"id":765},{"__isSmartRef__":true,"id":766}],"renderContextTable":{"__isSmartRef__":true,"id":767},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":768},"_Extent":{"__isSmartRef__":true,"id":769},"_Padding":{"__isSmartRef__":true,"id":770},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":9},"_Fill":{"__isSmartRef__":true,"id":771},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"763":{"isAbsolute":true,"x":-20,"y":48,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"764":{"isAbsolute":true,"x":18,"y":61,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"765":{"isAbsolute":true,"x":47,"y":1,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"766":{"isAbsolute":true,"x":-4,"y":-4,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"767":{"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"},"768":{"x":-20,"y":-4,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"769":{"x":67,"y":65,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"770":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"771":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"772":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"773":{"morph":{"__isSmartRef__":true,"id":761},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"774":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"775":{"morph":{"__isSmartRef__":true,"id":761},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"776":{"morph":{"__isSmartRef__":true,"id":761},"index":1,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"777":{"morph":{"__isSmartRef__":true,"id":761},"index":2,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"778":{"morph":{"__isSmartRef__":true,"id":761},"index":3,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"779":{"x":60,"y":587,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"780":{"morphMenuItems":{"__isSmartRef__":true,"id":781}},"781":{"varMapping":{"__isSmartRef__":true,"id":782},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":787},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"782":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":783}},"783":{"$super":{"__isSmartRef__":true,"id":784}},"784":{"varMapping":{"__isSmartRef__":true,"id":785},"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":786},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"785":{"obj":{"__isSmartRef__":true,"id":1},"name":"morphMenuItems"},"786":{},"787":{},"788":{"submorphs":[{"__isSmartRef__":true,"id":789}],"scripts":[],"id":2300,"shape":{"__isSmartRef__":true,"id":804},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":808},"lighterFill":{"__isSmartRef__":true,"id":820},"label":{"__isSmartRef__":true,"id":789},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":829},"attributeConnections":[{"__isSmartRef__":true,"id":830}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":831},"renderContextTable":{"__isSmartRef__":true,"id":832},"eventHandler":{"__isSmartRef__":true,"id":833},"distanceToDragEvent":{"__isSmartRef__":true,"id":834},"_Position":{"__isSmartRef__":true,"id":835},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":836},"__LivelyClassName__":"lively.morphic.Button"},"789":{"submorphs":[],"scripts":[],"id":2301,"shape":{"__isSmartRef__":true,"id":790},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":796},"_MaxTextWidth":213,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":797},"_Padding":{"__isSmartRef__":true,"id":798},"owner":{"__isSmartRef__":true,"id":788},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":799},"textChunks":[{"__isSmartRef__":true,"id":800}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":802},"eventHandler":{"__isSmartRef__":true,"id":803},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":213,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"790":{"position":{"__isSmartRef__":true,"id":791},"_Extent":{"__isSmartRef__":true,"id":792},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":793},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":794},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":795},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"791":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"792":{"x":213,"y":89,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"793":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"794":{"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"},"795":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"796":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"797":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"798":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"799":{"x":213,"y":89,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"800":{"style":{"__isSmartRef__":true,"id":801},"chunkOwner":{"__isSmartRef__":true,"id":789},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Activate IT","__LivelyClassName__":"lively.morphic.TextChunk"},"801":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"802":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"803":{"morph":{"__isSmartRef__":true,"id":789},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"804":{"position":{"__isSmartRef__":true,"id":805},"_Extent":{"__isSmartRef__":true,"id":806},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":807},"_Fill":{"__isSmartRef__":true,"id":808},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":818},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"805":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"806":{"x":213,"y":89,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"807":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"808":{"stops":[{"__isSmartRef__":true,"id":809},{"__isSmartRef__":true,"id":811},{"__isSmartRef__":true,"id":813},{"__isSmartRef__":true,"id":815}],"vector":{"__isSmartRef__":true,"id":817},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"809":{"offset":0,"color":{"__isSmartRef__":true,"id":810}},"810":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"811":{"offset":0.4,"color":{"__isSmartRef__":true,"id":812}},"812":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"813":{"offset":0.6,"color":{"__isSmartRef__":true,"id":814}},"814":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"815":{"offset":1,"color":{"__isSmartRef__":true,"id":816}},"816":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"817":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"818":{"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"},"819":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"820":{"stops":[{"__isSmartRef__":true,"id":821},{"__isSmartRef__":true,"id":823},{"__isSmartRef__":true,"id":825},{"__isSmartRef__":true,"id":827}],"vector":{"__isSmartRef__":true,"id":817},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"821":{"offset":0,"color":{"__isSmartRef__":true,"id":822}},"822":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"823":{"offset":0.4,"color":{"__isSmartRef__":true,"id":824}},"824":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"825":{"offset":0.6,"color":{"__isSmartRef__":true,"id":826}},"826":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"827":{"offset":1,"color":{"__isSmartRef__":true,"id":828}},"828":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"829":{"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"},"830":{"sourceObj":{"__isSmartRef__":true,"id":788},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":788},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"831":{"x":212,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"832":{"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"},"833":{"morph":{"__isSmartRef__":true,"id":788},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"834":{"x":54.89016478027463,"y":-10.978032956054932,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"835":{"x":28,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"836":{"onFire":{"__isSmartRef__":true,"id":837}},"837":{"varMapping":{"__isSmartRef__":true,"id":838},"source":"function onFire() {\n TouchEvents.beGlobal();\n}","funcProperties":{"__isSmartRef__":true,"id":839},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"838":{"this":{"__isSmartRef__":true,"id":788}},"839":{"timestamp":{"__isSmartRef__":true,"id":840},"user":"sstamm","tags":[]},"840":{"isSerializedDate":true,"string":"Wed Dec 07 2011 16:08:03 GMT+0100 (W. Europe Standard Time)"},"841":{"submorphs":[{"__isSmartRef__":true,"id":842}],"scripts":[],"id":683,"shape":{"__isSmartRef__":true,"id":857},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":873},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":861},"lighterFill":{"__isSmartRef__":true,"id":874},"label":{"__isSmartRef__":true,"id":842},"name":"ScriptableButton1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":883},"attributeConnections":[{"__isSmartRef__":true,"id":884}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":885},"renderContextTable":{"__isSmartRef__":true,"id":886},"eventHandler":{"__isSmartRef__":true,"id":887},"owner":{"__isSmartRef__":true,"id":0},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":888},"__LivelyClassName__":"lively.morphic.Button"},"842":{"submorphs":[],"scripts":[],"id":684,"shape":{"__isSmartRef__":true,"id":843},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":849},"_MaxTextWidth":214,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":850},"_Padding":{"__isSmartRef__":true,"id":851},"owner":{"__isSmartRef__":true,"id":841},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":852},"textChunks":[{"__isSmartRef__":true,"id":853}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":855},"eventHandler":{"__isSmartRef__":true,"id":856},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":214,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"843":{"position":{"__isSmartRef__":true,"id":844},"_Extent":{"__isSmartRef__":true,"id":845},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":846},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":847},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":848},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"844":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"845":{"x":214,"y":109,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"846":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"847":{"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"},"848":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"849":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"850":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"851":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"852":{"x":214,"y":109,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"853":{"style":{"__isSmartRef__":true,"id":854},"chunkOwner":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"moar Rectangles!!1","__LivelyClassName__":"lively.morphic.TextChunk"},"854":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"855":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"856":{"morph":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"857":{"position":{"__isSmartRef__":true,"id":858},"_Extent":{"__isSmartRef__":true,"id":859},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":860},"_Fill":{"__isSmartRef__":true,"id":861},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":871},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":872},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"858":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"859":{"x":214,"y":109,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"860":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"861":{"stops":[{"__isSmartRef__":true,"id":862},{"__isSmartRef__":true,"id":864},{"__isSmartRef__":true,"id":866},{"__isSmartRef__":true,"id":868}],"vector":{"__isSmartRef__":true,"id":870},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"862":{"offset":0,"color":{"__isSmartRef__":true,"id":863}},"863":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"864":{"offset":0.4,"color":{"__isSmartRef__":true,"id":865}},"865":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"866":{"offset":0.6,"color":{"__isSmartRef__":true,"id":867}},"867":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"868":{"offset":1,"color":{"__isSmartRef__":true,"id":869}},"869":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"870":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"871":{"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"},"872":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"873":{"x":28,"y":118,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"874":{"stops":[{"__isSmartRef__":true,"id":875},{"__isSmartRef__":true,"id":877},{"__isSmartRef__":true,"id":879},{"__isSmartRef__":true,"id":881}],"vector":{"__isSmartRef__":true,"id":870},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"875":{"offset":0,"color":{"__isSmartRef__":true,"id":876}},"876":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"877":{"offset":0.4,"color":{"__isSmartRef__":true,"id":878}},"878":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"879":{"offset":0.6,"color":{"__isSmartRef__":true,"id":880}},"880":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"881":{"offset":1,"color":{"__isSmartRef__":true,"id":882}},"882":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"883":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"884":{"sourceObj":{"__isSmartRef__":true,"id":841},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":841},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"885":{"x":214,"y":109,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"886":{"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"},"887":{"morph":{"__isSmartRef__":true,"id":841},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"888":{"onFire":{"__isSmartRef__":true,"id":889}},"889":{"varMapping":{"__isSmartRef__":true,"id":890},"source":"function onFire() {\n var newMorph = this.get('Rectangle').duplicate();\n newMorph.setFill(Color.rgb(Math.random()*255,Math.random()*255,Math.random()*255));\n\nnewMorph.setPosition(pt(200+Math.random()*400,200+Math.random()*400));\n\nnewMorph.setExtent(pt(100+Math.random()*400,100+Math.random()*400));\n\nnewMorph.setRotation(Math.random()*360);\n\n $world.addMorphFront(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":891},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"890":{"this":{"__isSmartRef__":true,"id":841}},"891":{"timestamp":{"__isSmartRef__":true,"id":892},"user":"sstamm","tags":[]},"892":{"isSerializedDate":true,"string":"Wed Dec 07 2011 16:13:48 GMT+0100 (W. Europe Standard Time)"},"893":{"submorphs":[],"scripts":[],"id":255,"shape":{"__isSmartRef__":true,"id":894},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":902},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":905},"eventHandler":{"__isSmartRef__":true,"id":906},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":907},"isBeingDragged":false,"_Position":{"__isSmartRef__":true,"id":908},"_PivotPoint":{"__isSmartRef__":true,"id":909},"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":910},"__LivelyClassName__":"lively.morphic.Box"},"894":{"position":{"__isSmartRef__":true,"id":895},"_Extent":{"__isSmartRef__":true,"id":896},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":897},"_Fill":{"__isSmartRef__":true,"id":898},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":899},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":900},"_Position":{"__isSmartRef__":true,"id":901},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"895":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"896":{"x":65,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"897":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"898":{"r":0,"g":0,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"899":{"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"},"900":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"901":{"x":-4,"y":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"902":{"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":903}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"903":{"date":{"__isSmartRef__":true,"id":904},"author":"sstamm","message":"initial commit","id":"EA978182-4DB0-4062-9ACB-1EFF37F783AE"},"904":{"isSerializedDate":true,"string":"Thu Dec 08 2011 13:36:09 GMT+0100 (W. Europe Standard Time)"},"905":{"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"},"906":{"morph":{"__isSmartRef__":true,"id":893},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"907":{"x":66,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"908":{"x":2656,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"909":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"910":{"onTouchStart":{"__isSmartRef__":true,"id":911},"onFire":{"__isSmartRef__":true,"id":919},"registerForEvent":{"__isSmartRef__":true,"id":923},"onTouchEnd":{"__isSmartRef__":true,"id":931},"onTouchMove":{"__isSmartRef__":true,"id":939},"updateVelocity":{"__isSmartRef__":true,"id":943},"flicking":{"__isSmartRef__":true,"id":947},"updateAngularVelocity":{"__isSmartRef__":true,"id":951}},"911":{"varMapping":{"__isSmartRef__":true,"id":912},"source":"function onTouchStart(evt) {\n evt.preventDefault();\n var allTouches = evt.targetTouches;\n\n this.lastUpdate = new Date().valueOf();\n if(allTouches.length==1) {\n this.originalTouchPosition = pt(allTouches[0].pageX,allTouches[0].pageY);\n this.originalPosition = this.getPosition();\n this.lastTouch = pt(allTouches[0].pageX,allTouches[0].pageY);\n\n }\n \n if(allTouches.length==2) {\n this.setOrigin(this.getExtent().scaleBy(0.5));\n this.originalScale = this.getScale();\n this.originalRotation = this.getRotation();\n this.lastRotation = 0;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":917},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"912":{"this":{"__isSmartRef__":true,"id":893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":913}},"913":{"$super":{"__isSmartRef__":true,"id":914}},"914":{"varMapping":{"__isSmartRef__":true,"id":915},"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":916},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"915":{"obj":{"__isSmartRef__":true,"id":893},"name":"onTouchStart"},"916":{},"917":{"timestamp":{"__isSmartRef__":true,"id":918},"user":"sstamm","tags":[]},"918":{"isSerializedDate":true,"string":"Thu Dec 08 2011 11:39:24 GMT+0100 (W. Europe Standard Time)"},"919":{"varMapping":{"__isSmartRef__":true,"id":920},"source":"function onFire() {\n if(this.onTouchStart) {\n this.registerForEvent('touchstart', this, 'onTouchStart', true);\n }\n if(this.onTouchMove) {\n this.registerForEvent('touchmove', this, 'onTouchMove', true);\n }\n if(this.onTouchEnd) {\n this.registerForEvent('touchend', this, 'onTouchEnd', true);\n }\n if(this.onTouchCancel) {\n this.registerForEvent('touchcancel', this, 'onTouchCancel', true);\n }\n \n}","funcProperties":{"__isSmartRef__":true,"id":921},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"920":{"this":{"__isSmartRef__":true,"id":893}},"921":{"timestamp":{"__isSmartRef__":true,"id":922},"user":"sstamm","tags":[]},"922":{"isSerializedDate":true,"string":"Mon Dec 05 2011 16:12:17 GMT+0100 (W. Europe Standard Time)"},"923":{"varMapping":{"__isSmartRef__":true,"id":924},"source":"function registerForEvent(type, target, targetMethodName, handleOnCapture) {\n if (!this.eventHandler) {\n this.addEventHandler();\n }\n var existing = this.eventHandler.dispatchTable[type];\n if (!existing) {\n var eventSpec = {\n type: type,\n target: target,\n targetMethodName: targetMethodName,\n handleOnCapture: handleOnCapture ? true : false // some browsers need t/f\n };\n this.renderContext().registerHandlerForEvent(this.eventHandler, eventSpec);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":929},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"924":{"this":{"__isSmartRef__":true,"id":893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":925}},"925":{"$super":{"__isSmartRef__":true,"id":926}},"926":{"varMapping":{"__isSmartRef__":true,"id":927},"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":928},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"927":{"obj":{"__isSmartRef__":true,"id":893},"name":"registerForEvent"},"928":{},"929":{"timestamp":{"__isSmartRef__":true,"id":930},"user":"sebastian.stamm","tags":[]},"930":{"isSerializedDate":true,"string":"Fri Nov 25 2011 13:37:29 GMT+0100 (W. Europe Standard Time)"},"931":{"varMapping":{"__isSmartRef__":true,"id":932},"source":"function onTouchEnd(evt) {\n var allTouches = evt.targetTouches;\n\n if(allTouches.length==0) {\n window.setTimeout(this.flicking.bind(this),10);\n }\n\n if(allTouches.length==1) {\n this.originalTouchPosition = pt(allTouches[0].pageX,allTouches[0].pageY);\n this.originalPosition = this.getPosition();\n }\n \n if(allTouches.length==2) {\n this.setOrigin(this.getExtent().scaleBy(0.5));\n this.originalScale = this.getScale();\n this.originalRotation = this.getRotation();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":937},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"932":{"this":{"__isSmartRef__":true,"id":893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":933}},"933":{"$super":{"__isSmartRef__":true,"id":934}},"934":{"varMapping":{"__isSmartRef__":true,"id":935},"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":936},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"935":{"obj":{"__isSmartRef__":true,"id":893},"name":"onTouchEnd"},"936":{},"937":{"timestamp":{"__isSmartRef__":true,"id":938},"user":"sstamm","tags":[]},"938":{"isSerializedDate":true,"string":"Thu Dec 08 2011 09:50:10 GMT+0100 (W. Europe Standard Time)"},"939":{"varMapping":{"__isSmartRef__":true,"id":940},"source":"function onTouchMove(evt) {\n\n\n var allTouches = evt.targetTouches;\n\n if(allTouches.length==1) {\n var touchPosition = pt(allTouches[0].pageX,allTouches[0].pageY);\n\n // keep the current velocity up to date to make flicking possible\n this.updateVelocity(touchPosition);\n\n this.setPosition(\n this.originalPosition.addPt(\n touchPosition.subPt(this.originalTouchPosition)\n )\n );\n \n }\n\n if(allTouches.length==2) {\n this.updateAngularVelocity(evt.rotation/180*Math.PI);\n this.setScale(evt.scale*this.originalScale);\n this.setRotation(this.originalRotation+evt.rotation/180*Math.PI);\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":941},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"940":{"this":{"__isSmartRef__":true,"id":893}},"941":{"timestamp":{"__isSmartRef__":true,"id":942},"user":"sstamm","tags":[]},"942":{"isSerializedDate":true,"string":"Thu Dec 08 2011 11:28:41 GMT+0100 (W. Europe Standard Time)"},"943":{"varMapping":{"__isSmartRef__":true,"id":944},"source":"function updateVelocity(newPosition) {\n \n var now = new Date().valueOf();\n var timeDelta = now - this.lastUpdate;\n \n var positionDelta = this.lastTouch.subPt(newPosition);\n// positionDelta = Math.sqrt(Math.pow(positionDelta.x,2)+Math.pow(positionDelta.x,2));\n\n this.lastTouch = newPosition;\n this.lastUpdate = now;\n this.velocity = positionDelta.scaleBy(-10/timeDelta);\n\n}","funcProperties":{"__isSmartRef__":true,"id":945},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"944":{"this":{"__isSmartRef__":true,"id":893}},"945":{"timestamp":{"__isSmartRef__":true,"id":946},"user":"sstamm","tags":[]},"946":{"isSerializedDate":true,"string":"Thu Dec 08 2011 11:15:12 GMT+0100 (W. Europe Standard Time)"},"947":{"varMapping":{"__isSmartRef__":true,"id":948},"source":"function flicking() {\n \n this.stepAndBounce();\n this.velocity = this.velocity.scaleBy(7/8);\n if(Math.pow(this.velocity.x,2)+Math.pow(this.velocity.y,2)>0.05) {\n window.setTimeout(this.flicking.bind(this),10);\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":949},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"948":{"this":{"__isSmartRef__":true,"id":893}},"949":{"timestamp":{"__isSmartRef__":true,"id":950},"user":"sstamm","tags":[]},"950":{"isSerializedDate":true,"string":"Thu Dec 08 2011 11:18:32 GMT+0100 (W. Europe Standard Time)"},"951":{"varMapping":{"__isSmartRef__":true,"id":952},"source":"function updateAngularVelocity(newRotation) {\n var now = new Date().valueOf();\n var timeDelta = now - this.lastUpdate;\n \n var angleDelta = this.lastRotation-newRotation;\n// positionDelta = Math.sqrt(Math.pow(positionDelta.x,2)+Math.pow(positionDelta.x,2));\n\n this.lastRotation = newRotation;\n this.lastUpdate = now;\n //this.angularVelocity = 10*angleDelta;\n\n}","funcProperties":{"__isSmartRef__":true,"id":953},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"952":{"this":{"__isSmartRef__":true,"id":893}},"953":{"timestamp":{"__isSmartRef__":true,"id":954},"user":"sstamm","tags":[]},"954":{"isSerializedDate":true,"string":"Thu Dec 08 2011 11:44:50 GMT+0100 (W. Europe Standard Time)"},"955":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":956},"id":"841270B7-FAC6-431F-ADB0-9DDA1B03D674","renderContextTable":{"__isSmartRef__":true,"id":963},"eventHandler":{"__isSmartRef__":true,"id":964},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":965},"__SourceModuleName__":"Global.lively.morphic.Core","showsHalos":false,"layout":{"__isSmartRef__":true,"id":966},"name":"Ellipse","partsBinMetaInfo":{"__isSmartRef__":true,"id":967},"derivationIds":[113],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Morph"},"956":{"_Position":{"__isSmartRef__":true,"id":957},"renderContextTable":{"__isSmartRef__":true,"id":958},"_Extent":{"__isSmartRef__":true,"id":959},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":960},"_BorderWidth":3.184,"_BorderColor":{"__isSmartRef__":true,"id":961},"_Fill":{"__isSmartRef__":true,"id":962},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"957":{"x":-50,"y":-50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"958":{"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"},"959":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"960":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"961":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"962":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"963":{"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"},"964":{"morph":{"__isSmartRef__":true,"id":955},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"965":{"x":484,"y":255,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"966":{},"967":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"968":{"submorphs":[{"__isSmartRef__":true,"id":969}],"scripts":[],"shape":{"__isSmartRef__":true,"id":982},"id":"3FCE63AA-4C24-4013-BF48-9B208CFECEC6","renderContextTable":{"__isSmartRef__":true,"id":989},"eventHandler":{"__isSmartRef__":true,"id":990},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":991},"__SourceModuleName__":"Global.lively.morphic.Core","showsHalos":false,"layout":{"__isSmartRef__":true,"id":992},"name":"TestMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":993},"derivationIds":[113,"BC9C73C7-D1D1-491F-A66E-8A4424C201BD","F9B08712-CEF6-44D1-BE4F-DE38FC6620F7"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":998},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Morph"},"969":{"submorphs":[],"scripts":[],"id":"1C8BFB88-8E2D-4E93-8895-7050A4F294C2","shape":{"__isSmartRef__":true,"id":970},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":977},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":978},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":979},"eventHandler":{"__isSmartRef__":true,"id":980},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"1969AE6B-806C-4AC9-AB31-7D1B40187F10","6686C98C-6798-47AC-845B-B678ABDDFF14"],"owner":{"__isSmartRef__":true,"id":968},"priorExtent":{"__isSmartRef__":true,"id":981},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"970":{"position":{"__isSmartRef__":true,"id":971},"_Extent":{"__isSmartRef__":true,"id":972},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":973},"_Fill":{"__isSmartRef__":true,"id":974},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":975},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":976},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"971":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"972":{"x":66,"y":70,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"973":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"974":{"r":0.384,"g":1,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"975":{"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"},"976":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"977":{"x":-9,"y":-19,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"978":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"979":{"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"},"980":{"morph":{"__isSmartRef__":true,"id":969},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"981":{"x":67,"y":72,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"982":{"_Position":{"__isSmartRef__":true,"id":983},"renderContextTable":{"__isSmartRef__":true,"id":984},"_Extent":{"__isSmartRef__":true,"id":985},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":986},"_BorderWidth":3.184,"_BorderColor":{"__isSmartRef__":true,"id":987},"_Fill":{"__isSmartRef__":true,"id":988},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"983":{"x":-50,"y":-50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"984":{"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"},"985":{"x":148,"y":133,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"986":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"987":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"988":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"989":{"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"},"990":{"morph":{"__isSmartRef__":true,"id":968},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"991":{"x":1759,"y":301,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"992":{},"993":{"partName":"TestMorph","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/BP2012/","__SourceModuleName__":"Global.lively.PartsBin","comment":"undefined","changes":[{"__isSmartRef__":true,"id":994},{"__isSmartRef__":true,"id":996}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"994":{"date":{"__isSmartRef__":true,"id":995},"author":"athomschke","message":"colliding change","id":"7D4585BB-039B-4143-802F-E066A340D99F"},"995":{"isSerializedDate":true,"string":"Wed Dec 21 2011 12:13:57 GMT+0100 (W. Europe Standard Time)"},"996":{"date":{"__isSmartRef__":true,"id":997},"author":"athomschke","message":"init","id":"E2B8DC78-6A19-4D3E-B049-2E78EE6EB842"},"997":{"isSerializedDate":true,"string":"Wed Dec 21 2011 12:13:01 GMT+0100 (W. Europe Standard Time)"},"998":{"x":147,"y":133,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"999":{"submorphs":[],"scripts":[],"id":"7A1860AC-1E56-4273-9F20-6A58E5D88273","shape":{"__isSmartRef__":true,"id":1000},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1007},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1008},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1009},"eventHandler":{"__isSmartRef__":true,"id":1010},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":1011},"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Box"},"1000":{"position":{"__isSmartRef__":true,"id":1001},"_Extent":{"__isSmartRef__":true,"id":1002},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1003},"_Fill":{"__isSmartRef__":true,"id":1004},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1005},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1006},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1001":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1002":{"x":294,"y":273,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1003":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1004":{"r":0.11424489601575938,"g":0.5412242794748289,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1005":{"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"},"1006":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1007":{"x":943,"y":188,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1008":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1009":{"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"},"1010":{"morph":{"__isSmartRef__":true,"id":999},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1011":{"x":294,"y":270,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1012":{"submorphs":[],"scripts":[],"id":"7EA1362C-2DC8-43F6-9E89-9C5C19EFF67F","shape":{"__isSmartRef__":true,"id":1013},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":1018},"_Position":{"__isSmartRef__":true,"id":1019},"showsHalos":false,"name":"Image","partsBinMetaInfo":{"__isSmartRef__":true,"id":1020},"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":1021},"derivationIds":[707],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image"},"1013":{"position":{"__isSmartRef__":true,"id":1014},"_Extent":{"__isSmartRef__":true,"id":1015},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png","__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1016},"isLoaded":true,"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1017},"__LivelyClassName__":"lively.morphic.Shapes.Image"},"1014":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1015":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1016":{"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","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1017":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1018":{"morph":{"__isSmartRef__":true,"id":1012},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1019":{"x":686,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1020":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","partName":"Image","migrationLevel":2,"comment":"an pixmap image morph","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1021":{"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"},"1022":{"submorphs":[{"__isSmartRef__":true,"id":1023},{"__isSmartRef__":true,"id":1039}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1187},"derivationIds":[null],"id":"85A844FE-FF7D-4BE2-87D0-E875EF1E9598","renderContextTable":{"__isSmartRef__":true,"id":1191},"eventHandler":{"__isSmartRef__":true,"id":1192},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1193},"LK2":true,"_Position":{"__isSmartRef__":true,"id":1194},"priorExtent":{"__isSmartRef__":true,"id":1195},"targetMorph":{"__isSmartRef__":true,"id":1023},"titleBar":{"__isSmartRef__":true,"id":1039},"contentOffset":{"__isSmartRef__":true,"id":1035},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":false,"prevDragPos":{"__isSmartRef__":true,"id":1196},"isBeingDragged":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1023":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1024},"derivationIds":[null],"id":"B8867F99-AB55-4660-B094-A0935AF905A5","renderContextTable":{"__isSmartRef__":true,"id":1031},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1032}],"eventHandler":{"__isSmartRef__":true,"id":1034},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1035},"priorExtent":{"__isSmartRef__":true,"id":1036},"_MaxTextWidth":490,"_MinTextWidth":490,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1022},"layout":{"__isSmartRef__":true,"id":1037},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1038}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1333367509506,"accessibleInInactiveWindow":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textString":"nothing","__LivelyClassName__":"lively.morphic.Text"},"1024":{"_Position":{"__isSmartRef__":true,"id":1025},"renderContextTable":{"__isSmartRef__":true,"id":1026},"_Extent":{"__isSmartRef__":true,"id":1027},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":1028},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1029},"_Fill":{"__isSmartRef__":true,"id":1030},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1025":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1026":{"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"},"1027":{"x":500,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1028":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1029":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1030":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1031":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1032":{"style":{"__isSmartRef__":true,"id":1033},"chunkOwner":{"__isSmartRef__":true,"id":1023},"storedString":"nothing","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1033":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1034":{"morph":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1035":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1036":{"x":500,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1037":{"resizeWidth":true,"resizeHeight":true},"1038":{"sourceObj":{"__isSmartRef__":true,"id":1023},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1023},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1039":{"submorphs":[{"__isSmartRef__":true,"id":1040},{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1101},{"__isSmartRef__":true,"id":1135}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1170},"derivationIds":[null],"id":"28076704-C5F2-4291-9187-B7745D040A07","renderContextTable":{"__isSmartRef__":true,"id":1182},"eventHandler":{"__isSmartRef__":true,"id":1183},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1184},"_Position":{"__isSmartRef__":true,"id":1185},"windowMorph":{"__isSmartRef__":true,"id":1022},"label":{"__isSmartRef__":true,"id":1040},"closeButton":{"__isSmartRef__":true,"id":1054},"menuButton":{"__isSmartRef__":true,"id":1101},"collapseButton":{"__isSmartRef__":true,"id":1135},"priorExtent":{"__isSmartRef__":true,"id":1186},"owner":{"__isSmartRef__":true,"id":1022},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1040":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1041},"derivationIds":[null],"id":"DC63F140-A3EE-40B3-AFC3-F339FF54E84C","renderContextTable":{"__isSmartRef__":true,"id":1047},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1048}],"eventHandler":{"__isSmartRef__":true,"id":1050},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1051},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1039},"priorExtent":{"__isSmartRef__":true,"id":1052},"_MaxTextWidth":441,"_MinTextWidth":441,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":1053},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1041":{"_Position":{"__isSmartRef__":true,"id":1042},"renderContextTable":{"__isSmartRef__":true,"id":1043},"_Extent":{"__isSmartRef__":true,"id":1044},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1045},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1046},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1042":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1043":{"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"},"1044":{"x":441,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1045":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1046":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1047":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1048":{"style":{"__isSmartRef__":true,"id":1049},"chunkOwner":{"__isSmartRef__":true,"id":1040},"storedString":"Workspace","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1049":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1050":{"morph":{"__isSmartRef__":true,"id":1040},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1051":{"resizeWidth":true},"1052":{"x":441,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1053":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1054":{"submorphs":[{"__isSmartRef__":true,"id":1055}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1067},"derivationIds":[null],"id":"1C773041-89D8-434E-9DAD-01379636F3D4","renderContextTable":{"__isSmartRef__":true,"id":1083},"eventHandler":{"__isSmartRef__":true,"id":1084},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1085},"priorExtent":{"__isSmartRef__":true,"id":1086},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1073},"lighterFill":{"__isSmartRef__":true,"id":1087},"label":{"__isSmartRef__":true,"id":1055},"owner":{"__isSmartRef__":true,"id":1039},"layout":{"__isSmartRef__":true,"id":1096},"attributeConnections":[{"__isSmartRef__":true,"id":1097},{"__isSmartRef__":true,"id":1099}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1055":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1056},"derivationIds":[null],"id":"CE08EF04-D6C1-4045-BE9A-AAF2618D677A","renderContextTable":{"__isSmartRef__":true,"id":1061},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1062}],"eventHandler":{"__isSmartRef__":true,"id":1064},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1065},"priorExtent":{"__isSmartRef__":true,"id":1066},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1054},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1056":{"_Position":{"__isSmartRef__":true,"id":1057},"renderContextTable":{"__isSmartRef__":true,"id":1058},"_Extent":{"__isSmartRef__":true,"id":1059},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1060},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1046},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1057":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1058":{"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"},"1059":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1060":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1061":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1062":{"style":{"__isSmartRef__":true,"id":1063},"chunkOwner":{"__isSmartRef__":true,"id":1055},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1063":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1064":{"morph":{"__isSmartRef__":true,"id":1055},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1065":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1066":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1067":{"_Position":{"__isSmartRef__":true,"id":1068},"renderContextTable":{"__isSmartRef__":true,"id":1069},"_Extent":{"__isSmartRef__":true,"id":1070},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1071},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1072},"_Fill":{"__isSmartRef__":true,"id":1073},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1068":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1069":{"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"},"1070":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1071":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1072":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1073":{"stops":[{"__isSmartRef__":true,"id":1074},{"__isSmartRef__":true,"id":1076},{"__isSmartRef__":true,"id":1078},{"__isSmartRef__":true,"id":1080}],"vector":{"__isSmartRef__":true,"id":1082},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1074":{"offset":0,"color":{"__isSmartRef__":true,"id":1075}},"1075":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1076":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1077}},"1077":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1078":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1079}},"1079":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1080":{"offset":1,"color":{"__isSmartRef__":true,"id":1081}},"1081":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1082":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1083":{"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"},"1084":{"morph":{"__isSmartRef__":true,"id":1054},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1085":{"x":480,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1086":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1087":{"stops":[{"__isSmartRef__":true,"id":1088},{"__isSmartRef__":true,"id":1090},{"__isSmartRef__":true,"id":1092},{"__isSmartRef__":true,"id":1094}],"vector":{"__isSmartRef__":true,"id":1082},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1088":{"offset":0,"color":{"__isSmartRef__":true,"id":1089}},"1089":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1090":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1091}},"1091":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1092":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1093}},"1093":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1094":{"offset":1,"color":{"__isSmartRef__":true,"id":1095}},"1095":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1096":{"moveHorizontal":true},"1097":{"sourceObj":{"__isSmartRef__":true,"id":1054},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1022},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1098},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1098":{"source":{"__isSmartRef__":true,"id":1054},"target":{"__isSmartRef__":true,"id":1022}},"1099":{"sourceObj":{"__isSmartRef__":true,"id":1054},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1022},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1100},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1100":{"source":{"__isSmartRef__":true,"id":1054},"target":{"__isSmartRef__":true,"id":1022}},"1101":{"submorphs":[{"__isSmartRef__":true,"id":1102}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1113},"derivationIds":[null],"id":"9936E8E0-1B2B-498B-90A5-2483C9C638A9","renderContextTable":{"__isSmartRef__":true,"id":1118},"eventHandler":{"__isSmartRef__":true,"id":1119},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1120},"priorExtent":{"__isSmartRef__":true,"id":1121},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1073},"lighterFill":{"__isSmartRef__":true,"id":1122},"label":{"__isSmartRef__":true,"id":1102},"owner":{"__isSmartRef__":true,"id":1039},"attributeConnections":[{"__isSmartRef__":true,"id":1131},{"__isSmartRef__":true,"id":1133}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1102":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1103},"derivationIds":[null],"id":"B108A6BF-EDC6-4A2C-9453-EF39154E6D04","renderContextTable":{"__isSmartRef__":true,"id":1107},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1108}],"eventHandler":{"__isSmartRef__":true,"id":1110},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1111},"priorExtent":{"__isSmartRef__":true,"id":1112},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1101},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1103":{"_Position":{"__isSmartRef__":true,"id":1104},"renderContextTable":{"__isSmartRef__":true,"id":1105},"_Extent":{"__isSmartRef__":true,"id":1106},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1060},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1046},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1104":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1105":{"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"},"1106":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1107":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1108":{"style":{"__isSmartRef__":true,"id":1109},"chunkOwner":{"__isSmartRef__":true,"id":1102},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1109":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1110":{"morph":{"__isSmartRef__":true,"id":1102},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1111":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1112":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1113":{"_Position":{"__isSmartRef__":true,"id":1114},"renderContextTable":{"__isSmartRef__":true,"id":1115},"_Extent":{"__isSmartRef__":true,"id":1116},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1117},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1072},"_Fill":{"__isSmartRef__":true,"id":1073},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1114":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1115":{"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"},"1116":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1117":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1118":{"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"},"1119":{"morph":{"__isSmartRef__":true,"id":1101},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1120":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1121":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1122":{"stops":[{"__isSmartRef__":true,"id":1123},{"__isSmartRef__":true,"id":1125},{"__isSmartRef__":true,"id":1127},{"__isSmartRef__":true,"id":1129}],"vector":{"__isSmartRef__":true,"id":1082},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1123":{"offset":0,"color":{"__isSmartRef__":true,"id":1124}},"1124":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1125":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1126}},"1126":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1127":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1128}},"1128":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1129":{"offset":1,"color":{"__isSmartRef__":true,"id":1130}},"1130":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1131":{"sourceObj":{"__isSmartRef__":true,"id":1101},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1022},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1132},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1132":{"source":{"__isSmartRef__":true,"id":1101},"target":{"__isSmartRef__":true,"id":1022}},"1133":{"sourceObj":{"__isSmartRef__":true,"id":1101},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1022},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1134},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1134":{"source":{"__isSmartRef__":true,"id":1101},"target":{"__isSmartRef__":true,"id":1022}},"1135":{"submorphs":[{"__isSmartRef__":true,"id":1136}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1147},"derivationIds":[null],"id":"09909FC7-199E-4745-BFF5-55E34F34CB3D","renderContextTable":{"__isSmartRef__":true,"id":1152},"eventHandler":{"__isSmartRef__":true,"id":1153},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1154},"priorExtent":{"__isSmartRef__":true,"id":1155},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1073},"lighterFill":{"__isSmartRef__":true,"id":1156},"label":{"__isSmartRef__":true,"id":1136},"owner":{"__isSmartRef__":true,"id":1039},"layout":{"__isSmartRef__":true,"id":1165},"attributeConnections":[{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1168}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1136":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1137},"derivationIds":[null],"id":"2168A2DD-C8C1-4EF1-9B60-B166F9679D64","renderContextTable":{"__isSmartRef__":true,"id":1141},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1142}],"eventHandler":{"__isSmartRef__":true,"id":1144},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1145},"priorExtent":{"__isSmartRef__":true,"id":1146},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1135},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1137":{"_Position":{"__isSmartRef__":true,"id":1138},"renderContextTable":{"__isSmartRef__":true,"id":1139},"_Extent":{"__isSmartRef__":true,"id":1140},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1060},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1046},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1138":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1139":{"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"},"1140":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1141":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1142":{"style":{"__isSmartRef__":true,"id":1143},"chunkOwner":{"__isSmartRef__":true,"id":1136},"storedString":"–","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1143":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1144":{"morph":{"__isSmartRef__":true,"id":1136},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1145":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1146":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1147":{"_Position":{"__isSmartRef__":true,"id":1148},"renderContextTable":{"__isSmartRef__":true,"id":1149},"_Extent":{"__isSmartRef__":true,"id":1150},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1151},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1072},"_Fill":{"__isSmartRef__":true,"id":1073},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1148":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1149":{"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"},"1150":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1151":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1152":{"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"},"1153":{"morph":{"__isSmartRef__":true,"id":1135},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1154":{"x":461,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1155":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1156":{"stops":[{"__isSmartRef__":true,"id":1157},{"__isSmartRef__":true,"id":1159},{"__isSmartRef__":true,"id":1161},{"__isSmartRef__":true,"id":1163}],"vector":{"__isSmartRef__":true,"id":1082},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1157":{"offset":0,"color":{"__isSmartRef__":true,"id":1158}},"1158":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1159":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1160}},"1160":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1161":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1162}},"1162":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1163":{"offset":1,"color":{"__isSmartRef__":true,"id":1164}},"1164":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1165":{"moveHorizontal":true},"1166":{"sourceObj":{"__isSmartRef__":true,"id":1135},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1022},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1167},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1167":{"source":{"__isSmartRef__":true,"id":1135},"target":{"__isSmartRef__":true,"id":1022}},"1168":{"sourceObj":{"__isSmartRef__":true,"id":1135},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1022},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1169},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1169":{"source":{"__isSmartRef__":true,"id":1135},"target":{"__isSmartRef__":true,"id":1022}},"1170":{"_Position":{"__isSmartRef__":true,"id":1171},"renderContextTable":{"__isSmartRef__":true,"id":1172},"_Extent":{"__isSmartRef__":true,"id":1173},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1174},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1175},"_Fill":{"__isSmartRef__":true,"id":1176},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1171":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1172":{"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"},"1173":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1174":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1175":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1176":{"stops":[{"__isSmartRef__":true,"id":1177},{"__isSmartRef__":true,"id":1179}],"vector":{"__isSmartRef__":true,"id":1181},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1177":{"offset":0,"color":{"__isSmartRef__":true,"id":1178}},"1178":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1179":{"offset":1,"color":{"__isSmartRef__":true,"id":1180}},"1180":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1181":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1182":{"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"},"1183":{"morph":{"__isSmartRef__":true,"id":1039},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1184":{"resizeWidth":true,"adjustForNewBounds":true},"1185":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1186":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1187":{"renderContextTable":{"__isSmartRef__":true,"id":1188},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1189},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1190},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1188":{"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"},"1189":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1190":{"x":500,"y":221,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1191":{"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"},"1192":{"morph":{"__isSmartRef__":true,"id":1022},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1193":{"adjustForNewBounds":true},"1194":{"x":1296,"y":540,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1195":{"x":500,"y":221,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1196":{"x":1409,"y":552,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1197":{"submorphs":[],"scripts":[],"id":"7C978B4E-B677-4045-8BDC-B5AA99C5AAE5","shape":{"__isSmartRef__":true,"id":1198},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1204},"_MaxTextWidth":468,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1201},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":1205},"textChunks":[{"__isSmartRef__":true,"id":1208}],"charsReplaced":"","lastFindLoc":172,"priorSelectionRange":[85,85],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1210},"renderContextTable":{"__isSmartRef__":true,"id":1211},"eventHandler":{"__isSmartRef__":true,"id":1212},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1213},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":468,"_MinTextHeight":null,"previousSelection":[170,170],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"savedTextString":"This page demonstrates a very easy way of mapping mouse events to touch events. Simpla perform moving or scaling or rotating gestures on morphs to manipulate their shape.\n\nIt is also possible to move multiple morphs at a time.","__LivelyClassName__":"lively.morphic.Text"},"1198":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1199},"_Extent":{"__isSmartRef__":true,"id":1200},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1201},"renderContextTable":{"__isSmartRef__":true,"id":1202},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1203},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1199":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1200":{"x":476,"y":142,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1201":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1202":{"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"},"1203":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1204":{"x":262,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1205":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1206}],"revisionOnLoad":148789,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1206":{"date":{"__isSmartRef__":true,"id":1207},"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"},"1207":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (W. Europe Standard Time)"},"1208":{"style":{"__isSmartRef__":true,"id":1209},"morph":{"__isSmartRef__":true,"id":1197},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1197},"storedString":"This page demonstrates a very easy way of mapping mouse events to touch events. Simple perform moving or scaling or rotating gestures on morphs to manipulate their shape.\n\nIt is also possible to move multiple morphs at a time.","__LivelyClassName__":"lively.morphic.TextChunk"},"1209":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1210":{"x":476,"y":142,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1211":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1212":{"morph":{"__isSmartRef__":true,"id":1197},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1213":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1214":{"submorphs":[],"scripts":[],"id":"8B73A7E8-ACCC-40A0-B280-2A52F662B269","shape":{"__isSmartRef__":true,"id":1215},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1221},"_MaxTextWidth":468,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1218},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1222},"textChunks":[{"__isSmartRef__":true,"id":1225}],"charsReplaced":"This page demonstrates a very easy way of mapping mouse events to touch events. Simpla perform moving or scaling or rotating gestures on morphs to manipulate their shape.\n\nIt is also possible to move multiple morphs at a time.","lastFindLoc":226,"priorSelectionRange":[1,1],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1227},"renderContextTable":{"__isSmartRef__":true,"id":1228},"eventHandler":{"__isSmartRef__":true,"id":1229},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1230},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","7C978B4E-B677-4045-8BDC-B5AA99C5AAE5"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":468,"_MinTextHeight":null,"previousSelection":[170,170],"savedTextString":"This page demonstrates a very easy way of mapping mouse events to touch events. Simpla perform moving or scaling or rotating gestures on morphs to manipulate their shape.\n\nIt is also possible to move multiple morphs at a time.","owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Text"},"1215":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1216},"_Extent":{"__isSmartRef__":true,"id":1217},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1218},"renderContextTable":{"__isSmartRef__":true,"id":1219},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1220},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1216":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1217":{"x":476,"y":104,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1218":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1219":{"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"},"1220":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1221":{"x":36,"y":511,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1222":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1223}],"revisionOnLoad":148789,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1223":{"date":{"__isSmartRef__":true,"id":1224},"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"},"1224":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (W. Europe Standard Time)"},"1225":{"style":{"__isSmartRef__":true,"id":1226},"morph":{"__isSmartRef__":true,"id":1214},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1214},"storedString":"Update: This will not be the final way of manipulating morphs, as it does not allow invoking a halo and is way too insecure, as manipulation can easily be done accidentally.","__LivelyClassName__":"lively.morphic.TextChunk"},"1226":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1227":{"x":476,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1228":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1229":{"morph":{"__isSmartRef__":true,"id":1214},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1230":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1231":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":1232},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"renderContextTable":{"__isSmartRef__":true,"id":1238},"eventHandler":{"__isSmartRef__":true,"id":1239},"clickedOnMorph":{"__isSmartRef__":true,"id":1240},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"lastScrollTime":1333367513243,"scrollFocusMorph":{"__isSmartRef__":true,"id":0},"internalClickedOnMorph":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"_Position":{"__isSmartRef__":true,"id":1275},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"1232":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1233},"_Extent":{"__isSmartRef__":true,"id":1234},"_Fill":{"__isSmartRef__":true,"id":1235},"renderContextTable":{"__isSmartRef__":true,"id":1236},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1237},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1233":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1234":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1235":{"r":0.9033811484568021,"g":0.9100284043904051,"b":0.9228282392742936,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1236":{"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"},"1237":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1238":{"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"},"1239":{"morph":{"__isSmartRef__":true,"id":1231},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1240":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1241},"id":2770,"renderContextTable":{"__isSmartRef__":true,"id":1253},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1254}],"eventHandler":{"__isSmartRef__":true,"id":1256},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"_Position":{"__isSmartRef__":true,"id":1257},"priorExtent":{"__isSmartRef__":true,"id":1258},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1259},"__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1260},"__LivelyClassName__":"lively.morphic.Text"},"1241":{"_Position":{"__isSmartRef__":true,"id":1242},"renderContextTable":{"__isSmartRef__":true,"id":1243},"_Extent":{"__isSmartRef__":true,"id":1244},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1245},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1246},"_Fill":{"__isSmartRef__":true,"id":1247},"_BorderRadius":4,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1242":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1243":{"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"},"1244":{"x":228,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1245":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1246":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1247":{"stops":[{"__isSmartRef__":true,"id":1248},{"__isSmartRef__":true,"id":1250}],"vector":{"__isSmartRef__":true,"id":1252},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1248":{"offset":0,"color":{"__isSmartRef__":true,"id":1249}},"1249":{"r":0.39215686274509803,"g":0.5137254901960784,"b":0.9725490196078431,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1250":{"offset":1,"color":{"__isSmartRef__":true,"id":1251}},"1251":{"r":0.13333333333333333,"g":0.3333333333333333,"b":0.9607843137254902,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1252":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1253":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1254":{"style":{"__isSmartRef__":true,"id":1255},"chunkOwner":{"__isSmartRef__":true,"id":1240},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1255":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1256":{"morph":{"__isSmartRef__":true,"id":1240},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1257":{"x":0,"y":207,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1258":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1259":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1260":{"onMouseWheel":{"__isSmartRef__":true,"id":1261},"onSelectStart":{"__isSmartRef__":true,"id":1268}},"1261":{"varMapping":{"__isSmartRef__":true,"id":1262},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1267},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1262":{"this":{"__isSmartRef__":true,"id":1240},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1263}},"1263":{"$super":{"__isSmartRef__":true,"id":1264}},"1264":{"varMapping":{"__isSmartRef__":true,"id":1265},"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":1266},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1265":{"obj":{"__isSmartRef__":true,"id":1240},"name":"onMouseWheel"},"1266":{},"1267":{},"1268":{"varMapping":{"__isSmartRef__":true,"id":1269},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1274},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1269":{"this":{"__isSmartRef__":true,"id":1240},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1270}},"1270":{"$super":{"__isSmartRef__":true,"id":1271}},"1271":{"varMapping":{"__isSmartRef__":true,"id":1272},"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":1273},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1272":{"obj":{"__isSmartRef__":true,"id":1240},"name":"onSelectStart"},"1273":{},"1274":{},"1275":{"x":494,"y":428,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1276":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1277},"_Extent":{"__isSmartRef__":true,"id":1278},"_Fill":{"__isSmartRef__":true,"id":1279},"renderContextTable":{"__isSmartRef__":true,"id":1280},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1281},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1277":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1278":{"x":2800,"y":2900,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1279":{"r":0.6690165311796045,"g":0.6519270580061939,"b":0.8044154742776601,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1280":{"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"},"1281":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1282":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1283":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"1284":{"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","setScroll":"setScrollHTML"},"1285":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1286":{"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":1287},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1288},"__LivelyClassName__":"AttributeConnection"},"1287":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"1288":{"updater":{"__isSmartRef__":true,"id":1289}},"1289":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1287},"source":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","funcProperties":{"__isSmartRef__":true,"id":1290},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1290":{},"1291":{"submorphs":[{"__isSmartRef__":true,"id":1292}],"scripts":[],"id":"C8D38499-BA7E-493B-B05F-DF662F362FEA","shape":{"__isSmartRef__":true,"id":1321},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1328},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":1329},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1426},"eventHandler":{"__isSmartRef__":true,"id":1427},"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":1428},"layout":{"__isSmartRef__":true,"id":1429},"distanceToDragEvent":{"__isSmartRef__":true,"id":1430},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1431},"__LivelyClassName__":"lively.morphic.Box"},"1292":{"submorphs":[{"__isSmartRef__":true,"id":1293}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1309},"id":"F2D14DC5-5C0D-4593-ABF8-E0E8EED2AAE7","renderContextTable":{"__isSmartRef__":true,"id":1314},"eventHandler":{"__isSmartRef__":true,"id":1315},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1316},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":1317},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1318},"partsBinMetaInfo":{"__isSmartRef__":true,"id":1319},"__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":1291},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1320},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image"},"1293":{"submorphs":[],"scripts":[],"id":"BBA45723-8253-4CCE-8C35-C1C65AB16FE8","shape":{"__isSmartRef__":true,"id":1294},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1300},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1297},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":1301},"textChunks":[{"__isSmartRef__":true,"id":1302}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1304},"renderContextTable":{"__isSmartRef__":true,"id":1305},"eventHandler":{"__isSmartRef__":true,"id":1306},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1307},"_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":1292},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":1308},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1294":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1295},"_Extent":{"__isSmartRef__":true,"id":1296},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1297},"renderContextTable":{"__isSmartRef__":true,"id":1298},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1299},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1295":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1296":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1297":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1298":{"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"},"1299":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1300":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1301":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1302":{"style":{"__isSmartRef__":true,"id":1303},"chunkOwner":{"__isSmartRef__":true,"id":1293},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"1303":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1304":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1305":{"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","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1306":{"morph":{"__isSmartRef__":true,"id":1293},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1307":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1308":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1309":{"_Position":{"__isSmartRef__":true,"id":1310},"renderContextTable":{"__isSmartRef__":true,"id":1311},"_Extent":{"__isSmartRef__":true,"id":1312},"_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":1313},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1310":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1311":{"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","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1312":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1313":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1314":{"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"},"1315":{"morph":{"__isSmartRef__":true,"id":1292},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1316":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1317":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1318":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1319":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1320":{"centeredHorizontal":true,"centeredVertical":true},"1321":{"position":{"__isSmartRef__":true,"id":1322},"_Extent":{"__isSmartRef__":true,"id":1323},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1324},"_Fill":{"__isSmartRef__":true,"id":1325},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1326},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1327},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1322":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1323":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1324":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1325":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1326":{"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"},"1327":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1328":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1329":{"partsSpaceName":"PartsBin/iPad Widgets","__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":1330},{"__isSmartRef__":true,"id":1332},{"__isSmartRef__":true,"id":1334},{"__isSmartRef__":true,"id":1336},{"__isSmartRef__":true,"id":1338},{"__isSmartRef__":true,"id":1340},{"__isSmartRef__":true,"id":1342},{"__isSmartRef__":true,"id":1344},{"__isSmartRef__":true,"id":1346},{"__isSmartRef__":true,"id":1348},{"__isSmartRef__":true,"id":1350},{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1354},{"__isSmartRef__":true,"id":1356},{"__isSmartRef__":true,"id":1358},{"__isSmartRef__":true,"id":1360},{"__isSmartRef__":true,"id":1362},{"__isSmartRef__":true,"id":1364},{"__isSmartRef__":true,"id":1366},{"__isSmartRef__":true,"id":1368},{"__isSmartRef__":true,"id":1370},{"__isSmartRef__":true,"id":1372},{"__isSmartRef__":true,"id":1374},{"__isSmartRef__":true,"id":1376},{"__isSmartRef__":true,"id":1378},{"__isSmartRef__":true,"id":1380},{"__isSmartRef__":true,"id":1382},{"__isSmartRef__":true,"id":1384},{"__isSmartRef__":true,"id":1386},{"__isSmartRef__":true,"id":1388},{"__isSmartRef__":true,"id":1390},{"__isSmartRef__":true,"id":1392},{"__isSmartRef__":true,"id":1394},{"__isSmartRef__":true,"id":1396},{"__isSmartRef__":true,"id":1398},{"__isSmartRef__":true,"id":1400},{"__isSmartRef__":true,"id":1402},{"__isSmartRef__":true,"id":1404},{"__isSmartRef__":true,"id":1406},{"__isSmartRef__":true,"id":1408},{"__isSmartRef__":true,"id":1410},{"__isSmartRef__":true,"id":1412},{"__isSmartRef__":true,"id":1414},{"__isSmartRef__":true,"id":1416},{"__isSmartRef__":true,"id":1418},{"__isSmartRef__":true,"id":1420},{"__isSmartRef__":true,"id":1422},{"__isSmartRef__":true,"id":1424}],"revisionOnLoad":146474,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1330":{"date":{"__isSmartRef__":true,"id":1331},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"1331":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (W. Europe Standard Time)"},"1332":{"date":{"__isSmartRef__":true,"id":1333},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"1333":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (W. Europe Standard Time)"},"1334":{"date":{"__isSmartRef__":true,"id":1335},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"1335":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (W. Europe Standard Time)"},"1336":{"date":{"__isSmartRef__":true,"id":1337},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"1337":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (W. Europe Standard Time)"},"1338":{"date":{"__isSmartRef__":true,"id":1339},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"1339":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (W. Europe Standard Time)"},"1340":{"date":{"__isSmartRef__":true,"id":1341},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"1341":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (W. Europe Standard Time)"},"1342":{"date":{"__isSmartRef__":true,"id":1343},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"1343":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (W. Europe Standard Time)"},"1344":{"date":{"__isSmartRef__":true,"id":1345},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"1345":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (W. Europe Standard Time)"},"1346":{"date":{"__isSmartRef__":true,"id":1347},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"1347":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (W. Europe Standard Time)"},"1348":{"date":{"__isSmartRef__":true,"id":1349},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"1349":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (W. Europe Standard Time)"},"1350":{"date":{"__isSmartRef__":true,"id":1351},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"1351":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (W. Europe Standard Time)"},"1352":{"date":{"__isSmartRef__":true,"id":1353},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"1353":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (W. Europe Standard Time)"},"1354":{"date":{"__isSmartRef__":true,"id":1355},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"1355":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (W. Europe Standard Time)"},"1356":{"date":{"__isSmartRef__":true,"id":1357},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"1357":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (W. Europe Standard Time)"},"1358":{"date":{"__isSmartRef__":true,"id":1359},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"1359":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (W. Europe Standard Time)"},"1360":{"date":{"__isSmartRef__":true,"id":1361},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"1361":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (W. Europe Standard Time)"},"1362":{"date":{"__isSmartRef__":true,"id":1363},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"1363":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (W. Europe Standard Time)"},"1364":{"date":{"__isSmartRef__":true,"id":1365},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"1365":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (W. Europe Standard Time)"},"1366":{"date":{"__isSmartRef__":true,"id":1367},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"1367":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (W. Europe Standard Time)"},"1368":{"date":{"__isSmartRef__":true,"id":1369},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"1369":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (W. Europe Standard Time)"},"1370":{"date":{"__isSmartRef__":true,"id":1371},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"1371":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (W. Europe Standard Time)"},"1372":{"date":{"__isSmartRef__":true,"id":1373},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"1373":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (W. Europe Standard Time)"},"1374":{"date":{"__isSmartRef__":true,"id":1375},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"1375":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (W. Europe Standard Time)"},"1376":{"date":{"__isSmartRef__":true,"id":1377},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"1377":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (W. Europe Standard Time)"},"1378":{"date":{"__isSmartRef__":true,"id":1379},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"1379":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (W. Europe Standard Time)"},"1380":{"date":{"__isSmartRef__":true,"id":1381},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"1381":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (W. Europe Standard Time)"},"1382":{"date":{"__isSmartRef__":true,"id":1383},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"1383":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (W. Europe Standard Time)"},"1384":{"date":{"__isSmartRef__":true,"id":1385},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"1385":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (W. Europe Standard Time)"},"1386":{"date":{"__isSmartRef__":true,"id":1387},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"1387":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (W. Europe Standard Time)"},"1388":{"date":{"__isSmartRef__":true,"id":1389},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"1389":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (W. Europe Standard Time)"},"1390":{"date":{"__isSmartRef__":true,"id":1391},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"1391":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (W. Europe Standard Time)"},"1392":{"date":{"__isSmartRef__":true,"id":1393},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"1393":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (W. Europe Standard Time)"},"1394":{"date":{"__isSmartRef__":true,"id":1395},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"1395":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (W. Europe Standard Time)"},"1396":{"date":{"__isSmartRef__":true,"id":1397},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"1397":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (W. Europe Standard Time)"},"1398":{"date":{"__isSmartRef__":true,"id":1399},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"1399":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (W. Europe Standard Time)"},"1400":{"date":{"__isSmartRef__":true,"id":1401},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"1401":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (W. Europe Standard Time)"},"1402":{"date":{"__isSmartRef__":true,"id":1403},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"1403":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (W. Europe Standard Time)"},"1404":{"date":{"__isSmartRef__":true,"id":1405},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"1405":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (W. Europe Standard Time)"},"1406":{"date":{"__isSmartRef__":true,"id":1407},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"1407":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (W. Europe Standard Time)"},"1408":{"date":{"__isSmartRef__":true,"id":1409},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"1409":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (W. Europe Standard Time)"},"1410":{"date":{"__isSmartRef__":true,"id":1411},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"1411":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (W. Europe Standard Time)"},"1412":{"date":{"__isSmartRef__":true,"id":1413},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"1413":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (W. Europe Standard Time)"},"1414":{"date":{"__isSmartRef__":true,"id":1415},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"1415":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (W. Europe Standard Time)"},"1416":{"date":{"__isSmartRef__":true,"id":1417},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"1417":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (W. Europe Standard Time)"},"1418":{"date":{"__isSmartRef__":true,"id":1419},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"1419":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (W. Europe Standard Time)"},"1420":{"date":{"__isSmartRef__":true,"id":1421},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"1421":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (W. Europe Standard Time)"},"1422":{"date":{"__isSmartRef__":true,"id":1423},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"1423":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (W. Europe Standard Time)"},"1424":{"date":{"__isSmartRef__":true,"id":1425},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"1425":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (W. Europe Standard Time)"},"1426":{"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"},"1427":{"morph":{"__isSmartRef__":true,"id":1291},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1428":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1429":{"adjustForNewBounds":true},"1430":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1431":{"loadPart":{"__isSmartRef__":true,"id":1432},"loadFinished":{"__isSmartRef__":true,"id":1436},"loadPartByName":{"__isSmartRef__":true,"id":1440}},"1432":{"varMapping":{"__isSmartRef__":true,"id":1433},"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":1434},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1433":{"this":{"__isSmartRef__":true,"id":1291}},"1434":{"timestamp":{"__isSmartRef__":true,"id":1435},"user":"sstamm","tags":[]},"1435":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (W. Europe Standard Time)"},"1436":{"varMapping":{"__isSmartRef__":true,"id":1437},"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":1438},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1437":{"this":{"__isSmartRef__":true,"id":1291}},"1438":{"timestamp":{"__isSmartRef__":true,"id":1439},"user":"sstamm","tags":[]},"1439":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (W. Europe Standard Time)"},"1440":{"varMapping":{"__isSmartRef__":true,"id":1441},"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":1442},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1441":{"this":{"__isSmartRef__":true,"id":1291}},"1442":{"timestamp":{"__isSmartRef__":true,"id":1443},"user":"sstamm","tags":[]},"1443":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (W. Europe Standard Time)"},"1444":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/BP2012/TouchEventsPresentation.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>