","extent":{"__isSmartRef__":true,"id":381},"_Extent":{"__isSmartRef__":true,"id":382},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":383},"__LivelyClassName__":"lively.morphic.Shapes.External"},"381":{"x":12,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"382":{"x":12,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"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","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"384":{"x":160,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"385":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","partName":"CheckBox","revisionOnLoad":148683,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"386":{"x":12,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"387":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"388":{"morph":{"__isSmartRef__":true,"id":379},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"389":{"sourceObj":{"__isSmartRef__":true,"id":379},"sourceAttrName":"checked","targetObj":{"__isSmartRef__":true,"id":331},"targetMethodName":"setEditingMode","converter":null,"converterString":null,"updaterString":"function ($upd, val) { \n$upd(val); \n}","varMapping":{"__isSmartRef__":true,"id":390},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":391},"__LivelyClassName__":"AttributeConnection"},"390":{"source":{"__isSmartRef__":true,"id":379},"target":{"__isSmartRef__":true,"id":331}},"391":{"updater":{"__isSmartRef__":true,"id":392}},"392":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":390},"source":"function ($upd, val) { \n$upd(val); \n}","funcProperties":{"__isSmartRef__":true,"id":393},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"393":{},"394":{"x":37.27418637365483,"y":-11.084210420736184,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"395":{"submorphs":[],"scripts":[],"id":"66A1135E-FE02-4EB9-B355-72E6388969CD","shape":{"__isSmartRef__":true,"id":396},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":402},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":399},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":403},"textChunks":[{"__isSmartRef__":true,"id":414}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":416},"renderContextTable":{"__isSmartRef__":true,"id":417},"eventHandler":{"__isSmartRef__":true,"id":418},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":419},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":null,"_MinTextHeight":null,"previousSelection":[0,5],"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":331},"_Rotation":0,"_Scale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":420},"isLabel":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"eventsAreIgnored":true,"#startLetters":"","__LivelyClassName__":"lively.morphic.Text"},"396":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":397},"_Extent":{"__isSmartRef__":true,"id":398},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":399},"renderContextTable":{"__isSmartRef__":true,"id":400},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":401},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"397":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"398":{"x":110,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"399":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"400":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"401":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"402":{"x":190,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"403":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":404},{"__isSmartRef__":true,"id":406},{"__isSmartRef__":true,"id":408},{"__isSmartRef__":true,"id":410},{"__isSmartRef__":true,"id":412}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"404":{"date":{"__isSmartRef__":true,"id":405},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"405":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"406":{"date":{"__isSmartRef__":true,"id":407},"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"},"407":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"408":{"date":{"__isSmartRef__":true,"id":409},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"409":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"410":{"date":{"__isSmartRef__":true,"id":411},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"411":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"412":{"date":{"__isSmartRef__":true,"id":413},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"413":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"414":{"style":{"__isSmartRef__":true,"id":415},"morph":{"__isSmartRef__":true,"id":395},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":395},"storedString":"Enable Editing","__LivelyClassName__":"lively.morphic.TextChunk"},"415":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"416":{"x":110,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"417":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"418":{"morph":{"__isSmartRef__":true,"id":395},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"419":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"420":{"x":79.18596593288362,"y":-11.08020040070113,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"421":{"submorphs":[{"__isSmartRef__":true,"id":422}],"scripts":[],"id":"54235938-7852-42A4-B83F-9FC60E14FBE4","shape":{"__isSmartRef__":true,"id":438},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":454},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":442},"lighterFill":{"__isSmartRef__":true,"id":455},"label":{"__isSmartRef__":true,"id":422},"name":"Button3","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":464},"attributeConnections":[{"__isSmartRef__":true,"id":471}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":472},"renderContextTable":{"__isSmartRef__":true,"id":473},"eventHandler":{"__isSmartRef__":true,"id":474},"distanceToDragEvent":{"__isSmartRef__":true,"id":475},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":331},"_Rotation":0,"_Scale":0.9980010000000001,"__LivelyClassName__":"lively.morphic.Button"},"422":{"submorphs":[],"scripts":[],"id":"0FEBB5BD-A47B-4AC7-9506-210C6C01B7C9","shape":{"__isSmartRef__":true,"id":423},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":429},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":430},"_Padding":{"__isSmartRef__":true,"id":431},"owner":{"__isSmartRef__":true,"id":421},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":432},"textChunks":[{"__isSmartRef__":true,"id":433}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":435},"eventHandler":{"__isSmartRef__":true,"id":436},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170"],"_MinTextWidth":101,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":437},"__LivelyClassName__":"lively.morphic.Text"},"423":{"position":{"__isSmartRef__":true,"id":424},"_Extent":{"__isSmartRef__":true,"id":425},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":426},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":427},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":428},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"424":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"425":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"426":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"427":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"428":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"429":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"430":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"431":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"432":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"433":{"style":{"__isSmartRef__":true,"id":434},"chunkOwner":{"__isSmartRef__":true,"id":422},"storedString":"Clear List","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"434":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"435":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"436":{"morph":{"__isSmartRef__":true,"id":422},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"437":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"438":{"position":{"__isSmartRef__":true,"id":439},"_Extent":{"__isSmartRef__":true,"id":440},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":441},"_Fill":{"__isSmartRef__":true,"id":442},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":452},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":453},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"439":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"440":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"441":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"442":{"stops":[{"__isSmartRef__":true,"id":443},{"__isSmartRef__":true,"id":445},{"__isSmartRef__":true,"id":447},{"__isSmartRef__":true,"id":449}],"vector":{"__isSmartRef__":true,"id":451},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"443":{"offset":0,"color":{"__isSmartRef__":true,"id":444}},"444":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"445":{"offset":0.4,"color":{"__isSmartRef__":true,"id":446}},"446":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"447":{"offset":0.6,"color":{"__isSmartRef__":true,"id":448}},"448":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"449":{"offset":1,"color":{"__isSmartRef__":true,"id":450}},"450":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"451":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"452":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"453":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"454":{"x":960,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"455":{"stops":[{"__isSmartRef__":true,"id":456},{"__isSmartRef__":true,"id":458},{"__isSmartRef__":true,"id":460},{"__isSmartRef__":true,"id":462}],"vector":{"__isSmartRef__":true,"id":451},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"456":{"offset":0,"color":{"__isSmartRef__":true,"id":457}},"457":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"458":{"offset":0.4,"color":{"__isSmartRef__":true,"id":459}},"459":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"460":{"offset":0.6,"color":{"__isSmartRef__":true,"id":461}},"461":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"462":{"offset":1,"color":{"__isSmartRef__":true,"id":463}},"463":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"464":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":469}],"revisionOnLoad":false,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"465":{"date":{"__isSmartRef__":true,"id":466},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"466":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:04:01 GMT-0700 (Pacific Daylight Time)"},"467":{"date":{"__isSmartRef__":true,"id":468},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"468":{"isSerializedDate":true,"string":"Mon Apr 16 2012 01:36:21 GMT-0700 (Pacific Daylight Time)"},"469":{"date":{"__isSmartRef__":true,"id":470},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"470":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:08:58 GMT-0700 (Pacific Daylight Time)"},"471":{"sourceObj":{"__isSmartRef__":true,"id":421},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":331},"targetMethodName":"clearDocList","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"472":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"473":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"474":{"morph":{"__isSmartRef__":true,"id":421},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"475":{"x":76.91228457300679,"y":-13.084210420736184,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"476":{"submorphs":[{"__isSmartRef__":true,"id":477}],"scripts":[],"id":"551AD1CB-6CDE-4481-B7CD-046511B859EC","shape":{"__isSmartRef__":true,"id":503},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":510},"showsHalos":false,"name":"Clip","partsBinMetaInfo":{"__isSmartRef__":true,"id":511},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":518},"eventHandler":{"__isSmartRef__":true,"id":519},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","829D1F43-2B3B-44C5-BB65-27D9B43F934F"],"partTests":{"__isSmartRef__":true,"id":520},"owner":{"__isSmartRef__":true,"id":331},"priorExtent":{"__isSmartRef__":true,"id":525},"_ClipMode":"scroll","distanceToDragEvent":{"__isSmartRef__":true,"id":526},"layout":{"__isSmartRef__":true,"id":527},"isBeingDragged":false,"#startLetters":"","prevScroll":[0,0],"_Rotation":0,"_Scale":1,"grabbingEnabled":false,"__LivelyClassName__":"lively.morphic.Box"},"477":{"submorphs":[],"scripts":[],"id":"619123F7-0511-48DA-BCE8-E6118CE5BD23","shape":{"__isSmartRef__":true,"id":478},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":484},"showsHalos":false,"name":"DocList","partsBinMetaInfo":{"__isSmartRef__":true,"id":485},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":492},"eventHandler":{"__isSmartRef__":true,"id":493},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","051F5CFC-BC53-4EAE-BE8C-AE128E77DBC9"],"partTests":{"__isSmartRef__":true,"id":494},"owner":{"__isSmartRef__":true,"id":476},"priorExtent":{"__isSmartRef__":true,"id":499},"layout":{"__isSmartRef__":true,"id":500},"isInLayoutCycle":false,"prevScroll":[0,0],"distanceToDragEvent":{"__isSmartRef__":true,"id":502},"_ClipMode":"visible","#startLetters":"","grabbingEnabled":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"478":{"position":{"__isSmartRef__":true,"id":479},"_Extent":{"__isSmartRef__":true,"id":480},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":481},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":482},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":483},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"479":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"480":{"x":970,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"481":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"482":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"483":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"484":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"485":{"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":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":486},{"__isSmartRef__":true,"id":488},{"__isSmartRef__":true,"id":490}],"revisionOnLoad":145519,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"486":{"date":{"__isSmartRef__":true,"id":487},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"487":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"488":{"date":{"__isSmartRef__":true,"id":489},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"489":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"490":{"date":{"__isSmartRef__":true,"id":491},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"491":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"492":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"493":{"morph":{"__isSmartRef__":true,"id":477},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"494":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":495}},"495":{"test01IsMorph":{"__isSmartRef__":true,"id":496}},"496":{"varMapping":{"__isSmartRef__":true,"id":497},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":498},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"497":{"this":{"__isSmartRef__":true,"id":494}},"498":{},"499":{"x":970,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"500":{"extentWithoutPlaceholder":{"__isSmartRef__":true,"id":501}},"501":{"x":8317.002997002997,"y":252.00899100899107,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"502":{"x":651.0520460079294,"y":-16.31074646252901,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"503":{"position":{"__isSmartRef__":true,"id":504},"_Extent":{"__isSmartRef__":true,"id":505},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":506},"_Fill":{"__isSmartRef__":true,"id":507},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":508},"_ClipMode":"scroll","_Padding":{"__isSmartRef__":true,"id":509},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"504":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"505":{"x":1040.8793786810804,"y":512.6550716006003,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"506":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"507":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"508":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"509":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"510":{"x":20,"y":60,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"511":{"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":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":512},{"__isSmartRef__":true,"id":514},{"__isSmartRef__":true,"id":516}],"revisionOnLoad":145519,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"512":{"date":{"__isSmartRef__":true,"id":513},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"513":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"514":{"date":{"__isSmartRef__":true,"id":515},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"515":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"516":{"date":{"__isSmartRef__":true,"id":517},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"517":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"518":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"519":{"morph":{"__isSmartRef__":true,"id":476},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"520":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":521}},"521":{"test01IsMorph":{"__isSmartRef__":true,"id":522}},"522":{"varMapping":{"__isSmartRef__":true,"id":523},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":524},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"523":{"this":{"__isSmartRef__":true,"id":520}},"524":{},"525":{"x":1050.8394386410905,"y":512.6550716006003,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"526":{"x":701.8636593188081,"y":-10.260651302278688,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"527":{"resizeWidth":true,"resizeHeight":true},"528":{"submorphs":[{"__isSmartRef__":true,"id":529}],"scripts":[],"id":"C936BA7C-8F2D-4FDE-9B90-86D801714065","shape":{"__isSmartRef__":true,"id":545},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":561},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":549},"lighterFill":{"__isSmartRef__":true,"id":562},"label":{"__isSmartRef__":true,"id":529},"name":"Button5","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":571},"attributeConnections":[{"__isSmartRef__":true,"id":578}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":579},"renderContextTable":{"__isSmartRef__":true,"id":580},"eventHandler":{"__isSmartRef__":true,"id":581},"distanceToDragEvent":{"__isSmartRef__":true,"id":582},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":331},"_Rotation":0,"_Scale":0.9980010000000001,"__LivelyClassName__":"lively.morphic.Button"},"529":{"submorphs":[],"scripts":[],"id":"D0A52BBE-DE4F-4217-835A-EE2426AB9900","shape":{"__isSmartRef__":true,"id":530},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":536},"_MaxTextWidth":110.22033044055064,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":537},"_Padding":{"__isSmartRef__":true,"id":538},"owner":{"__isSmartRef__":true,"id":528},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":539},"textChunks":[{"__isSmartRef__":true,"id":540}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":542},"eventHandler":{"__isSmartRef__":true,"id":543},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170"],"_MinTextWidth":110.22033044055064,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":544},"__LivelyClassName__":"lively.morphic.Text"},"530":{"position":{"__isSmartRef__":true,"id":531},"_Extent":{"__isSmartRef__":true,"id":532},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":533},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":534},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":535},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"531":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"532":{"x":110.22033044055064,"y":20.04006008010012,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"533":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"534":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"535":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"536":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"537":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"538":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"539":{"x":110.22033044055064,"y":20.04006008010012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"540":{"style":{"__isSmartRef__":true,"id":541},"chunkOwner":{"__isSmartRef__":true,"id":529},"storedString":"Check Availability","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"541":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"542":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"543":{"morph":{"__isSmartRef__":true,"id":529},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"544":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"545":{"position":{"__isSmartRef__":true,"id":546},"_Extent":{"__isSmartRef__":true,"id":547},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":548},"_Fill":{"__isSmartRef__":true,"id":549},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":559},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":560},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"546":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"547":{"x":110.22033044055064,"y":20.04006008010012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"548":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"549":{"stops":[{"__isSmartRef__":true,"id":550},{"__isSmartRef__":true,"id":552},{"__isSmartRef__":true,"id":554},{"__isSmartRef__":true,"id":556}],"vector":{"__isSmartRef__":true,"id":558},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"550":{"offset":0,"color":{"__isSmartRef__":true,"id":551}},"551":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"552":{"offset":0.4,"color":{"__isSmartRef__":true,"id":553}},"553":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"554":{"offset":0.6,"color":{"__isSmartRef__":true,"id":555}},"555":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"556":{"offset":1,"color":{"__isSmartRef__":true,"id":557}},"557":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"558":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"559":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"560":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"561":{"x":840,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"562":{"stops":[{"__isSmartRef__":true,"id":563},{"__isSmartRef__":true,"id":565},{"__isSmartRef__":true,"id":567},{"__isSmartRef__":true,"id":569}],"vector":{"__isSmartRef__":true,"id":558},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"563":{"offset":0,"color":{"__isSmartRef__":true,"id":564}},"564":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"565":{"offset":0.4,"color":{"__isSmartRef__":true,"id":566}},"566":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"567":{"offset":0.6,"color":{"__isSmartRef__":true,"id":568}},"568":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"569":{"offset":1,"color":{"__isSmartRef__":true,"id":570}},"570":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"571":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":572},{"__isSmartRef__":true,"id":574},{"__isSmartRef__":true,"id":576}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"572":{"date":{"__isSmartRef__":true,"id":573},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"573":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:04:01 GMT-0700 (Pacific Daylight Time)"},"574":{"date":{"__isSmartRef__":true,"id":575},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"575":{"isSerializedDate":true,"string":"Mon Apr 16 2012 01:36:21 GMT-0700 (Pacific Daylight Time)"},"576":{"date":{"__isSmartRef__":true,"id":577},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"577":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:08:58 GMT-0700 (Pacific Daylight Time)"},"578":{"sourceObj":{"__isSmartRef__":true,"id":528},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":331},"targetMethodName":"checkAvailability","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"579":{"x":110.22033044055064,"y":20.04006008010012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"580":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"581":{"morph":{"__isSmartRef__":true,"id":528},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"582":{"x":77.76792385174474,"y":-13.08020040070113,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"583":{"submorphs":[{"__isSmartRef__":true,"id":584}],"scripts":[],"id":"0D8BB587-723B-41DE-8C1C-F25FC249E588","shape":{"__isSmartRef__":true,"id":600},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":616},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":604},"lighterFill":{"__isSmartRef__":true,"id":617},"label":{"__isSmartRef__":true,"id":584},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":626},"attributeConnections":[{"__isSmartRef__":true,"id":633}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":634},"renderContextTable":{"__isSmartRef__":true,"id":635},"eventHandler":{"__isSmartRef__":true,"id":636},"distanceToDragEvent":{"__isSmartRef__":true,"id":637},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":331},"_Rotation":0,"_Scale":0.9980010000000001,"__LivelyClassName__":"lively.morphic.Button"},"584":{"submorphs":[],"scripts":[],"id":"C6C942E5-89B4-4115-8188-7F660FD8E504","shape":{"__isSmartRef__":true,"id":585},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":591},"_MaxTextWidth":240.4807209612014,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":592},"_Padding":{"__isSmartRef__":true,"id":593},"owner":{"__isSmartRef__":true,"id":583},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":594},"textChunks":[{"__isSmartRef__":true,"id":595}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":597},"eventHandler":{"__isSmartRef__":true,"id":598},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170"],"_MinTextWidth":240.4807209612014,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":599},"__LivelyClassName__":"lively.morphic.Text"},"585":{"position":{"__isSmartRef__":true,"id":586},"_Extent":{"__isSmartRef__":true,"id":587},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":588},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":589},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":590},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"586":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"587":{"x":240.4807209612014,"y":20.04006008010012,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"588":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"589":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"590":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"591":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"592":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"593":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"594":{"x":240.4807209612014,"y":20.04006008010012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"595":{"style":{"__isSmartRef__":true,"id":596},"chunkOwner":{"__isSmartRef__":true,"id":584},"storedString":"Update thumbs and check availability","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"596":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"597":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"598":{"morph":{"__isSmartRef__":true,"id":584},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"599":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"600":{"position":{"__isSmartRef__":true,"id":601},"_Extent":{"__isSmartRef__":true,"id":602},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":603},"_Fill":{"__isSmartRef__":true,"id":604},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":614},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":615},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"601":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"602":{"x":240.4807209612014,"y":20.04006008010012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"603":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"604":{"stops":[{"__isSmartRef__":true,"id":605},{"__isSmartRef__":true,"id":607},{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":611}],"vector":{"__isSmartRef__":true,"id":613},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"605":{"offset":0,"color":{"__isSmartRef__":true,"id":606}},"606":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"607":{"offset":0.4,"color":{"__isSmartRef__":true,"id":608}},"608":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"609":{"offset":0.6,"color":{"__isSmartRef__":true,"id":610}},"610":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"611":{"offset":1,"color":{"__isSmartRef__":true,"id":612}},"612":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"613":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"614":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"615":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"616":{"x":590,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"617":{"stops":[{"__isSmartRef__":true,"id":618},{"__isSmartRef__":true,"id":620},{"__isSmartRef__":true,"id":622},{"__isSmartRef__":true,"id":624}],"vector":{"__isSmartRef__":true,"id":613},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"618":{"offset":0,"color":{"__isSmartRef__":true,"id":619}},"619":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"620":{"offset":0.4,"color":{"__isSmartRef__":true,"id":621}},"621":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"622":{"offset":0.6,"color":{"__isSmartRef__":true,"id":623}},"623":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"624":{"offset":1,"color":{"__isSmartRef__":true,"id":625}},"625":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"626":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":627},{"__isSmartRef__":true,"id":629},{"__isSmartRef__":true,"id":631}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"627":{"date":{"__isSmartRef__":true,"id":628},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"628":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:04:01 GMT-0700 (Pacific Daylight Time)"},"629":{"date":{"__isSmartRef__":true,"id":630},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"630":{"isSerializedDate":true,"string":"Mon Apr 16 2012 01:36:21 GMT-0700 (Pacific Daylight Time)"},"631":{"date":{"__isSmartRef__":true,"id":632},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"632":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:08:58 GMT-0700 (Pacific Daylight Time)"},"633":{"sourceObj":{"__isSmartRef__":true,"id":583},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":331},"targetMethodName":"updateList","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"634":{"x":240.4807209612014,"y":20.04006008010012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"635":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"636":{"morph":{"__isSmartRef__":true,"id":583},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"637":{"x":168.08722044327828,"y":-11.076190380666077,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"638":{"submorphs":[],"scripts":[],"id":"31AB28A4-4049-4C38-B0C6-4AE2EA5A806D","shape":{"__isSmartRef__":true,"id":639},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":645},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":642},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":646},"textChunks":[{"__isSmartRef__":true,"id":657}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":659},"renderContextTable":{"__isSmartRef__":true,"id":660},"eventHandler":{"__isSmartRef__":true,"id":661},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":662},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","66A1135E-FE02-4EB9-B355-72E6388969CD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":null,"_MinTextHeight":null,"previousSelection":[0,5],"isBeingDragged":false,"moved":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":663},"isLabel":true,"_HandStyle":"default","_InputAllowed":false,"allowInput":false,"eventsAreIgnored":true,"#startLetters":"","owner":{"__isSmartRef__":true,"id":331},"_Rotation":0,"_Scale":0.996005996001,"__LivelyClassName__":"lively.morphic.Text"},"639":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":640},"_Extent":{"__isSmartRef__":true,"id":641},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":642},"renderContextTable":{"__isSmartRef__":true,"id":643},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":644},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"640":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"641":{"x":110,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"642":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"643":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"644":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"645":{"x":321.47279147213203,"y":16.015976015996017,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"646":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":647},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":653},{"__isSmartRef__":true,"id":655}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"647":{"date":{"__isSmartRef__":true,"id":648},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"648":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"649":{"date":{"__isSmartRef__":true,"id":650},"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"},"650":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"651":{"date":{"__isSmartRef__":true,"id":652},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"652":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"653":{"date":{"__isSmartRef__":true,"id":654},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"654":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"655":{"date":{"__isSmartRef__":true,"id":656},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"656":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"657":{"style":{"__isSmartRef__":true,"id":658},"morph":{"__isSmartRef__":true,"id":638},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":638},"storedString":"Enable Editing","__LivelyClassName__":"lively.morphic.TextChunk"},"658":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"659":{"x":110,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"660":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"661":{"morph":{"__isSmartRef__":true,"id":638},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"662":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"663":{"x":79.18596593288362,"y":-11.08020040070113,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"664":{"submorphs":[],"scripts":[],"id":"0EA88426-30C5-4C73-A36B-46FA5CC4D7E0","renderContextTable":{"__isSmartRef__":true,"id":665},"shape":{"__isSmartRef__":true,"id":666},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","eventHandler":{"__isSmartRef__":true,"id":673},"_Position":{"__isSmartRef__":true,"id":674},"itemList":[{"__isSmartRef__":true,"id":675},{"__isSmartRef__":true,"id":676},{"__isSmartRef__":true,"id":677},{"__isSmartRef__":true,"id":678}],"selectOnMove":false,"showsHalos":false,"priorExtent":{"__isSmartRef__":true,"id":679},"attributeConnections":[{"__isSmartRef__":true,"id":680}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"name":"DropDownList","partsBinMetaInfo":{"__isSmartRef__":true,"id":682},"__SourceModuleName__":"Global.lively.morphic.Core","derivationIds":[6545],"moved":true,"owner":{"__isSmartRef__":true,"id":331},"changeTriggered":true,"selectedLineNo":1,"selection":{"__isSmartRef__":true,"id":676},"#startLetters":"","_Rotation":0,"_Scale":0.9980010000000001,"distanceToDragEvent":{"__isSmartRef__":true,"id":683},"items":[1,2,3,4],"listItems":[1,2,3,4],"__LivelyClassName__":"lively.morphic.DropDownList"},"665":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","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"},"666":{"_Position":{"__isSmartRef__":true,"id":667},"renderContextTable":{"__isSmartRef__":true,"id":668},"_Extent":{"__isSmartRef__":true,"id":669},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":670},"_Fill":{"__isSmartRef__":true,"id":671},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":{"__isSmartRef__":true,"id":672},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"667":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"668":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"669":{"x":107,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"670":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"671":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"672":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"673":{"morph":{"__isSmartRef__":true,"id":664},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"674":{"x":440,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"675":{"sortID":"title","string":"Title"},"676":{"sortID":"section","string":"Section"},"677":{"sortID":"rating","string":"Rating"},"678":{"sortID":"changeDate","string":"Latest Change"},"679":{"x":107,"y":26,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"680":{"sourceObj":{"__isSmartRef__":true,"id":664},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":331},"targetMethodName":"sortListBy","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, val){\n var a = val.sortID;\n $upd(a);\n \n }","varMapping":{"__isSmartRef__":true,"id":681},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"681":{"source":{"__isSmartRef__":true,"id":664},"target":{"__isSmartRef__":true,"id":331}},"682":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","comment":"\"Native\" drop down list","partName":"DropDownList","revisionOnLoad":148797,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"683":{"x":77.0200501001753,"y":-11.983959919859785,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"684":{"position":{"__isSmartRef__":true,"id":685},"_Extent":{"__isSmartRef__":true,"id":686},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":687},"_Fill":{"__isSmartRef__":true,"id":688},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":689},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":690},"_BorderRadius":13.320000000000002,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"685":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"686":{"x":1075.6864756810799,"y":597.6035976006,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"687":{"r":0.572,"g":0.572,"b":0.572,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"688":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"689":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"690":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"691":{"x":50,"y":110,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"692":{"partsSpaceName":"PartsBin/Jens","__SourceModuleName__":"Global.lively.PartsBin","comment":"A world overview","migrationLevel":4,"partName":"WorldOverview","changes":[{"__isSmartRef__":true,"id":693},{"__isSmartRef__":true,"id":695},{"__isSmartRef__":true,"id":697},{"__isSmartRef__":true,"id":699},{"__isSmartRef__":true,"id":701}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"revisionOnLoad":148164,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"693":{"date":{"__isSmartRef__":true,"id":694},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"694":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"695":{"date":{"__isSmartRef__":true,"id":696},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"696":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"697":{"date":{"__isSmartRef__":true,"id":698},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"698":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"699":{"date":{"__isSmartRef__":true,"id":700},"author":"jenslincke","message":"","id":"9B3728F1-189E-49FE-8219-C06D3D813BDC"},"700":{"isSerializedDate":true,"string":"Tue Mar 27 2012 07:45:53 GMT-0700 (Pacific Daylight Time)"},"701":{"date":{"__isSmartRef__":true,"id":702},"author":"undefined","message":"- thumbs work","id":"BDD2C334-3598-49DD-8130-961547BF2584"},"702":{"isSerializedDate":true,"string":"Wed Mar 28 2012 03:34:38 GMT-0700 (Pacific Daylight Time)"},"703":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"704":{"morph":{"__isSmartRef__":true,"id":331},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"705":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":706}},"706":{"test01IsMorph":{"__isSmartRef__":true,"id":707}},"707":{"varMapping":{"__isSmartRef__":true,"id":708},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":709},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"708":{"this":{"__isSmartRef__":true,"id":705}},"709":{},"710":{"x":1075.6864756810799,"y":597.6035976006,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"711":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"712":{"x":723,"y":-8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"713":{"makeOverview":{"__isSmartRef__":true,"id":714},"clearAll":{"__isSmartRef__":true,"id":718},"layoutNodes":{"__isSmartRef__":true,"id":722},"getNodes":{"__isSmartRef__":true,"id":726},"reset":{"__isSmartRef__":true,"id":730},"loadImageForNode":{"__isSmartRef__":true,"id":734},"newItem":{"__isSmartRef__":true,"id":738},"createNewItem":{"__isSmartRef__":true,"id":742},"sortGuidesByTitle":{"__isSmartRef__":true,"id":746},"showItems":{"__isSmartRef__":true,"id":750},"createNodeFromItem":{"__isSmartRef__":true,"id":754},"setEditingMode":{"__isSmartRef__":true,"id":758},"applyEditingStyle":{"__isSmartRef__":true,"id":762},"clearDocList":{"__isSmartRef__":true,"id":766},"crawlDirectory":{"__isSmartRef__":true,"id":770},"extractGuideFromURL":{"__isSmartRef__":true,"id":774},"getDocumentationWorld":{"__isSmartRef__":true,"id":778},"extractInfo":{"__isSmartRef__":true,"id":782},"updateThumbnails":{"__isSmartRef__":true,"id":786},"updateList":{"__isSmartRef__":true,"id":790},"encodeImageOnServer":{"__isSmartRef__":true,"id":794},"convertImageToBase64":{"__isSmartRef__":true,"id":798},"sortListBy":{"__isSmartRef__":true,"id":802}},"714":{"varMapping":{"__isSmartRef__":true,"id":715},"source":"function makeOverview() {\n this.clearAll();\n this.showItems();\n \n}","funcProperties":{"__isSmartRef__":true,"id":716},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"715":{"this":{"__isSmartRef__":true,"id":331}},"716":{"timestamp":{"__isSmartRef__":true,"id":717},"user":"bgnauk","tags":[]},"717":{"isSerializedDate":true,"string":"Tue May 15 2012 14:31:02 GMT-0700 (Pacific Daylight Time)"},"718":{"varMapping":{"__isSmartRef__":true,"id":719},"source":"function clearAll() {\n this.getNodes().invoke('remove');\n this.get(\"CheckBox\").setChecked(false);\n}","funcProperties":{"__isSmartRef__":true,"id":720},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"719":{"this":{"__isSmartRef__":true,"id":331}},"720":{"timestamp":{"__isSmartRef__":true,"id":721},"user":"bgnauk","tags":[]},"721":{"isSerializedDate":true,"string":"Wed May 16 2012 10:23:42 GMT-0700 (Pacific Daylight Time)"},"722":{"varMapping":{"__isSmartRef__":true,"id":723},"source":"function layoutNodes() {\n \n var nodes = this.getNodes();\n \n var columns = 0;\n var columnWidth = 130;\n var rowWidth = 130;\n var column = 0;\n var row = 0;\n var offset = pt(10,10);\n nodes.forEach(function(ea) {\n ea.setPosition(pt(columnWidth * column, rowWidth * row).addPt(offset))\n column++;\n if (column > columns) {\n column = 0;\n row++;\n }\n })\n\n}","funcProperties":{"__isSmartRef__":true,"id":724},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"723":{"this":{"__isSmartRef__":true,"id":331}},"724":{"timestamp":{"__isSmartRef__":true,"id":725},"user":"bgnauk","tags":[]},"725":{"isSerializedDate":true,"string":"Tue May 15 2012 14:42:44 GMT-0700 (Pacific Daylight Time)"},"726":{"varMapping":{"__isSmartRef__":true,"id":727},"source":"function getNodes() {\n return this.get('DocList').submorphs\n}","funcProperties":{"__isSmartRef__":true,"id":728},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"727":{"this":{"__isSmartRef__":true,"id":331}},"728":{"timestamp":{"__isSmartRef__":true,"id":729},"user":"bgnauk","tags":[]},"729":{"isSerializedDate":true,"string":"Tue May 15 2012 14:31:22 GMT-0700 (Pacific Daylight Time)"},"730":{"varMapping":{"__isSmartRef__":true,"id":731},"source":"function reset() {\n this.get('ImageContainer').setPosition(pt(0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":732},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"731":{"this":{"__isSmartRef__":true,"id":331}},"732":{"timestamp":{"__isSmartRef__":true,"id":733},"user":"jenslincke","tags":[]},"733":{"isSerializedDate":true,"string":"Tue Mar 27 2012 08:45:49 GMT-0700 (Pacific Daylight Time)"},"734":{"varMapping":{"__isSmartRef__":true,"id":735},"source":"function loadImageForNode(node) {\n var screenshotService = 'http://lively-kernel.org/nodejs/PhantomJSServer/screenshot-thumb'\n // var screenshotService = 'http://lively-kernel.org/nodejs/PhantomJSServer/screenshot'\n var url = node.url\n var path = url.pathname\n var imageURL = new URL(screenshotService + path)\n var img = new lively.morphic.Image(new Rectangle(0,0,300,300), imageURL, false)\n node.addMorph(img)\n}","funcProperties":{"__isSmartRef__":true,"id":736},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"735":{"this":{"__isSmartRef__":true,"id":331}},"736":{"timestamp":{"__isSmartRef__":true,"id":737},"user":"undefined","tags":[]},"737":{"isSerializedDate":true,"string":"Wed Mar 28 2012 03:33:33 GMT-0700 (Pacific Daylight Time)"},"738":{"varMapping":{"__isSmartRef__":true,"id":739},"source":"function newItem() {\n \n \n\n var theNewItem = new Morph.makeRectangle(0,0,120,120);\n\n node.isLivelyWorldNode = true;\n node.applyStyle({fill: Color.gray, toolTip: url})\n}","funcProperties":{"__isSmartRef__":true,"id":740},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"739":{"this":{"__isSmartRef__":true,"id":331}},"740":{"timestamp":{"__isSmartRef__":true,"id":741},"user":"bgnauk","tags":[]},"741":{"isSerializedDate":true,"string":"Tue May 15 2012 11:01:45 GMT-0700 (Pacific Daylight Time)"},"742":{"varMapping":{"__isSmartRef__":true,"id":743},"source":"function createNewItem(title, description, section, url) {\n var n = {\n \"title\" : title,\n \"description\" : description,\n \"section\": section,\n \"url\": url,\n \"picture\" : \"http://lively-kernel.org/media/livelylogo-small.png\"\n };\n\n if (!this.guides) this.guides = [];\n\n this.guides.push(n);\n\n console.log(this.guides);\n}","funcProperties":{"__isSmartRef__":true,"id":744},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"743":{"this":{"__isSmartRef__":true,"id":331}},"744":{"timestamp":{"__isSmartRef__":true,"id":745},"user":"bgnauk","tags":[]},"745":{"isSerializedDate":true,"string":"Wed May 16 2012 14:16:26 GMT-0700 (Pacific Daylight Time)"},"746":{"varMapping":{"__isSmartRef__":true,"id":747},"source":"function sortGuidesByTitle() {\n this.makeOverview();\n this.guides = this.guides.sortBy(function(s) { return s.title; });\n console.log(this.guides);\n}","funcProperties":{"__isSmartRef__":true,"id":748},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"747":{"this":{"__isSmartRef__":true,"id":331}},"748":{"timestamp":{"__isSmartRef__":true,"id":749},"user":"bgnauk","tags":[]},"749":{"isSerializedDate":true,"string":"Tue May 15 2012 14:59:48 GMT-0700 (Pacific Daylight Time)"},"750":{"varMapping":{"__isSmartRef__":true,"id":751},"source":"function showItems() {\n if (this.guides && this.guides.length>0){\n this.guides.forEach(function(ea){\n var node = this.createNodeFromItem(ea);\n this.get('DocList').addMorph(node);\n \n }, this);\n this.layoutNodes()\n }\n else{\n alert(\"There are no items in the guides list to show. Please add some items first.\");\n }\n}","funcProperties":{"__isSmartRef__":true,"id":752},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"751":{"this":{"__isSmartRef__":true,"id":331}},"752":{"timestamp":{"__isSmartRef__":true,"id":753},"user":"bgnauk","tags":[]},"753":{"isSerializedDate":true,"string":"Tue May 15 2012 14:54:57 GMT-0700 (Pacific Daylight Time)"},"754":{"varMapping":{"__isSmartRef__":true,"id":755},"source":"function createNodeFromItem(item) {\n \n var width = this.get(\"DocList\").getExtent().x;\n var thumbnailSize = 0;\n var titleLabelWidth = 700;\n var titleLabelHeight = 20;\n\n ratingItems = [\n {id:1, string: \"Complete\"},\n {id:2, string: \"Needs some Polishing\"},\n {id:3, string: \"Draft\"},\n {id:4, string: \"Deprecated\"},\n ];\n\n getRatingItem = function(id) {\n var s = \"\";\n for (var i = 0; i < ratingItems.length; i++) {\n if (ratingItems[i].id === id) {\n s = ratingItems[i].string;\n }\n }\n return s;\n }\n\n\t\n var node = Morph.makeRectangle(0,0,width,120);\n node.isLivelyWorldNode = true;\n node.disableGrabbing();\n node.applyStyle({fill: Color.white, toolTip: item.url, borderWidth: 0, borderRadius: 10});\n node.svnVersionInfo = item.svnVersionInfo;\n\n\n // Is the page available (are svn infos there about it)? \n if (!(item.svnVersionInfo && item.svnVersionInfo.date && item.svnVersionInfo.author)){\n node.setFill(Color.rgbHex(\"#FFCCCC\"));\n }\n\n \n node.addScript(function getSVNInfos(propfindXML){\n if (propfindXML.documentElement){\n var rawNodes = new Query(\"/D:multistatus/D:response\").findAll(propfindXML.documentElement);\n var svnVersionInfos = rawNodes.map(function(rawNode) { return SVNVersionInfo.fromPropfindNode(rawNode) });\n this.svnVersionInfo = svnVersionInfos.first();\n }\n else {\n this.svnVersionInfo = null;\n }\n });\n connect(node, \"svnVersionInfo\", item, \"svnVersionInfo\");\n \n // Screenshot\n //var defaultImage = \"http://lively-kernel.org/media/livelylogo-small.png\";\n //if (!item.picture) {\n // item.picture = defaultImage;\n //}\n //var img = new lively.morphic.Image(new Rectangle(10,10,thumbnailSize,thumbnailSize), item.picture, false);\n\n //node.addMorph(img);\n\n\n\n\n // Dropdown box for rating\n var rating = new lively.morphic.DropDownList(new Rectangle(width-150,50,140 ,titleLabelHeight), ratingItems);\n node.addMorph(rating);\n connect(rating, \"selection\", item, \"rating\", {converter: function(ea){return ea.id;}});\n if (item.rating) {\n var list = rating.getList();\n var idx = 0;\n for (var i = 0; i < list.length; i++) {\n if (list[i].id === item.rating) {\n idx = i;\n }\n }\n rating.selectAt(idx);\n }\n rating.setVisible(false);\n\trating.customEditingStyle = function(editable) {\n\t\tthis.setVisible(editable);\n\t};\n\t//connect(this.get(\"CheckBox\"), \"checked\", rating, \"setVisible\");\n\n \n var ratingLabel = new lively.morphic.Text(new Rectangle(width-190,50,180,20), \"Rating\"); //getRatingItem(item.rating));\n ratingLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n\n node.addMorph(ratingLabel);\n if (!item.rating) item.rating=0;\n \n\tconnect({}, \"test\", ratingLabel , \"textString\"\n\t, {\n\t\tconverter: function(ea){\n\t\t\tvar s = \"\";\n\t\t\tfor (var i = 0; i < ratingItems.length; i++) {\n\t\t\t\tif (ratingItems[i].id === ea) {\n\t\t\t\t\ts = ratingItems[i].string;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn s;\n\t\t}\n\t}); \n\tratingLabel.customEditingStyle = function(editable) {\n\t\tthis.setVisible(!editable);\n\t};\n this.applyEditingStyle(ratingLabel , false);\n\n // connect(this.get(\"CheckBox\"), \"checked\", ratingLabel, \"setVisible\", {converter: function(ea){return !ea;}});\n \n\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for title\n var titleLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,10,titleLabelWidth-thumbnailSize-20 ,titleLabelHeight ), item.title);\n titleLabel.applyStyle({fontWeight: \"bold\", borderWidth: 0, fixedWidth: titleLabelWidth, fixedHeight:titleLabelHeight }).disableGrabbing();\n node.addMorph(titleLabel);\n this.applyEditingStyle(titleLabel, false);\n connect(titleLabel, \"textString\", item, \"title\");\n \n // Adding label for description\n var descriptionLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,40,width-thumbnailSize-230,40), item.description);\n descriptionLabel.applyStyle({ borderWidth: 0}).disableGrabbing();\n // descriptionLabel .beLabel();\n node.addMorph(descriptionLabel);\n this.applyEditingStyle(descriptionLabel, false);\n connect(descriptionLabel, \"textString\", item, \"description\");\n \n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for URL\n var urlLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,90,width-30-thumbnailSize,20), item.url);\n urlLabel.applyStyle({ borderWidth: 0, textDecoration: \"underline\"}).disableGrabbing();\n // descriptionLabel .beLabel();\n urlLabel.setHandStyle(\"pointer\");\n this.applyEditingStyle(urlLabel, false);\n urlLabel.realURL = '';\n urlLabel.shortURL = '';\n connect(urlLabel, 'realURL', urlLabel, 'shortURL',{converter: function(val) { \n var s =\"\";\n s+=val;\n var l = s.length;\n console.log(\"Real URL: \"+s);\n return '... '+s.substr(l - 70, l-1);\n }});\n urlLabel.realURL = item.url;\n urlLabel.textString = urlLabel.shortURL;\n connect(urlLabel, \"realURL\", item, \"url\");\n connect(urlLabel, \"realURL\", node, \"url\");\n node.url = item.url;\n urlLabel.realURL = item.url;\n \n urlLabel.onClick = function(evt){ window.open(item.url);};\n urlLabel.registerForMouseEvents();\n urlLabel.addScript(function customEditingStyle(editable){\n if (editable) {\n this.textString = this.realURL;\n connect(this, 'textString', this, 'realURL');\n this.onClick = function(evt){return false;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"\"});\n this.setHandStyle(\"text\");\n }\n else {\n disconnect(this, 'textString', this, 'realURL');\n this.textString = this.shortURL;\n this.onClick = function(evt){ window.open(this.textString); return true;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"underline\"});\n this.setHandStyle(\"pointer\");\n }\n\n });\n node.addMorph(urlLabel);\n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n // Adding label for latest change\n var latestChangeLabel = new lively.morphic.Text(new Rectangle(width-290,90,280,20), \"\");\n latestChangeLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(latestChangeLabel);\n this.applyEditingStyle(latestChangeLabel, false);\n latestChangeLabel.addScript(function setSVNInfo(svn){\n if (svn && svn.date && svn.author){\n var d = svn.date.toDateString();\n var a = svn.author;\n this.textString = \"Last update by \"+a+\" on \"+d;\n }\n else{\n this.textString = \"\";\n }\n });\n latestChangeLabel.addScript(function customEditingStyle(editable){\n this.setVisible(!editable);\n\n });\n latestChangeLabel.setSVNInfo(item.svnVersionInfo);\n connect(node, \"svnVersionInfo\", latestChangeLabel, \"setSVNInfo\", {});\n\n node.setClipMode('hidden');\n\n // Adding label for section\n var sectionLabel = new lively.morphic.Text(new Rectangle(width-190,10,180,20), item.section);\n sectionLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(sectionLabel );\n this.applyEditingStyle(sectionLabel , false);\n connect(sectionLabel , \"textString\", item, \"section\");\n\n \n //var deleteButton = new lively.morphic.Button(new Rectangle(width-100,40,90,40), \"Delete Item\");\n //deleteButton.applyStyle({ fill: Color.rgbHex(\"#BC3618\"), label:{fontSize: 10,textColor: Color.white, textDecoration: null, emphasize: null, padding: new Rectangle(0,10,0,0)}});\n //deleteButton.setVisible(false);\n //node.addMorph(deleteButton);\n \n\n\n return node;\n}","funcProperties":{"__isSmartRef__":true,"id":756},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"755":{"this":{"__isSmartRef__":true,"id":331}},"756":{"timestamp":{"__isSmartRef__":true,"id":757},"user":"bgnauk","tags":[]},"757":{"isSerializedDate":true,"string":"Wed May 30 2012 09:25:19 GMT-0700 (Pacific Daylight Time)"},"758":{"varMapping":{"__isSmartRef__":true,"id":759},"source":"function setEditingMode(editable) {\n console.log(editable);\n \n this.get(\"DocList\").submorphs.forEach(function(ea){\n\n\n ea.submorphs.forEach(function(ea){\n \n if (ea.constructor === lively.morphic.Text){\n //console.log(\"Found one: \"+ea.textString);\n this.applyEditingStyle(ea, editable);\n \n }\n if (ea.customEditingStyle) {\n ea.customEditingStyle(editable);\n }\n else if (ea.constructor === lively.morphic.Button){\n //console.log(\"Found a button: \"+ea.labelString);\n ea.setVisible(editable);\n \n } \n }, this);\n }, this);\n}","funcProperties":{"__isSmartRef__":true,"id":760},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"759":{"this":{"__isSmartRef__":true,"id":331}},"760":{"timestamp":{"__isSmartRef__":true,"id":761},"user":"bgnauk","tags":[]},"761":{"isSerializedDate":true,"string":"Tue May 29 2012 17:35:15 GMT-0700 (Pacific Daylight Time)"},"762":{"varMapping":{"__isSmartRef__":true,"id":763},"source":"function applyEditingStyle(textField, editable) {\n if (editable){\n textField.applyStyle({fill: Color.white, allowInput: true});\n }\n else {\n textField.applyStyle({fill: null, allowInput: false});\n }\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"763":{"this":{"__isSmartRef__":true,"id":331}},"764":{"timestamp":{"__isSmartRef__":true,"id":765},"user":"bgnauk","tags":[]},"765":{"isSerializedDate":true,"string":"Tue May 29 2012 17:34:24 GMT-0700 (Pacific Daylight Time)"},"766":{"varMapping":{"__isSmartRef__":true,"id":767},"source":"function clearDocList() {\n if (confirm(\"Really clear the List? Be aware that it's all gone then!\")) {\n this.guides = [];\n this.clearAll();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":768},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"767":{"this":{"__isSmartRef__":true,"id":331}},"768":{"timestamp":{"__isSmartRef__":true,"id":769},"user":"bgnauk","tags":[]},"769":{"isSerializedDate":true,"string":"Wed May 16 2012 10:56:06 GMT-0700 (Pacific Daylight Time)"},"770":{"varMapping":{"__isSmartRef__":true,"id":771},"source":"function crawlDirectory(directory) {\n var urls = new WebResource(directory)\n .getSubElements(10).subDocuments.invoke('getURL')\n .select(function(ea) {\n return ea.filename().match(/.xhtml$/) })\n urls.nestedDelay(function(ea) {\n //var node = this.createNode(ea)\n var n = this.extractGuideFromURL(ea);\n if (!this.guides) this.guides = [];\n\n\n //TESTING!!!\n //console.log(n); \n this.guides.push(n);\n\n\n\n this.sortGuidesByTitle();\n }.bind(this), 0.1)\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":772},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"771":{"this":{"__isSmartRef__":true,"id":331}},"772":{"timestamp":{"__isSmartRef__":true,"id":773},"user":"bgnauk","tags":[]},"773":{"isSerializedDate":true,"string":"Tue May 29 2012 15:26:45 GMT-0700 (Pacific Daylight Time)"},"774":{"varMapping":{"__isSmartRef__":true,"id":775},"source":"function extractGuideFromURL(url) {\n var documentationWorld = this.getDocumentationWorld(url);\n \n var title = this.extractInfo(documentationWorld, ['Text', 'Text11', 'Title', 'DocumentationTitle'], \"No Title\");\n\n var description = this.extractInfo(documentationWorld, ['Text', 'Text14', 'Description', 'DocumentationDescription'], \"No Description\");\n var n = {\n \"title\" : title,\n \"description\" : description,\n \"section\": \"Default Section\",\n \"url\": url.toString()\n };\n\n return n;\n \n}","funcProperties":{"__isSmartRef__":true,"id":776},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"775":{"this":{"__isSmartRef__":true,"id":331}},"776":{"timestamp":{"__isSmartRef__":true,"id":777},"user":"bgnauk","tags":[]},"777":{"isSerializedDate":true,"string":"Tue May 29 2012 15:20:58 GMT-0700 (Pacific Daylight Time)"},"778":{"varMapping":{"__isSmartRef__":true,"id":779},"source":"function getDocumentationWorld(url) {\n var worldRes = new WebResource(url);\n\n var worldDoc = worldRes.get().contentDocument;\n\n var worldText = $('#LivelyJSONWorld', worldDoc).text();\n\n var worldObj = jQuery.parseJSON(worldText);\n\n var ser = lively.persistence.Serializer;\n\n return ser.deserialize(worldObj);\n}","funcProperties":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"779":{"this":{"__isSmartRef__":true,"id":331}},"780":{"timestamp":{"__isSmartRef__":true,"id":781},"user":"bgnauk","tags":[]},"781":{"isSerializedDate":true,"string":"Wed May 16 2012 11:23:03 GMT-0700 (Pacific Daylight Time)"},"782":{"varMapping":{"__isSmartRef__":true,"id":783},"source":"function extractInfo(docWorld, fieldsToTry, defaultValue) {\n\n var title = defaultValue;\n \n console.log('Extracing World Info!');\n\n for (var i= 0; i< fieldsToTry.length; i++){\n \n var titleField = docWorld.get(fieldsToTry[i]);\n\n console.log(fieldsToTry[i]+' is '+titleField);\n if (titleField && titleField.textString.length>0){\n title = titleField.textString;\n }\n }\n return title;\n}","funcProperties":{"__isSmartRef__":true,"id":784},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"783":{"this":{"__isSmartRef__":true,"id":331}},"784":{"timestamp":{"__isSmartRef__":true,"id":785},"user":"bgnauk","tags":[]},"785":{"isSerializedDate":true,"string":"Wed May 16 2012 11:35:21 GMT-0700 (Pacific Daylight Time)"},"786":{"varMapping":{"__isSmartRef__":true,"id":787},"source":"function updateThumbnails() {\n var images = this.get(\"DocList\").withAllSubmorphsSelect(function(ea){\n return (ea.constructor === lively.morphic.Image);\n }).forEach(function(ea){\n var url = new URL(\"http://lively-kernel.org/media/livelylogo-small.png\");\n if (ea.owner.url) {\n url = ea.owner.url;\n }\n console.log(url);\n var screenshotService = 'http://lively-kernel.org/nodejs/PhantomJSServer/screenshot/thumb';\n var path = url.pathname;\n var imageURL = new URL(screenshotService + path);\n ea.setImageURL(imageURL );\n //ea.convertToBase64();\n //ea.thePictureURL = ea.getImageURL();\n //console.log(\"Setting new ImageURL: \"+imageURL);\n });\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":788},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"787":{"this":{"__isSmartRef__":true,"id":331}},"788":{"timestamp":{"__isSmartRef__":true,"id":789},"user":"bgnauk","tags":[]},"789":{"isSerializedDate":true,"string":"Tue May 29 2012 14:58:15 GMT-0700 (Pacific Daylight Time)"},"790":{"varMapping":{"__isSmartRef__":true,"id":791},"source":"function updateList() {\n this.clearAll();\n itemsListCount = this.guides.length;\n itemsListCounter = 0;\n this.guides.forEach(function(ea){\n if (ea.url){\n console.log(\"Checking out guide \"+ (++itemsListCounter) +\" of \"+itemsListCount +\" guides in the list\");\n var url = new URL(ea.url);\n var webR = new WebResource(url).beSync().get();\n console.log(\"Guide is \"+(webR.status.isSuccess())?\"available!\":\"not available :(\");\n if (webR.status.isSuccess()){\n var propfindXML = webR.propfind('infinity').contentDocument;\n console.log(\"Everything is alright so far, the propfind is:\");\n console.log(propfindXML);\n if (propfindXML.documentElement){\n var rawNodes = new Query(\"/D:multistatus/D:response\").findAll(propfindXML.documentElement);\n var svnVersionInfos = rawNodes.map(function(rawNode) { return SVNVersionInfo.fromPropfindNode(rawNode) });\n ea.svnVersionInfo = svnVersionInfos.first();\n ea.changeDate = (new Date()).getTime() - ea.svnVersionInfo.date.getTime();\n }\n\n var screenshotService = 'http://lively-kernel.org/nodejs/PhantomJSServer/screenshot/thumb';\n var path = url.pathname;\n var imageURL = new URL(screenshotService + path);\n\n //var img = new lively.morphic.Image(new Rectangle(0,0,100,100), imageURL, false)\n //img.convertToBase64();\n\n //var imageBase64 = $world.get(\"DocListPane\").convertImageToBase64(imageURL);\n //var imageBase64 = img.getImageURL();\n //console.log(\"Setting new ImageURL: \"+imageBase64 ); \n //ea.picture = imageBase64; \n }\n else {\n ea.svnVersionInfo = null;\n }\n }\n else {\n ea.svnVersionInfo = null;\n }\n \n // lively.bindings.connect(webR, 'contentDocument', ea, 'getSVNInfos');\n //lively.bindings.connect(webR, 'status', ea, 'markAvailability', {updater: function($upd, status){\n //$upd(status.isSuccess()) \n // }});\n //webR.propfind('infinity');\n \n });\n console.log(\"Done updating!\");\n this.sortGuidesByTitle();\n}","funcProperties":{"__isSmartRef__":true,"id":792},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"791":{"this":{"__isSmartRef__":true,"id":331}},"792":{"timestamp":{"__isSmartRef__":true,"id":793},"user":"bgnauk","tags":[]},"793":{"isSerializedDate":true,"string":"Tue May 29 2012 14:57:58 GMT-0700 (Pacific Daylight Time)"},"794":{"varMapping":{"__isSmartRef__":true,"id":795},"source":"function encodeImageOnServer() {\n var cmd = 'curl --silent \"' + urlString + '\" | openssl base64',\n result = new CommandLineServerInterface().beSync().runCommand(cmd).result;\n return result && result.stdout ? result.stdout : '';\n}","funcProperties":{"__isSmartRef__":true,"id":796},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"795":{"this":{"__isSmartRef__":true,"id":331}},"796":{"timestamp":{"__isSmartRef__":true,"id":797},"user":"bgnauk","tags":[]},"797":{"isSerializedDate":true,"string":"Thu May 17 2012 15:48:08 GMT-0700 (Pacific Daylight Time)"},"798":{"varMapping":{"__isSmartRef__":true,"id":799},"source":"function convertImageToBase64(url) {\n module('server.nodejs.WebInterface').load(); \n var urlString = URL.toString();\n if (!urlString.startsWith('http')){\n urlString = URL.source.getDirectory().withFilename(urlString).toString();\n }\n \n var encoded = this.encodeImageOnServer(urlString)\n if (!encoded || encoded == ''){\n lively.morphic.World.current().alert('Cannot convert image with url ' + urlString + ' to base64');\n return false;\n }\n else {\n return 'data:image/gif;base64,' + encoded;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":800},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"799":{"this":{"__isSmartRef__":true,"id":331}},"800":{"timestamp":{"__isSmartRef__":true,"id":801},"user":"bgnauk","tags":[]},"801":{"isSerializedDate":true,"string":"Tue May 29 2012 14:30:05 GMT-0700 (Pacific Daylight Time)"},"802":{"varMapping":{"__isSmartRef__":true,"id":803},"source":"function sortListBy(attr) {\n \n this.guides = this.guides.sortBy(function(s) { \n if (s[attr]) { return s[attr]; }\n else { return false; }\n });\n console.log(this.guides);\n this.makeOverview();\n}","funcProperties":{"__isSmartRef__":true,"id":804},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"803":{"this":{"__isSmartRef__":true,"id":331}},"804":{"timestamp":{"__isSmartRef__":true,"id":805},"user":"bgnauk","tags":[]},"805":{"isSerializedDate":true,"string":"Tue May 29 2012 14:56:11 GMT-0700 (Pacific Daylight Time)"},"806":{"source":{"__isSmartRef__":true,"id":280},"target":{"__isSmartRef__":true,"id":331}},"807":{"updater":{"__isSmartRef__":true,"id":808}},"808":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":806},"source":"function ($upd, val) { \nvar title = this.targetObj.get(\"TitleEdit\").textString;\nvar description= this.targetObj.get(\"DescriptionEdit\").textString;\nvar section= this.targetObj.get(\"SectionEdit\").textString;\nvar url= this.targetObj.get(\"URLEdit\").textString;\n\n$upd(title, description, section, url); \n}","funcProperties":{"__isSmartRef__":true,"id":809},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"809":{},"810":{"x":110.22033044055064,"y":20.04006008010012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"811":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"812":{"morph":{"__isSmartRef__":true,"id":280},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"813":{"x":70.2506312672225,"y":-6.974434868518642,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"814":{"submorphs":[{"__isSmartRef__":true,"id":815}],"scripts":[],"id":"02AEC257-D596-400C-A86B-C9AA9E6717D1","shape":{"__isSmartRef__":true,"id":842},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":849},"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":850},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":863},"eventHandler":{"__isSmartRef__":true,"id":864},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393"],"partTests":{"__isSmartRef__":true,"id":865},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":870},"distanceToDragEvent":{"__isSmartRef__":true,"id":871},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"815":{"submorphs":[],"scripts":[],"id":"FDC14EAD-2B79-4EF2-B30B-AC7E5CDE3ADA","shape":{"__isSmartRef__":true,"id":816},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":822},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":823},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"TitleEdit","partsBinMetaInfo":{"__isSmartRef__":true,"id":824},"textChunks":[{"__isSmartRef__":true,"id":835}],"charsReplaced":"Guide","lastFindLoc":5,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":837},"renderContextTable":{"__isSmartRef__":true,"id":838},"eventHandler":{"__isSmartRef__":true,"id":839},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":840},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":null,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":814},"distanceToDragEvent":{"__isSmartRef__":true,"id":841},"#startLetters":"","isLabel":true,"_HandStyle":"default","_InputAllowed":true,"allowInput":true,"eventsAreIgnored":true,"isInputLine":true,"savedTextString":"Connect","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"816":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":817},"_Extent":{"__isSmartRef__":true,"id":818},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":819},"renderContextTable":{"__isSmartRef__":true,"id":820},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":821},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"817":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"818":{"x":79,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"819":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"820":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"821":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"822":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"823":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"824":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":825},{"__isSmartRef__":true,"id":827},{"__isSmartRef__":true,"id":829},{"__isSmartRef__":true,"id":831},{"__isSmartRef__":true,"id":833}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"825":{"date":{"__isSmartRef__":true,"id":826},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"826":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"827":{"date":{"__isSmartRef__":true,"id":828},"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"},"828":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"829":{"date":{"__isSmartRef__":true,"id":830},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"830":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"831":{"date":{"__isSmartRef__":true,"id":832},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"832":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"833":{"date":{"__isSmartRef__":true,"id":834},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"834":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"835":{"style":{"__isSmartRef__":true,"id":836},"chunkOwner":{"__isSmartRef__":true,"id":815},"storedString":"Connect","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"836":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"837":{"x":79,"y":27,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"838":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"839":{"morph":{"__isSmartRef__":true,"id":815},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"840":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"841":{"x":583.8877194390184,"y":-16.108270540946577,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"842":{"position":{"__isSmartRef__":true,"id":843},"_Extent":{"__isSmartRef__":true,"id":844},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":845},"_Fill":{"__isSmartRef__":true,"id":846},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":847},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":848},"_BorderRadius":5.180000000000001,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"843":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"844":{"x":890,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"845":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"846":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"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","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"848":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"849":{"x":122.66050966008501,"y":13.920119920020056,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"850":{"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":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":851},{"__isSmartRef__":true,"id":853},{"__isSmartRef__":true,"id":855},{"__isSmartRef__":true,"id":857},{"__isSmartRef__":true,"id":859},{"__isSmartRef__":true,"id":861}],"revisionOnLoad":161289,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"851":{"date":{"__isSmartRef__":true,"id":852},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"852":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"853":{"date":{"__isSmartRef__":true,"id":854},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"854":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"855":{"date":{"__isSmartRef__":true,"id":856},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"856":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"857":{"date":{"__isSmartRef__":true,"id":858},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"858":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"859":{"date":{"__isSmartRef__":true,"id":860},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"860":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"861":{"date":{"__isSmartRef__":true,"id":862},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"862":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"863":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"864":{"morph":{"__isSmartRef__":true,"id":814},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"865":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":866}},"866":{"test01IsMorph":{"__isSmartRef__":true,"id":867}},"867":{"varMapping":{"__isSmartRef__":true,"id":868},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":869},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"868":{"this":{"__isSmartRef__":true,"id":865}},"869":{},"870":{"x":890,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"871":{"x":593.923809619334,"y":-15.10426052091151,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"872":{"position":{"__isSmartRef__":true,"id":873},"_Extent":{"__isSmartRef__":true,"id":874},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":687},"_Fill":{"__isSmartRef__":true,"id":875},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":876},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":877},"_BorderRadius":9.99,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"873":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"874":{"x":1075.6864756810799,"y":288.84173884028996,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"875":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"876":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"877":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"878":{"x":50,"y":910,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"879":{"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":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":880},{"__isSmartRef__":true,"id":882},{"__isSmartRef__":true,"id":884},{"__isSmartRef__":true,"id":886},{"__isSmartRef__":true,"id":888},{"__isSmartRef__":true,"id":890}],"revisionOnLoad":161289,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"880":{"date":{"__isSmartRef__":true,"id":881},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"881":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"882":{"date":{"__isSmartRef__":true,"id":883},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"883":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"884":{"date":{"__isSmartRef__":true,"id":885},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"885":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"886":{"date":{"__isSmartRef__":true,"id":887},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"887":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"888":{"date":{"__isSmartRef__":true,"id":889},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"889":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"890":{"date":{"__isSmartRef__":true,"id":891},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"891":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"892":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"893":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"894":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":895}},"895":{"test01IsMorph":{"__isSmartRef__":true,"id":896}},"896":{"varMapping":{"__isSmartRef__":true,"id":897},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":898},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"897":{"this":{"__isSmartRef__":true,"id":894}},"898":{},"899":{"x":1075.6864756810799,"y":288.84173884028996,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"900":{"x":721,"y":-7,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"901":{"submorphs":[{"__isSmartRef__":true,"id":902},{"__isSmartRef__":true,"id":928},{"__isSmartRef__":true,"id":986}],"scripts":[],"id":"61BC0E27-F2AA-439D-B7FE-C94E12A3A0AF","shape":{"__isSmartRef__":true,"id":1043},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1050},"showsHalos":false,"name":"Rectangle5","partsBinMetaInfo":{"__isSmartRef__":true,"id":1051},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1064},"eventHandler":{"__isSmartRef__":true,"id":1065},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","D7ADB61C-83EB-4905-9344-23CDFDA0C126"],"partTests":{"__isSmartRef__":true,"id":1066},"_ClipMode":"visible","moved":true,"priorExtent":{"__isSmartRef__":true,"id":1071},"distanceToDragEvent":{"__isSmartRef__":true,"id":1072},"isBeingDragged":false,"grabbingEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.0040100200350561,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Box"},"902":{"submorphs":[],"scripts":[],"id":"99444547-6375-45C7-8403-4E33947F7737","shape":{"__isSmartRef__":true,"id":903},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":909},"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":906},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":910},"textChunks":[{"__isSmartRef__":true,"id":921}],"charsReplaced":"Section","lastFindLoc":7,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":923},"renderContextTable":{"__isSmartRef__":true,"id":924},"eventHandler":{"__isSmartRef__":true,"id":925},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":926},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F22D5F28-E91F-421E-9F20-7D442188E172","B2C5E3DD-5A06-4F54-92AA-95159AE403C2","A32BFA96-C2AB-4701-8A0F-AC4BEC272D01","BC592226-F004-4E37-ADBF-F5E7C0B138EA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[0,3],"isBeingDragged":false,"moved":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":927},"owner":{"__isSmartRef__":true,"id":901},"_Rotation":0,"_Scale":0.9880657804942092,"priorSelectionRange":[0,3],"__LivelyClassName__":"lively.morphic.Text"},"903":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":904},"_Extent":{"__isSmartRef__":true,"id":905},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":906},"renderContextTable":{"__isSmartRef__":true,"id":907},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":908},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"904":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"905":{"x":128.695652,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"906":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"907":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"908":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"909":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"910":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":911},{"__isSmartRef__":true,"id":913},{"__isSmartRef__":true,"id":915},{"__isSmartRef__":true,"id":917},{"__isSmartRef__":true,"id":919}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"911":{"date":{"__isSmartRef__":true,"id":912},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"912":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"913":{"date":{"__isSmartRef__":true,"id":914},"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"},"914":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"915":{"date":{"__isSmartRef__":true,"id":916},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"916":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"917":{"date":{"__isSmartRef__":true,"id":918},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"918":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"919":{"date":{"__isSmartRef__":true,"id":920},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"920":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"921":{"style":{"__isSmartRef__":true,"id":922},"morph":{"__isSmartRef__":true,"id":902},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":902},"storedString":"Directory URL","__LivelyClassName__":"lively.morphic.TextChunk"},"922":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"923":{"x":128.695652,"y":27,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"924":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"925":{"morph":{"__isSmartRef__":true,"id":902},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"926":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"927":{"x":90.91979959929881,"y":-15.737843686450333,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"928":{"submorphs":[{"__isSmartRef__":true,"id":929}],"scripts":[],"id":"1381FFD9-3204-4828-831C-2CF28D11522F","shape":{"__isSmartRef__":true,"id":956},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":963},"showsHalos":false,"name":"Rectangle4","partsBinMetaInfo":{"__isSmartRef__":true,"id":964},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":977},"eventHandler":{"__isSmartRef__":true,"id":978},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","02AEC257-D596-400C-A86B-C9AA9E6717D1","C8E91121-4A1E-4636-A152-90F00CC09D92","D2FF87FF-26A7-4654-A30E-4BD765BE6E2B","D6C547C0-30B1-43A8-8B8F-4150117E0A01"],"partTests":{"__isSmartRef__":true,"id":979},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":984},"distanceToDragEvent":{"__isSmartRef__":true,"id":985},"owner":{"__isSmartRef__":true,"id":901},"_Rotation":0,"_Scale":0.9880657804942092,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Box"},"929":{"submorphs":[],"scripts":[],"id":"006700BC-C07C-4549-B0B3-4DFD7F8B4791","shape":{"__isSmartRef__":true,"id":930},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":936},"_MaxTextWidth":843.52,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":937},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"DirectoryEdit","partsBinMetaInfo":{"__isSmartRef__":true,"id":938},"textChunks":[{"__isSmartRef__":true,"id":949}],"charsReplaced":"guides.xhtml","lastFindLoc":87,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":951},"renderContextTable":{"__isSmartRef__":true,"id":952},"eventHandler":{"__isSmartRef__":true,"id":953},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":954},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","FDC14EAD-2B79-4EF2-B30B-AC7E5CDE3ADA","C91BE3AE-0E29-4765-A10B-FB279593CEAC","6C5E60CC-A4AB-4517-802D-9B8A52ECE806","DA80228F-2A87-4161-AC84-5E05B7C1B5D7"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":843.52,"_MinTextHeight":null,"previousSelection":[72,63],"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":928},"distanceToDragEvent":{"__isSmartRef__":true,"id":955},"_Rotation":0,"_Scale":1,"priorSelectionRange":[72,63],"__LivelyClassName__":"lively.morphic.Text"},"930":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":931},"_Extent":{"__isSmartRef__":true,"id":932},"_BorderWidth":0.7400000000000001,"_BorderColor":{"__isSmartRef__":true,"id":933},"renderContextTable":{"__isSmartRef__":true,"id":934},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":935},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"931":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"932":{"x":870,"y":28.48,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"933":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"934":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"935":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"936":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"937":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"938":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":939},{"__isSmartRef__":true,"id":941},{"__isSmartRef__":true,"id":943},{"__isSmartRef__":true,"id":945},{"__isSmartRef__":true,"id":947}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"939":{"date":{"__isSmartRef__":true,"id":940},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"940":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"941":{"date":{"__isSmartRef__":true,"id":942},"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"},"942":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"943":{"date":{"__isSmartRef__":true,"id":944},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"944":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"945":{"date":{"__isSmartRef__":true,"id":946},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"946":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"947":{"date":{"__isSmartRef__":true,"id":948},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"948":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"949":{"style":{"__isSmartRef__":true,"id":950},"chunkOwner":{"__isSmartRef__":true,"id":929},"storedString":"http://lively-kernel.org/repository/webwerkstatt/documentation/livedoc/","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"950":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"951":{"x":870,"y":28.48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"952":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"953":{"morph":{"__isSmartRef__":true,"id":929},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"954":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"955":{"x":583.8877194390184,"y":-16.108270540946577,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"956":{"position":{"__isSmartRef__":true,"id":957},"_Extent":{"__isSmartRef__":true,"id":958},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":959},"_Fill":{"__isSmartRef__":true,"id":960},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":961},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":962},"_BorderRadius":5.180000000000001,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"957":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"958":{"x":900.7497451787483,"y":30.362350961081404,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"959":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"960":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"961":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"962":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"963":{"x":160,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"964":{"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":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":971},{"__isSmartRef__":true,"id":973},{"__isSmartRef__":true,"id":975}],"revisionOnLoad":161289,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"965":{"date":{"__isSmartRef__":true,"id":966},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"966":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"967":{"date":{"__isSmartRef__":true,"id":968},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"968":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"969":{"date":{"__isSmartRef__":true,"id":970},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"970":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"971":{"date":{"__isSmartRef__":true,"id":972},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"972":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"973":{"date":{"__isSmartRef__":true,"id":974},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"974":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"975":{"date":{"__isSmartRef__":true,"id":976},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"976":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"977":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"978":{"morph":{"__isSmartRef__":true,"id":928},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"979":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":980}},"980":{"test01IsMorph":{"__isSmartRef__":true,"id":981}},"981":{"varMapping":{"__isSmartRef__":true,"id":982},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":983},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"982":{"this":{"__isSmartRef__":true,"id":979}},"983":{},"984":{"x":900.7497451787483,"y":40.4831346147752,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"985":{"x":598.358396794391,"y":-12.737843686450333,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"986":{"submorphs":[{"__isSmartRef__":true,"id":987}],"scripts":[],"id":"31DAD997-6545-4D6F-802B-B5949FBBD97C","shape":{"__isSmartRef__":true,"id":1001},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1017},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1005},"lighterFill":{"__isSmartRef__":true,"id":1018},"label":{"__isSmartRef__":true,"id":987},"name":"Button100","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1027},"attributeConnections":[{"__isSmartRef__":true,"id":1034}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":1039},"renderContextTable":{"__isSmartRef__":true,"id":1040},"eventHandler":{"__isSmartRef__":true,"id":1041},"distanceToDragEvent":{"__isSmartRef__":true,"id":1042},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","11B61897-0391-497F-87E2-AE7EFB723624"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":901},"_Rotation":0,"_Scale":0.9980010000000001,"__LivelyClassName__":"lively.morphic.Button"},"987":{"submorphs":[],"scripts":[],"id":"45D760E7-73AF-4488-8EC0-D5110B4353AE","shape":{"__isSmartRef__":true,"id":988},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":993},"_MaxTextWidth":110.22033044055064,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":994},"_Padding":{"__isSmartRef__":true,"id":995},"owner":{"__isSmartRef__":true,"id":986},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":996},"textChunks":[{"__isSmartRef__":true,"id":997}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":999},"eventHandler":{"__isSmartRef__":true,"id":1000},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","40FEFB64-BAE9-417D-B095-038EC2B9EDDD"],"_MinTextWidth":110.22033044055064,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":437},"__LivelyClassName__":"lively.morphic.Text"},"988":{"position":{"__isSmartRef__":true,"id":989},"_Extent":{"__isSmartRef__":true,"id":990},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":991},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":992},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":428},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"989":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"990":{"x":110.22033044055064,"y":30.060090120150175,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"991":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"992":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"993":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"994":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"995":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"996":{"x":110.22033044055064,"y":30.060090120150175,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"997":{"style":{"__isSmartRef__":true,"id":998},"chunkOwner":{"__isSmartRef__":true,"id":987},"storedString":"Crawl Directory","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"998":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"999":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1000":{"morph":{"__isSmartRef__":true,"id":987},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1001":{"position":{"__isSmartRef__":true,"id":1002},"_Extent":{"__isSmartRef__":true,"id":1003},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1004},"_Fill":{"__isSmartRef__":true,"id":1005},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1015},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1016},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1002":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1003":{"x":110.22033044055064,"y":30.060090120150175,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1004":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1005":{"stops":[{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1008},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1012}],"vector":{"__isSmartRef__":true,"id":1014},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1006":{"offset":0,"color":{"__isSmartRef__":true,"id":1007}},"1007":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1008":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1009}},"1009":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1010":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1011}},"1011":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1012":{"offset":1,"color":{"__isSmartRef__":true,"id":1013}},"1013":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1014":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1015":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"1016":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1017":{"x":940,"y":70,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1018":{"stops":[{"__isSmartRef__":true,"id":1019},{"__isSmartRef__":true,"id":1021},{"__isSmartRef__":true,"id":1023},{"__isSmartRef__":true,"id":1025}],"vector":{"__isSmartRef__":true,"id":1014},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1019":{"offset":0,"color":{"__isSmartRef__":true,"id":1020}},"1020":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1021":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1022}},"1022":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1023":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1024}},"1024":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1025":{"offset":1,"color":{"__isSmartRef__":true,"id":1026}},"1026":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1027":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":1028},{"__isSmartRef__":true,"id":1030},{"__isSmartRef__":true,"id":1032}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1028":{"date":{"__isSmartRef__":true,"id":1029},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"1029":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:04:01 GMT-0700 (Pacific Daylight Time)"},"1030":{"date":{"__isSmartRef__":true,"id":1031},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"1031":{"isSerializedDate":true,"string":"Mon Apr 16 2012 01:36:21 GMT-0700 (Pacific Daylight Time)"},"1032":{"date":{"__isSmartRef__":true,"id":1033},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"1033":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:08:58 GMT-0700 (Pacific Daylight Time)"},"1034":{"sourceObj":{"__isSmartRef__":true,"id":986},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":331},"targetMethodName":"crawlDirectory","converter":null,"converterString":null,"updaterString":"function ($upd, val) { \nvar dir = this.targetObj.get(\"DirectoryEdit\").textString;\nconsole.log(dir);\n$upd(dir); \n}","varMapping":{"__isSmartRef__":true,"id":1035},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1036},"__LivelyClassName__":"AttributeConnection"},"1035":{"source":{"__isSmartRef__":true,"id":986},"target":{"__isSmartRef__":true,"id":331}},"1036":{"updater":{"__isSmartRef__":true,"id":1037}},"1037":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1035},"source":"function ($upd, val) { \nvar dir = this.targetObj.get(\"DirectoryEdit\").textString;\nconsole.log(dir);\n$upd(dir); \n}","funcProperties":{"__isSmartRef__":true,"id":1038},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1038":{},"1039":{"x":110.22033044055064,"y":20.04006008010012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1040":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1041":{"morph":{"__isSmartRef__":true,"id":986},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1042":{"x":75.23058116704715,"y":-12.930324648133023,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1043":{"position":{"__isSmartRef__":true,"id":1044},"_Extent":{"__isSmartRef__":true,"id":1045},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1046},"_Fill":{"__isSmartRef__":true,"id":1047},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1048},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1049},"_BorderRadius":9.99,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1044":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1045":{"x":1065.72641572107,"y":119.52071952012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1046":{"r":0.572,"g":0.572,"b":0.572,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1047":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1048":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"1049":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1050":{"x":50,"y":750,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1051":{"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":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":1052},{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1056},{"__isSmartRef__":true,"id":1058},{"__isSmartRef__":true,"id":1060},{"__isSmartRef__":true,"id":1062}],"revisionOnLoad":161289,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1052":{"date":{"__isSmartRef__":true,"id":1053},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1053":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"1054":{"date":{"__isSmartRef__":true,"id":1055},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1055":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"1056":{"date":{"__isSmartRef__":true,"id":1057},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1057":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"1058":{"date":{"__isSmartRef__":true,"id":1059},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1059":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"1060":{"date":{"__isSmartRef__":true,"id":1061},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"1061":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"1062":{"date":{"__isSmartRef__":true,"id":1063},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"1063":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"1064":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1065":{"morph":{"__isSmartRef__":true,"id":901},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1066":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1067}},"1067":{"test01IsMorph":{"__isSmartRef__":true,"id":1068}},"1068":{"varMapping":{"__isSmartRef__":true,"id":1069},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1070},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1069":{"this":{"__isSmartRef__":true,"id":1066}},"1070":{},"1071":{"x":1065.72641572107,"y":119.52071952012,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1072":{"x":718,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1073":{"submorphs":[],"scripts":[],"id":"3C96AC05-5B0C-4F19-8C72-7CF5307B49FC","shape":{"__isSmartRef__":true,"id":1074},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1080},"_MaxTextWidth":629.44383744064,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1077},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":1081},"textChunks":[{"__isSmartRef__":true,"id":1092}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1095},"renderContextTable":{"__isSmartRef__":true,"id":1096},"eventHandler":{"__isSmartRef__":true,"id":1097},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1098},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":629.44383744064,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.0040100200350561,"distanceToDragEvent":{"__isSmartRef__":true,"id":1099},"priorSelectionRange":[15,15],"__LivelyClassName__":"lively.morphic.Text"},"1074":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1075},"_Extent":{"__isSmartRef__":true,"id":1076},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1077},"renderContextTable":{"__isSmartRef__":true,"id":1078},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1079},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1075":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1076":{"x":637.44383744064,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1077":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1078":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"1079":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1080":{"x":50,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1081":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1082},{"__isSmartRef__":true,"id":1084},{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1088},{"__isSmartRef__":true,"id":1090}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1082":{"date":{"__isSmartRef__":true,"id":1083},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1083":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:30:30 GMT-0700 (Pacific Daylight Time)"},"1084":{"date":{"__isSmartRef__":true,"id":1085},"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"},"1085":{"isSerializedDate":true,"string":"Sun Feb 26 2012 21:20:38 GMT-0800 (Pacific Standard Time)"},"1086":{"date":{"__isSmartRef__":true,"id":1087},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1087":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:31:43 GMT-0700 (Pacific Daylight Time)"},"1088":{"date":{"__isSmartRef__":true,"id":1089},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1089":{"isSerializedDate":true,"string":"Fri Apr 20 2012 22:32:09 GMT-0700 (Pacific Daylight Time)"},"1090":{"date":{"__isSmartRef__":true,"id":1091},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1091":{"isSerializedDate":true,"string":"Tue May 08 2012 05:18:18 GMT-0700 (Pacific Daylight Time)"},"1092":{"style":{"__isSmartRef__":true,"id":1093},"morph":{"__isSmartRef__":true,"id":1073},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1073},"storedString":"Guides Overview","__LivelyClassName__":"lively.morphic.TextChunk"},"1093":{"__SourceModuleName__":"Global.lively.morphic.TextCore","color":{"__isSmartRef__":true,"id":1094},"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1094":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1095":{"x":637.44383744064,"y":27,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1096":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1097":{"morph":{"__isSmartRef__":true,"id":1073},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1098":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1099":{"x":84,"y":-10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1100":{"submorphs":[{"__isSmartRef__":true,"id":1101},{"__isSmartRef__":true,"id":2868},{"__isSmartRef__":true,"id":2908}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3059},"id":"35453EE4-F7BC-4E13-860F-C0E0A397DC21","renderContextTable":{"__isSmartRef__":true,"id":3064},"eventHandler":{"__isSmartRef__":true,"id":3065},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":3066},"LK2":true,"priorExtent":{"__isSmartRef__":true,"id":3067},"targetMorph":{"__isSmartRef__":true,"id":1101},"titleBar":{"__isSmartRef__":true,"id":2908},"contentOffset":{"__isSmartRef__":true,"id":3068},"collapsedTransform":{"__isSmartRef__":true,"id":3069},"collapsedExtent":{"__isSmartRef__":true,"id":3070},"expandedTransform":{"__isSmartRef__":true,"id":3071},"expandedExtent":{"__isSmartRef__":true,"id":3072},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3073},"name":"ObjectEditor","prevDragPos":{"__isSmartRef__":true,"id":3186},"highlighted":false,"cameForward":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","expandedPosition":{"__isSmartRef__":true,"id":3187},"collapsedPosition":{"__isSmartRef__":true,"id":3188},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"prevScroll":[0,0],"minSize":{"__isSmartRef__":true,"id":3189},"minExtent":{"__isSmartRef__":true,"id":3190},"isCopyMorphRef":true,"morphRefId":16,"derivationIds":[205,"2951753B-EB95-4093-A0DD-249E83AC2204","A32DE788-E06D-492C-B2E6-19C3710B5AE0","96D56291-98FB-42C4-A247-0A20B4183B14","1E6BCC46-3FE3-4950-AE50-9751458F7E18","22248328-5B04-4E39-ADDE-460C107C790F","2F4F6161-9F4C-469E-AF56-24765FF03B72","88EF08D5-C1E7-4B5B-B393-FFF5921009D7","FF731ED6-5217-4053-9B85-77F1BF344BF3","496332F8-A328-4625-A7D5-0DCE90C3D2AE","E57F1D4E-AE08-4CAA-A62D-4E69FC0BFF47","94783CDE-55B0-4198-8477-C0756F2C812F","F03206B8-2964-470C-A335-FF321C7743E5","C60ABA94-4D2A-4524-9239-9B7EA074A0B5","D3FBB0FA-2BFF-4D8C-9632-41EEEDB053AE","FDF9A68D-1149-4666-9946-600CCA238B76"],"_Position":{"__isSmartRef__":true,"id":3191},"moved":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1.0100552207170073,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3192},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1101":{"submorphs":[{"__isSmartRef__":true,"id":1102},{"__isSmartRef__":true,"id":1956},{"__isSmartRef__":true,"id":1738},{"__isSmartRef__":true,"id":1971},{"__isSmartRef__":true,"id":1987},{"__isSmartRef__":true,"id":2038},{"__isSmartRef__":true,"id":2088},{"__isSmartRef__":true,"id":2144},{"__isSmartRef__":true,"id":1597},{"__isSmartRef__":true,"id":1614},{"__isSmartRef__":true,"id":2199},{"__isSmartRef__":true,"id":2318},{"__isSmartRef__":true,"id":2333},{"__isSmartRef__":true,"id":2348},{"__isSmartRef__":true,"id":2432},{"__isSmartRef__":true,"id":2516},{"__isSmartRef__":true,"id":2600},{"__isSmartRef__":true,"id":2648}],"scripts":[{"__isSmartRef__":true,"id":2745}],"id":"013428AD-3947-4B11-859C-602F67940D2B","shape":{"__isSmartRef__":true,"id":2746},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ObjectEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":2753},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2756},"eventHandler":{"__isSmartRef__":true,"id":2757},"priorExtent":{"__isSmartRef__":true,"id":2758},"layout":{"__isSmartRef__":true,"id":2759},"target":{"__isSmartRef__":true,"id":331},"scriptPane":{"__isSmartRef__":true,"id":1597},"scriptList":{"__isSmartRef__":true,"id":1102},"connectionList":{"__isSmartRef__":true,"id":1738},"morphSelector":{"__isSmartRef__":true,"id":2199},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"changeIndicator":{"__isSmartRef__":true,"id":1614},"isBeingDragged":false,"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"currentCategory":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":2760},"tagChooser":{"__isSmartRef__":true,"id":2348},"currentTag":null,"derivationIds":[206,"3BDE080D-3D60-4BB9-A690-E6001350F596","00E28CBF-E803-4BC0-93CC-651AC21008A5","1B7E7936-0145-47E4-8433-DFE58134E74B","422B98E3-E52B-4057-9C28-865873682DE1","BCDE8D30-ECC2-4883-9587-2518B6822233","BA6D5198-5AC2-4A63-9597-D4CF98A99CA9","17E22972-5EBC-4511-9779-05E9E665D899","C6F34039-F423-4223-8D6A-85611A138372","7EC3BECE-1BDA-471D-B14C-C4FB822AA55C","88F702A6-6067-4160-8561-54FAD27ADB17","738F5E09-C109-4CD0-B5F5-418A6227ABA0","0DC59884-6397-4391-A9A7-FB6F9F97E5AD","14C76016-3134-4E27-8E8F-AF9EE6ACCF4E","FEB1641E-DEA0-449B-B5E5-D3946457A986","5A09E61D-0939-46DD-B099-6337F45EAD81"],"_Position":{"__isSmartRef__":true,"id":2761},"owner":{"__isSmartRef__":true,"id":1100},"partTests":{"__isSmartRef__":true,"id":2762},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2763},"__LivelyClassName__":"lively.morphic.Box"},"1102":{"submorphs":[],"scripts":[],"id":"3DB95A97-606C-4665-9FFC-63D926090A1A","shape":{"__isSmartRef__":true,"id":1103},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1110},"itemList":["-- ALL --","applyEditingStyle","clearAll","clearDocList","convertImageToBase64","crawlDirectory","createNewItem","createNodeFromItem","encodeImageOnServer","extractGuideFromURL","extractInfo","getDocumentationWorld","getNodes","layoutNodes","loadImageForNode","makeOverview","newItem","reset","setEditingMode","showItems","sortGuidesByTitle","sortListBy","updateList","updateThumbnails"],"selectedLineNo":7,"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":1111},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1101},"priorExtent":{"__isSmartRef__":true,"id":1112},"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1113}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"layout":{"__isSmartRef__":true,"id":1118},"doitContext":{"__isSmartRef__":true,"id":1119},"renderContextTable":{"__isSmartRef__":true,"id":1945},"eventHandler":{"__isSmartRef__":true,"id":1946},"_FontSize":10,"distanceToDragEvent":{"__isSmartRef__":true,"id":1947},"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":17,"currentCategory":null,"derivationIds":[207,"D87334B5-DFB8-438D-8038-D2C55A798E3B","4242A24B-D284-4130-BB19-C1AB8C7E96CB","1F2230C1-4745-4EED-8827-5D3FC0EA8D8A","1260A8AA-AD41-451A-A761-BE75A33282E8","11AABB24-1595-4EDC-95DF-8BC66785F47A","CA99FFE7-13DD-4721-8DE2-6A587B0C65D9","E01A3DAA-0001-4C7C-A6A7-449C3945A3E6","8C3C70BF-E1CE-4FB9-8407-24EA990D4E49","D70897C1-82FA-42AD-9D81-A0698E9072CC","69BB0838-2830-4831-A681-185E03308396","434D4493-4DD6-466F-A202-7364A5829C52","93D99F39-CC07-45EB-9459-5230A80A20D2","4756DE7D-3422-46FC-B24B-5565F597D490","7AF59BEC-20A9-4451-AD6E-39E86979D18D","07109F49-B19B-4C20-8632-697478AA1FFB"],"selection":"createNodeFromItem","_Rotation":0,"_Scale":1,"changeTriggered":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1948},"__LivelyClassName__":"lively.morphic.List"},"1103":{"position":{"__isSmartRef__":true,"id":1104},"_Extent":{"__isSmartRef__":true,"id":1105},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1106},"_Fill":{"__isSmartRef__":true,"id":1107},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1108},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":1109},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1104":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1105":{"x":180,"y":337.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1106":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1107":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1108":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"1109":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1110":{"x":10,"y":63.027958027992966,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1111":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1112":{"x":180,"y":338.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1113":{"sourceObj":{"__isSmartRef__":true,"id":1102},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1101},"targetMethodName":"displaySourceForScript","converterString":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1114},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1115},"__LivelyClassName__":"AttributeConnection"},"1114":{"source":{"__isSmartRef__":true,"id":1102},"target":{"__isSmartRef__":true,"id":1101}},"1115":{"converter":{"__isSmartRef__":true,"id":1116}},"1116":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1114},"source":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","funcProperties":{"__isSmartRef__":true,"id":1117},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1117":{},"1118":{"resizeHeight":true},"1119":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":1120},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1125},"priorExtent":{"__isSmartRef__":true,"id":1126},"titleBar":{"__isSmartRef__":true,"id":1127},"contentOffset":{"__isSmartRef__":true,"id":1268},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":{"__isSmartRef__":true,"id":1269},"expandedExtent":{"__isSmartRef__":true,"id":1270},"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1271},"showsHalos":false,"name":"ObjectEditor","__SourceModuleName__":"Global.lively.morphic.Widgets","target":{"__isSmartRef__":true,"id":1272},"expandedPosition":{"__isSmartRef__":true,"id":1595},"partsBinMetaInfo":{"__isSmartRef__":true,"id":1596},"scriptList":{"__isSmartRef__":true,"id":1102},"scriptPane":{"__isSmartRef__":true,"id":1597},"classButton":{"__isSmartRef__":true,"id":1693},"connectionList":{"__isSmartRef__":true,"id":1738},"targetButton":{"__isSmartRef__":true,"id":1763},"renderContextTable":{"__isSmartRef__":true,"id":1806},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":1807},"morphSelector":{"__isSmartRef__":true,"id":1808},"eventHandler":{"__isSmartRef__":true,"id":1892},"cameForward":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1893},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1120":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":1121},"_StrokeOpacity":0,"_BorderRadius":9.25,"_Extent":{"__isSmartRef__":true,"id":1122},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":{"__isSmartRef__":true,"id":1123},"renderContextTable":{"__isSmartRef__":true,"id":1124},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1121":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1122":{"x":981,"y":585.2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1123":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1124":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1125":{"adjustForNewBounds":true},"1126":{"x":981,"y":585.2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1127":{"submorphs":[{"__isSmartRef__":true,"id":1128},{"__isSmartRef__":true,"id":1141},{"__isSmartRef__":true,"id":1185},{"__isSmartRef__":true,"id":1217}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":1250},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1263},"_Position":{"__isSmartRef__":true,"id":1264},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":1119},"label":{"__isSmartRef__":true,"id":1128},"closeButton":{"__isSmartRef__":true,"id":1141},"menuButton":{"__isSmartRef__":true,"id":1185},"collapseButton":{"__isSmartRef__":true,"id":1217},"priorExtent":{"__isSmartRef__":true,"id":1265},"owner":null,"__SourceModuleName__":"Global.lively.morphic.Widgets","name":"ObjectEditorTitleBar","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1266},"eventHandler":{"__isSmartRef__":true,"id":1267},"__LivelyClassName__":"lively.morphic.TitleBar"},"1128":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":1129},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1134},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1135},"priorExtent":{"__isSmartRef__":true,"id":1136},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1137}],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"_Align":"center","owner":{"__isSmartRef__":true,"id":1127},"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1139},"eventHandler":{"__isSmartRef__":true,"id":1140},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"1129":{"_Position":{"__isSmartRef__":true,"id":1130},"_Extent":{"__isSmartRef__":true,"id":1131},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1132},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1133},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1130":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1131":{"x":921.9776803724167,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1132":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1133":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1134":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1135":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1136":{"x":921.9776803724167,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1137":{"style":{"__isSmartRef__":true,"id":1138},"chunkOwner":{"__isSmartRef__":true,"id":1128},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1138":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1139":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1140":{"morph":{"__isSmartRef__":true,"id":1128},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1141":{"submorphs":[{"__isSmartRef__":true,"id":1142}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":1154},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1169},"priorExtent":{"__isSmartRef__":true,"id":1170},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1158},"lighterFill":{"__isSmartRef__":true,"id":1171},"label":{"__isSmartRef__":true,"id":1142},"owner":{"__isSmartRef__":true,"id":1127},"layout":{"__isSmartRef__":true,"id":1180},"attributeConnections":[{"__isSmartRef__":true,"id":1181},{"__isSmartRef__":true,"id":1182}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1183},"eventHandler":{"__isSmartRef__":true,"id":1184},"__LivelyClassName__":"lively.morphic.WindowControl"},"1142":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":1143},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1147},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1148},"priorExtent":{"__isSmartRef__":true,"id":1149},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1150}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1141},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1152},"eventHandler":{"__isSmartRef__":true,"id":1153},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"1143":{"_Position":{"__isSmartRef__":true,"id":1144},"_Extent":{"__isSmartRef__":true,"id":1145},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1132},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1146},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1144":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1145":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1146":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1147":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1148":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1149":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1150":{"style":{"__isSmartRef__":true,"id":1151},"chunkOwner":{"__isSmartRef__":true,"id":1142},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1151":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1152":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1153":{"morph":{"__isSmartRef__":true,"id":1142},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1154":{"_Position":{"__isSmartRef__":true,"id":1155},"_Extent":{"__isSmartRef__":true,"id":1156},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1157},"_Fill":{"__isSmartRef__":true,"id":1158},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1168},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1155":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1156":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1157":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1158":{"stops":[{"__isSmartRef__":true,"id":1159},{"__isSmartRef__":true,"id":1161},{"__isSmartRef__":true,"id":1163},{"__isSmartRef__":true,"id":1165}],"vector":{"__isSmartRef__":true,"id":1167},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1159":{"offset":0,"color":{"__isSmartRef__":true,"id":1160}},"1160":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1161":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1162}},"1162":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1163":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1164}},"1164":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1165":{"offset":1,"color":{"__isSmartRef__":true,"id":1166}},"1166":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1167":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1168":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1169":{"x":960.9776803724167,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1170":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1171":{"stops":[{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1174},{"__isSmartRef__":true,"id":1176},{"__isSmartRef__":true,"id":1178}],"vector":{"__isSmartRef__":true,"id":1167},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1172":{"offset":0,"color":{"__isSmartRef__":true,"id":1173}},"1173":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1174":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1175}},"1175":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1176":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1177}},"1177":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1178":{"offset":1,"color":{"__isSmartRef__":true,"id":1179}},"1179":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1180":{"moveHorizontal":true},"1181":{"sourceObj":{"__isSmartRef__":true,"id":1141},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1119},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1182":{"sourceObj":{"__isSmartRef__":true,"id":1141},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1119},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1183":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1184":{"morph":{"__isSmartRef__":true,"id":1141},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1185":{"submorphs":[{"__isSmartRef__":true,"id":1186}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":1198},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1202},"priorExtent":{"__isSmartRef__":true,"id":1203},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1158},"lighterFill":{"__isSmartRef__":true,"id":1204},"label":{"__isSmartRef__":true,"id":1186},"owner":{"__isSmartRef__":true,"id":1127},"attributeConnections":[{"__isSmartRef__":true,"id":1213},{"__isSmartRef__":true,"id":1214}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1215},"eventHandler":{"__isSmartRef__":true,"id":1216},"__LivelyClassName__":"lively.morphic.WindowControl"},"1186":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":1187},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1191},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1192},"priorExtent":{"__isSmartRef__":true,"id":1193},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1194}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1185},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1196},"eventHandler":{"__isSmartRef__":true,"id":1197},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"1187":{"_Position":{"__isSmartRef__":true,"id":1188},"_Extent":{"__isSmartRef__":true,"id":1189},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1132},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1190},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1188":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1189":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1190":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1191":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1192":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1193":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1194":{"style":{"__isSmartRef__":true,"id":1195},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1195":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1196":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1197":{"morph":{"__isSmartRef__":true,"id":1186},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1198":{"_Position":{"__isSmartRef__":true,"id":1199},"_Extent":{"__isSmartRef__":true,"id":1200},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1157},"_Fill":{"__isSmartRef__":true,"id":1158},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1201},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1199":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1200":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1201":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1202":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1203":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1204":{"stops":[{"__isSmartRef__":true,"id":1205},{"__isSmartRef__":true,"id":1207},{"__isSmartRef__":true,"id":1209},{"__isSmartRef__":true,"id":1211}],"vector":{"__isSmartRef__":true,"id":1167},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1205":{"offset":0,"color":{"__isSmartRef__":true,"id":1206}},"1206":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1207":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1208}},"1208":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1209":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1210}},"1210":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1211":{"offset":1,"color":{"__isSmartRef__":true,"id":1212}},"1212":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1213":{"sourceObj":{"__isSmartRef__":true,"id":1185},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1119},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1214":{"sourceObj":{"__isSmartRef__":true,"id":1185},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1119},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1215":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1216":{"morph":{"__isSmartRef__":true,"id":1185},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1217":{"submorphs":[{"__isSmartRef__":true,"id":1218}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":1230},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1234},"priorExtent":{"__isSmartRef__":true,"id":1235},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1158},"lighterFill":{"__isSmartRef__":true,"id":1236},"label":{"__isSmartRef__":true,"id":1218},"owner":{"__isSmartRef__":true,"id":1127},"layout":{"__isSmartRef__":true,"id":1245},"attributeConnections":[{"__isSmartRef__":true,"id":1246},{"__isSmartRef__":true,"id":1247}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1248},"eventHandler":{"__isSmartRef__":true,"id":1249},"__LivelyClassName__":"lively.morphic.WindowControl"},"1218":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":1219},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1223},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1224},"priorExtent":{"__isSmartRef__":true,"id":1225},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1226}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1217},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1228},"eventHandler":{"__isSmartRef__":true,"id":1229},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"1219":{"_Position":{"__isSmartRef__":true,"id":1220},"_Extent":{"__isSmartRef__":true,"id":1221},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1132},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1222},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1220":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1221":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1222":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1223":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1224":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1225":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1226":{"style":{"__isSmartRef__":true,"id":1227},"chunkOwner":{"__isSmartRef__":true,"id":1218},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1227":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1228":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1229":{"morph":{"__isSmartRef__":true,"id":1218},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1230":{"_Position":{"__isSmartRef__":true,"id":1231},"_Extent":{"__isSmartRef__":true,"id":1232},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1157},"_Fill":{"__isSmartRef__":true,"id":1158},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1233},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1231":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1232":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1233":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1234":{"x":941.9776803724167,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1235":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1236":{"stops":[{"__isSmartRef__":true,"id":1237},{"__isSmartRef__":true,"id":1239},{"__isSmartRef__":true,"id":1241},{"__isSmartRef__":true,"id":1243}],"vector":{"__isSmartRef__":true,"id":1167},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1237":{"offset":0,"color":{"__isSmartRef__":true,"id":1238}},"1238":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1239":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1240}},"1240":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1241":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1242}},"1242":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1243":{"offset":1,"color":{"__isSmartRef__":true,"id":1244}},"1244":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1245":{"moveHorizontal":true},"1246":{"sourceObj":{"__isSmartRef__":true,"id":1217},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1119},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1247":{"sourceObj":{"__isSmartRef__":true,"id":1217},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1119},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1248":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1249":{"morph":{"__isSmartRef__":true,"id":1217},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1250":{"_Position":{"__isSmartRef__":true,"id":1251},"_Extent":{"__isSmartRef__":true,"id":1252},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1253},"_Fill":{"__isSmartRef__":true,"id":1254},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1262},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1251":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1252":{"x":980.9776803724167,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1253":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1254":{"stops":[{"__isSmartRef__":true,"id":1255},{"__isSmartRef__":true,"id":1257},{"__isSmartRef__":true,"id":1259}],"vector":{"__isSmartRef__":true,"id":1261},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1255":{"offset":0,"color":{"__isSmartRef__":true,"id":1256}},"1256":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1257":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1258}},"1258":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1259":{"offset":1,"color":{"__isSmartRef__":true,"id":1260}},"1260":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1261":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1262":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1263":{"resizeWidth":true,"adjustForNewBounds":true},"1264":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1265":{"x":980.9776803724167,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1266":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1267":{"morph":{"__isSmartRef__":true,"id":1127},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1268":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1269":{"a":1,"b":0,"c":0,"d":1,"e":377.6609726943286,"f":419.5142810783999,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"1270":{"x":861.5223196275833,"y":575.166499196892,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1271":{"x":613,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1272":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1273},"id":394,"renderContextTable":{"__isSmartRef__":true,"id":1279},"textChunks":[{"__isSmartRef__":true,"id":1280}],"eventHandler":{"__isSmartRef__":true,"id":1282},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1283},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1284},"priorExtent":{"__isSmartRef__":true,"id":1285},"_MaxTextWidth":500,"_MaxTextHeight":200,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1286},"layout":{"__isSmartRef__":true,"id":1433},"doitContext":{"__isSmartRef__":true,"id":1434},"priorSelectionRange":[0,36],"charsReplaced":"","lastFindLoc":20,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1273":{"_Position":{"__isSmartRef__":true,"id":1274},"renderContextTable":{"__isSmartRef__":true,"id":1275},"_Extent":{"__isSmartRef__":true,"id":1276},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":{"__isSmartRef__":true,"id":1278},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1274":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1275":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1276":{"x":500,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1277":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1278":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1279":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1280":{"style":{"__isSmartRef__":true,"id":1281},"chunkOwner":{"__isSmartRef__":true,"id":1272},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1281":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1282":{"morph":{"__isSmartRef__":true,"id":1272},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1283":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1284":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1285":{"x":500,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1286":{"submorphs":[{"__isSmartRef__":true,"id":1272},{"__isSmartRef__":true,"id":1287}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1424},"id":395,"renderContextTable":{"__isSmartRef__":true,"id":1427},"eventHandler":{"__isSmartRef__":true,"id":1428},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1429},"LK2":true,"_Position":{"__isSmartRef__":true,"id":1430},"priorExtent":{"__isSmartRef__":true,"id":1431},"targetMorph":{"__isSmartRef__":true,"id":1272},"titleBar":{"__isSmartRef__":true,"id":1287},"contentOffset":{"__isSmartRef__":true,"id":1284},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1432},"cameForward":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1287":{"submorphs":[{"__isSmartRef__":true,"id":1288},{"__isSmartRef__":true,"id":1301},{"__isSmartRef__":true,"id":1347},{"__isSmartRef__":true,"id":1380}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1414},"id":396,"renderContextTable":{"__isSmartRef__":true,"id":1419},"eventHandler":{"__isSmartRef__":true,"id":1420},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1421},"_Position":{"__isSmartRef__":true,"id":1422},"windowMorph":{"__isSmartRef__":true,"id":1286},"label":{"__isSmartRef__":true,"id":1288},"closeButton":{"__isSmartRef__":true,"id":1301},"menuButton":{"__isSmartRef__":true,"id":1347},"collapseButton":{"__isSmartRef__":true,"id":1380},"priorExtent":{"__isSmartRef__":true,"id":1423},"owner":{"__isSmartRef__":true,"id":1286},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1288":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1289},"id":397,"renderContextTable":{"__isSmartRef__":true,"id":1293},"textChunks":[{"__isSmartRef__":true,"id":1294}],"eventHandler":{"__isSmartRef__":true,"id":1296},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1297},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1298},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":1287},"priorExtent":{"__isSmartRef__":true,"id":1299},"_MaxTextWidth":441,"_MaxTextHeight":17,"_Position":{"__isSmartRef__":true,"id":1300},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1289":{"_Position":{"__isSmartRef__":true,"id":1290},"renderContextTable":{"__isSmartRef__":true,"id":1291},"_Extent":{"__isSmartRef__":true,"id":1292},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1290":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1291":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1292":{"x":441,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1293":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1294":{"style":{"__isSmartRef__":true,"id":1295},"chunkOwner":{"__isSmartRef__":true,"id":1288},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1295":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1296":{"morph":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1297":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1298":{"resizeWidth":true},"1299":{"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1300":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1301":{"submorphs":[{"__isSmartRef__":true,"id":1302}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1314},"id":398,"renderContextTable":{"__isSmartRef__":true,"id":1329},"eventHandler":{"__isSmartRef__":true,"id":1330},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1331},"priorExtent":{"__isSmartRef__":true,"id":1332},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1319},"lighterFill":{"__isSmartRef__":true,"id":1333},"label":{"__isSmartRef__":true,"id":1302},"owner":{"__isSmartRef__":true,"id":1287},"layout":{"__isSmartRef__":true,"id":1342},"attributeConnections":[{"__isSmartRef__":true,"id":1343},{"__isSmartRef__":true,"id":1345}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1302":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1303},"id":399,"renderContextTable":{"__isSmartRef__":true,"id":1307},"textChunks":[{"__isSmartRef__":true,"id":1308}],"eventHandler":{"__isSmartRef__":true,"id":1310},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1311},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1312},"priorExtent":{"__isSmartRef__":true,"id":1313},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1301},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1303":{"_Position":{"__isSmartRef__":true,"id":1304},"renderContextTable":{"__isSmartRef__":true,"id":1305},"_Extent":{"__isSmartRef__":true,"id":1306},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1304":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1305":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1306":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1307":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1308":{"style":{"__isSmartRef__":true,"id":1309},"chunkOwner":{"__isSmartRef__":true,"id":1302},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1309":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1310":{"morph":{"__isSmartRef__":true,"id":1302},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1311":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1312":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1313":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1314":{"_Position":{"__isSmartRef__":true,"id":1315},"renderContextTable":{"__isSmartRef__":true,"id":1316},"_Extent":{"__isSmartRef__":true,"id":1317},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1318},"_Fill":{"__isSmartRef__":true,"id":1319},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1315":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1316":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1317":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1318":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1319":{"stops":[{"__isSmartRef__":true,"id":1320},{"__isSmartRef__":true,"id":1322},{"__isSmartRef__":true,"id":1324},{"__isSmartRef__":true,"id":1326}],"vector":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1320":{"offset":0,"color":{"__isSmartRef__":true,"id":1321}},"1321":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1322":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1323}},"1323":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1324":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1325}},"1325":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1326":{"offset":1,"color":{"__isSmartRef__":true,"id":1327}},"1327":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1328":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1329":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1330":{"morph":{"__isSmartRef__":true,"id":1301},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1331":{"x":480,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1332":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1333":{"stops":[{"__isSmartRef__":true,"id":1334},{"__isSmartRef__":true,"id":1336},{"__isSmartRef__":true,"id":1338},{"__isSmartRef__":true,"id":1340}],"vector":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1334":{"offset":0,"color":{"__isSmartRef__":true,"id":1335}},"1335":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1336":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1337}},"1337":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1338":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1339}},"1339":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1340":{"offset":1,"color":{"__isSmartRef__":true,"id":1341}},"1341":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1342":{"moveHorizontal":true},"1343":{"sourceObj":{"__isSmartRef__":true,"id":1301},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1286},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1344},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1344":{"source":{"__isSmartRef__":true,"id":1301},"target":{"__isSmartRef__":true,"id":1286}},"1345":{"sourceObj":{"__isSmartRef__":true,"id":1301},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1286},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1346},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1346":{"source":{"__isSmartRef__":true,"id":1301},"target":{"__isSmartRef__":true,"id":1286}},"1347":{"submorphs":[{"__isSmartRef__":true,"id":1348}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1359},"id":400,"renderContextTable":{"__isSmartRef__":true,"id":1363},"eventHandler":{"__isSmartRef__":true,"id":1364},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1365},"priorExtent":{"__isSmartRef__":true,"id":1366},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1319},"lighterFill":{"__isSmartRef__":true,"id":1367},"label":{"__isSmartRef__":true,"id":1348},"owner":{"__isSmartRef__":true,"id":1287},"attributeConnections":[{"__isSmartRef__":true,"id":1376},{"__isSmartRef__":true,"id":1378}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1348":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1349},"id":401,"renderContextTable":{"__isSmartRef__":true,"id":1353},"textChunks":[{"__isSmartRef__":true,"id":1354}],"eventHandler":{"__isSmartRef__":true,"id":1356},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1311},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1357},"priorExtent":{"__isSmartRef__":true,"id":1358},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1347},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1349":{"_Position":{"__isSmartRef__":true,"id":1350},"renderContextTable":{"__isSmartRef__":true,"id":1351},"_Extent":{"__isSmartRef__":true,"id":1352},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1350":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1351":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1352":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1353":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1354":{"style":{"__isSmartRef__":true,"id":1355},"chunkOwner":{"__isSmartRef__":true,"id":1348},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1355":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1356":{"morph":{"__isSmartRef__":true,"id":1348},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1357":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1358":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1359":{"_Position":{"__isSmartRef__":true,"id":1360},"renderContextTable":{"__isSmartRef__":true,"id":1361},"_Extent":{"__isSmartRef__":true,"id":1362},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1318},"_Fill":{"__isSmartRef__":true,"id":1319},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1360":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1361":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1362":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1363":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1364":{"morph":{"__isSmartRef__":true,"id":1347},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1365":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1366":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1367":{"stops":[{"__isSmartRef__":true,"id":1368},{"__isSmartRef__":true,"id":1370},{"__isSmartRef__":true,"id":1372},{"__isSmartRef__":true,"id":1374}],"vector":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1368":{"offset":0,"color":{"__isSmartRef__":true,"id":1369}},"1369":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1370":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1371}},"1371":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1372":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1373}},"1373":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1374":{"offset":1,"color":{"__isSmartRef__":true,"id":1375}},"1375":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1376":{"sourceObj":{"__isSmartRef__":true,"id":1347},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1286},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1377},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1377":{"source":{"__isSmartRef__":true,"id":1347},"target":{"__isSmartRef__":true,"id":1286}},"1378":{"sourceObj":{"__isSmartRef__":true,"id":1347},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1286},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1379},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1379":{"source":{"__isSmartRef__":true,"id":1347},"target":{"__isSmartRef__":true,"id":1286}},"1380":{"submorphs":[{"__isSmartRef__":true,"id":1381}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1392},"id":402,"renderContextTable":{"__isSmartRef__":true,"id":1396},"eventHandler":{"__isSmartRef__":true,"id":1397},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1398},"priorExtent":{"__isSmartRef__":true,"id":1399},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1319},"lighterFill":{"__isSmartRef__":true,"id":1400},"label":{"__isSmartRef__":true,"id":1381},"owner":{"__isSmartRef__":true,"id":1287},"layout":{"__isSmartRef__":true,"id":1409},"attributeConnections":[{"__isSmartRef__":true,"id":1410},{"__isSmartRef__":true,"id":1412}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1381":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1382},"id":403,"renderContextTable":{"__isSmartRef__":true,"id":1386},"textChunks":[{"__isSmartRef__":true,"id":1387}],"eventHandler":{"__isSmartRef__":true,"id":1389},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1311},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1390},"priorExtent":{"__isSmartRef__":true,"id":1391},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1380},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1382":{"_Position":{"__isSmartRef__":true,"id":1383},"renderContextTable":{"__isSmartRef__":true,"id":1384},"_Extent":{"__isSmartRef__":true,"id":1385},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1383":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1384":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1385":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1386":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1387":{"style":{"__isSmartRef__":true,"id":1388},"chunkOwner":{"__isSmartRef__":true,"id":1381},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1388":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1389":{"morph":{"__isSmartRef__":true,"id":1381},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1390":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1391":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1392":{"_Position":{"__isSmartRef__":true,"id":1393},"renderContextTable":{"__isSmartRef__":true,"id":1394},"_Extent":{"__isSmartRef__":true,"id":1395},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1318},"_Fill":{"__isSmartRef__":true,"id":1319},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1393":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1394":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1395":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1396":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1397":{"morph":{"__isSmartRef__":true,"id":1380},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1398":{"x":461,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1399":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1400":{"stops":[{"__isSmartRef__":true,"id":1401},{"__isSmartRef__":true,"id":1403},{"__isSmartRef__":true,"id":1405},{"__isSmartRef__":true,"id":1407}],"vector":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1401":{"offset":0,"color":{"__isSmartRef__":true,"id":1402}},"1402":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1403":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1404}},"1404":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1405":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1406}},"1406":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1407":{"offset":1,"color":{"__isSmartRef__":true,"id":1408}},"1408":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1409":{"moveHorizontal":true},"1410":{"sourceObj":{"__isSmartRef__":true,"id":1380},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1286},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1411},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1411":{"source":{"__isSmartRef__":true,"id":1380},"target":{"__isSmartRef__":true,"id":1286}},"1412":{"sourceObj":{"__isSmartRef__":true,"id":1380},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1286},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1413},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1413":{"source":{"__isSmartRef__":true,"id":1380},"target":{"__isSmartRef__":true,"id":1286}},"1414":{"_Position":{"__isSmartRef__":true,"id":1415},"renderContextTable":{"__isSmartRef__":true,"id":1416},"_Extent":{"__isSmartRef__":true,"id":1417},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1418},"_Fill":{"__isSmartRef__":true,"id":1254},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1415":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1416":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1417":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1418":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1419":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1420":{"morph":{"__isSmartRef__":true,"id":1287},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1421":{"resizeWidth":true,"adjustForNewBounds":true},"1422":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1423":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1424":{"renderContextTable":{"__isSmartRef__":true,"id":1425},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1426},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1425":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1426":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1427":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1428":{"morph":{"__isSmartRef__":true,"id":1286},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1429":{"adjustForNewBounds":true},"1430":{"x":1234,"y":448,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1431":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1432":{"x":1478,"y":453,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1433":{"resizeWidth":true,"resizeHeight":true},"1434":{"submorphs":[{"__isSmartRef__":true,"id":1435},{"__isSmartRef__":true,"id":1449}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1579},"id":361,"renderContextTable":{"__isSmartRef__":true,"id":1583},"eventHandler":{"__isSmartRef__":true,"id":1584},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1585},"LK2":true,"_Position":{"__isSmartRef__":true,"id":1586},"priorExtent":{"__isSmartRef__":true,"id":1587},"targetMorph":{"__isSmartRef__":true,"id":1435},"titleBar":{"__isSmartRef__":true,"id":1449},"contentOffset":{"__isSmartRef__":true,"id":1445},"collapsedTransform":{"__isSmartRef__":true,"id":1588},"collapsedExtent":{"__isSmartRef__":true,"id":1589},"expandedTransform":{"__isSmartRef__":true,"id":1590},"expandedExtent":{"__isSmartRef__":true,"id":1591},"ignoreEventsOnExpand":false,"owner":null,"showsHalos":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1592},"expandedPosition":{"__isSmartRef__":true,"id":1593},"state":"shutdown","collapsedPosition":{"__isSmartRef__":true,"id":1594},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1435":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1436},"id":360,"renderContextTable":{"__isSmartRef__":true,"id":1441},"textChunks":[{"__isSmartRef__":true,"id":1442}],"eventHandler":{"__isSmartRef__":true,"id":1444},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1283},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_Position":{"__isSmartRef__":true,"id":1445},"priorExtent":{"__isSmartRef__":true,"id":1446},"_MaxTextWidth":500,"_MaxTextHeight":0,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1434},"layout":{"__isSmartRef__":true,"id":1447},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1448}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1307282796737,"accessibleInInactiveWindow":true,"eventsAreIgnored":false,"_HandStyle":"default","_PointerEvents":"auto","_Visible":true,"priorSelectionRange":[0,22],"charsReplaced":"","lastFindLoc":15,"__SourceModuleName__":"Global.lively.morphic.TextCore","textString":"undefined","__LivelyClassName__":"lively.morphic.Text"},"1436":{"_Position":{"__isSmartRef__":true,"id":1437},"renderContextTable":{"__isSmartRef__":true,"id":1438},"_Extent":{"__isSmartRef__":true,"id":1439},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":{"__isSmartRef__":true,"id":1440},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1437":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1438":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1439":{"x":500,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1440":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1441":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1442":{"style":{"__isSmartRef__":true,"id":1443},"chunkOwner":{"__isSmartRef__":true,"id":1435},"storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1443":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1444":{"morph":{"__isSmartRef__":true,"id":1435},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1445":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1446":{"x":500,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1447":{"resizeWidth":true,"resizeHeight":true},"1448":{"sourceObj":{"__isSmartRef__":true,"id":1435},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1435},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1449":{"submorphs":[{"__isSmartRef__":true,"id":1450},{"__isSmartRef__":true,"id":1462},{"__isSmartRef__":true,"id":1496},{"__isSmartRef__":true,"id":1529}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1563},"id":362,"renderContextTable":{"__isSmartRef__":true,"id":1574},"eventHandler":{"__isSmartRef__":true,"id":1575},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1576},"_Position":{"__isSmartRef__":true,"id":1577},"windowMorph":{"__isSmartRef__":true,"id":1434},"label":{"__isSmartRef__":true,"id":1450},"closeButton":{"__isSmartRef__":true,"id":1462},"menuButton":{"__isSmartRef__":true,"id":1496},"collapseButton":{"__isSmartRef__":true,"id":1529},"priorExtent":{"__isSmartRef__":true,"id":1578},"owner":{"__isSmartRef__":true,"id":1434},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1450":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1451},"id":363,"renderContextTable":{"__isSmartRef__":true,"id":1455},"textChunks":[{"__isSmartRef__":true,"id":1456}],"eventHandler":{"__isSmartRef__":true,"id":1458},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1297},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1459},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":1449},"priorExtent":{"__isSmartRef__":true,"id":1460},"_MaxTextWidth":441,"_MaxTextHeight":17,"_Position":{"__isSmartRef__":true,"id":1461},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1451":{"_Position":{"__isSmartRef__":true,"id":1452},"renderContextTable":{"__isSmartRef__":true,"id":1453},"_Extent":{"__isSmartRef__":true,"id":1454},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1452":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1453":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1454":{"x":441,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1455":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1456":{"style":{"__isSmartRef__":true,"id":1457},"chunkOwner":{"__isSmartRef__":true,"id":1450},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1457":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1458":{"morph":{"__isSmartRef__":true,"id":1450},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1459":{"resizeWidth":true},"1460":{"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1461":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1462":{"submorphs":[{"__isSmartRef__":true,"id":1463}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1474},"id":364,"renderContextTable":{"__isSmartRef__":true,"id":1478},"eventHandler":{"__isSmartRef__":true,"id":1479},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1480},"priorExtent":{"__isSmartRef__":true,"id":1481},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1319},"lighterFill":{"__isSmartRef__":true,"id":1482},"label":{"__isSmartRef__":true,"id":1463},"owner":{"__isSmartRef__":true,"id":1449},"layout":{"__isSmartRef__":true,"id":1491},"attributeConnections":[{"__isSmartRef__":true,"id":1492},{"__isSmartRef__":true,"id":1494}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1463":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1464},"id":365,"renderContextTable":{"__isSmartRef__":true,"id":1468},"textChunks":[{"__isSmartRef__":true,"id":1469}],"eventHandler":{"__isSmartRef__":true,"id":1471},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1311},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1472},"priorExtent":{"__isSmartRef__":true,"id":1473},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1462},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1464":{"_Position":{"__isSmartRef__":true,"id":1465},"renderContextTable":{"__isSmartRef__":true,"id":1466},"_Extent":{"__isSmartRef__":true,"id":1467},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1465":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1466":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1467":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1468":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1469":{"style":{"__isSmartRef__":true,"id":1470},"chunkOwner":{"__isSmartRef__":true,"id":1463},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1470":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1471":{"morph":{"__isSmartRef__":true,"id":1463},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1472":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1473":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1474":{"_Position":{"__isSmartRef__":true,"id":1475},"renderContextTable":{"__isSmartRef__":true,"id":1476},"_Extent":{"__isSmartRef__":true,"id":1477},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1318},"_Fill":{"__isSmartRef__":true,"id":1319},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1475":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1476":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1477":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1478":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1479":{"morph":{"__isSmartRef__":true,"id":1462},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1480":{"x":480,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1481":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1482":{"stops":[{"__isSmartRef__":true,"id":1483},{"__isSmartRef__":true,"id":1485},{"__isSmartRef__":true,"id":1487},{"__isSmartRef__":true,"id":1489}],"vector":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1483":{"offset":0,"color":{"__isSmartRef__":true,"id":1484}},"1484":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1485":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1486}},"1486":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1487":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1488}},"1488":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1489":{"offset":1,"color":{"__isSmartRef__":true,"id":1490}},"1490":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1491":{"moveHorizontal":true},"1492":{"sourceObj":{"__isSmartRef__":true,"id":1462},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1434},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1493},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1493":{"source":{"__isSmartRef__":true,"id":1462},"target":{"__isSmartRef__":true,"id":1434}},"1494":{"sourceObj":{"__isSmartRef__":true,"id":1462},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1434},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1495},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1495":{"source":{"__isSmartRef__":true,"id":1462},"target":{"__isSmartRef__":true,"id":1434}},"1496":{"submorphs":[{"__isSmartRef__":true,"id":1497}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1508},"id":366,"renderContextTable":{"__isSmartRef__":true,"id":1512},"eventHandler":{"__isSmartRef__":true,"id":1513},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1514},"priorExtent":{"__isSmartRef__":true,"id":1515},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1319},"lighterFill":{"__isSmartRef__":true,"id":1516},"label":{"__isSmartRef__":true,"id":1497},"owner":{"__isSmartRef__":true,"id":1449},"attributeConnections":[{"__isSmartRef__":true,"id":1525},{"__isSmartRef__":true,"id":1527}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1497":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1498},"id":367,"renderContextTable":{"__isSmartRef__":true,"id":1502},"textChunks":[{"__isSmartRef__":true,"id":1503}],"eventHandler":{"__isSmartRef__":true,"id":1505},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1311},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1506},"priorExtent":{"__isSmartRef__":true,"id":1507},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1496},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1498":{"_Position":{"__isSmartRef__":true,"id":1499},"renderContextTable":{"__isSmartRef__":true,"id":1500},"_Extent":{"__isSmartRef__":true,"id":1501},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1499":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1500":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1501":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1502":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1503":{"style":{"__isSmartRef__":true,"id":1504},"chunkOwner":{"__isSmartRef__":true,"id":1497},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1504":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1505":{"morph":{"__isSmartRef__":true,"id":1497},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1506":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1507":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1508":{"_Position":{"__isSmartRef__":true,"id":1509},"renderContextTable":{"__isSmartRef__":true,"id":1510},"_Extent":{"__isSmartRef__":true,"id":1511},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1318},"_Fill":{"__isSmartRef__":true,"id":1319},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1509":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1510":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1511":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1512":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1513":{"morph":{"__isSmartRef__":true,"id":1496},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1514":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1515":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1516":{"stops":[{"__isSmartRef__":true,"id":1517},{"__isSmartRef__":true,"id":1519},{"__isSmartRef__":true,"id":1521},{"__isSmartRef__":true,"id":1523}],"vector":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1517":{"offset":0,"color":{"__isSmartRef__":true,"id":1518}},"1518":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1519":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1520}},"1520":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1521":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1522}},"1522":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1523":{"offset":1,"color":{"__isSmartRef__":true,"id":1524}},"1524":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1525":{"sourceObj":{"__isSmartRef__":true,"id":1496},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1434},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1526},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1526":{"source":{"__isSmartRef__":true,"id":1496},"target":{"__isSmartRef__":true,"id":1434}},"1527":{"sourceObj":{"__isSmartRef__":true,"id":1496},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1434},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1528},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1528":{"source":{"__isSmartRef__":true,"id":1496},"target":{"__isSmartRef__":true,"id":1434}},"1529":{"submorphs":[{"__isSmartRef__":true,"id":1530}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1541},"id":368,"renderContextTable":{"__isSmartRef__":true,"id":1545},"eventHandler":{"__isSmartRef__":true,"id":1546},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1547},"priorExtent":{"__isSmartRef__":true,"id":1548},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1319},"lighterFill":{"__isSmartRef__":true,"id":1549},"label":{"__isSmartRef__":true,"id":1530},"owner":{"__isSmartRef__":true,"id":1449},"layout":{"__isSmartRef__":true,"id":1558},"attributeConnections":[{"__isSmartRef__":true,"id":1559},{"__isSmartRef__":true,"id":1561}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1530":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1531},"id":369,"renderContextTable":{"__isSmartRef__":true,"id":1535},"textChunks":[{"__isSmartRef__":true,"id":1536}],"eventHandler":{"__isSmartRef__":true,"id":1538},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1311},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1539},"priorExtent":{"__isSmartRef__":true,"id":1540},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1529},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1531":{"_Position":{"__isSmartRef__":true,"id":1532},"renderContextTable":{"__isSmartRef__":true,"id":1533},"_Extent":{"__isSmartRef__":true,"id":1534},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1532":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1533":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1534":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1535":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1536":{"style":{"__isSmartRef__":true,"id":1537},"chunkOwner":{"__isSmartRef__":true,"id":1530},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1537":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1538":{"morph":{"__isSmartRef__":true,"id":1530},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1539":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1540":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1541":{"_Position":{"__isSmartRef__":true,"id":1542},"renderContextTable":{"__isSmartRef__":true,"id":1543},"_Extent":{"__isSmartRef__":true,"id":1544},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1318},"_Fill":{"__isSmartRef__":true,"id":1319},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1542":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1543":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1544":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1545":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1546":{"morph":{"__isSmartRef__":true,"id":1529},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1547":{"x":461,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1548":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1549":{"stops":[{"__isSmartRef__":true,"id":1550},{"__isSmartRef__":true,"id":1552},{"__isSmartRef__":true,"id":1554},{"__isSmartRef__":true,"id":1556}],"vector":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1550":{"offset":0,"color":{"__isSmartRef__":true,"id":1551}},"1551":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1552":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1553}},"1553":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1554":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1555}},"1555":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1556":{"offset":1,"color":{"__isSmartRef__":true,"id":1557}},"1557":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1558":{"moveHorizontal":true},"1559":{"sourceObj":{"__isSmartRef__":true,"id":1529},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1434},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1560},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1560":{"source":{"__isSmartRef__":true,"id":1529},"target":{"__isSmartRef__":true,"id":1434}},"1561":{"sourceObj":{"__isSmartRef__":true,"id":1529},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1434},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1562},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1562":{"source":{"__isSmartRef__":true,"id":1529},"target":{"__isSmartRef__":true,"id":1434}},"1563":{"_Position":{"__isSmartRef__":true,"id":1564},"renderContextTable":{"__isSmartRef__":true,"id":1565},"_Extent":{"__isSmartRef__":true,"id":1566},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1418},"_Fill":{"__isSmartRef__":true,"id":1567},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1564":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1565":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1566":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1567":{"stops":[{"__isSmartRef__":true,"id":1568},{"__isSmartRef__":true,"id":1570},{"__isSmartRef__":true,"id":1572}],"vector":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1568":{"offset":0,"color":{"__isSmartRef__":true,"id":1569}},"1569":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1570":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1571}},"1571":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1572":{"offset":1,"color":{"__isSmartRef__":true,"id":1573}},"1573":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1574":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1575":{"morph":{"__isSmartRef__":true,"id":1449},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1576":{"resizeWidth":true,"adjustForNewBounds":true},"1577":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1578":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1579":{"renderContextTable":{"__isSmartRef__":true,"id":1580},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1581},"_Position":{"__isSmartRef__":true,"id":1582},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1580":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1581":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1582":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1583":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1584":{"morph":{"__isSmartRef__":true,"id":1434},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1585":{"adjustForNewBounds":true},"1586":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1587":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1588":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"1589":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1590":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"1591":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1592":{"x":1507,"y":76,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1593":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1594":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1595":{"x":377.6609726943286,"y":419.5142810783999,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1596":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph. Early version.","partName":"ObjectEditor","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1597":{"submorphs":[],"scripts":[],"id":"79F6017F-59D1-4ABC-95CA-5F4BF94B77FF","shape":{"__isSmartRef__":true,"id":1598},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1605},"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,courier","_MaxTextWidth":672.0285365288845,"_MaxTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":1606}],"layout":{"__isSmartRef__":true,"id":1608},"showsHalos":false,"prevScroll":[0,0],"name":"ObjectEditorScriptPane","charsReplaced":"// changed at Wed May 30 2012 09:22:59 GMT-0700 (Pacific Daylight Time) by bgnauk \nthis.addScript(function createNodeFromItem(item) {\n \n var width = this.get(\"DocList\").getExtent().x;\n var thumbnailSize = 0;\n var titleLabelWidth = 700;\n var titleLabelHeight = 20;\n\n ratingItems = [\n {id:1, string: \"Complete\"},\n {id:2, string: \"Needs some Polishing\"},\n {id:3, string: \"Draft\"},\n {id:4, string: \"Deprecated\"},\n ];\n\n getRatingItem = function(id) {\n var s = \"\";\n for (var i = 0; i < ratingItems.length; i++) {\n if (ratingItems[i].id === id) {\n s = ratingItems[i].string;\n }\n }\n return s;\n }\n\n\t\n var node = Morph.makeRectangle(0,0,width,120);\n node.isLivelyWorldNode = true;\n node.disableGrabbing();\n node.applyStyle({fill: Color.white, toolTip: item.url, borderWidth: 0, borderRadius: 10});\n node.svnVersionInfo = item.svnVersionInfo;\n\n\n // Is the page available (are svn infos there about it)? \n if (!(item.svnVersionInfo && item.svnVersionInfo.date && item.svnVersionInfo.author)){\n node.setFill(Color.rgbHex(\"#FFCCCC\"));\n }\n\n \n node.addScript(function getSVNInfos(propfindXML){\n if (propfindXML.documentElement){\n var rawNodes = new Query(\"/D:multistatus/D:response\").findAll(propfindXML.documentElement);\n var svnVersionInfos = rawNodes.map(function(rawNode) { return SVNVersionInfo.fromPropfindNode(rawNode) });\n this.svnVersionInfo = svnVersionInfos.first();\n }\n else {\n this.svnVersionInfo = null;\n }\n });\n connect(node, \"svnVersionInfo\", item, \"svnVersionInfo\");\n \n // Screenshot\n //var defaultImage = \"http://lively-kernel.org/media/livelylogo-small.png\";\n //if (!item.picture) {\n // item.picture = defaultImage;\n //}\n //var img = new lively.morphic.Image(new Rectangle(10,10,thumbnailSize,thumbnailSize), item.picture, false);\n\n //node.addMorph(img);\n\n\n\n\n // Dropdown box for rating\n var rating = new lively.morphic.DropDownList(new Rectangle(width-150,50,140 ,titleLabelHeight), ratingItems);\n node.addMorph(rating);\n connect(rating, \"selection\", item, \"rating\", {converter: function(ea){return ea.id;}});\n if (item.rating) {\n var list = rating.getList();\n var idx = 0;\n for (var i = 0; i < list.length; i++) {\n if (list[i].id === item.rating) {\n idx = i;\n }\n }\n rating.selectAt(idx);\n }\n rating.setVisible(false);\n\trating.customEditingStyle = function(editable) {\n\t\tthis.setVisible(editable);\n\t};\n\t//connect(this.get(\"CheckBox\"), \"checked\", rating, \"setVisible\");\n\n \n var ratingLabel = new lively.morphic.Text(new Rectangle(width-190,50,180,20), getRatingItem(item.rating));\n ratingLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n\n node.addMorph(ratingLabel);\n if (!item.rating) item.rating=0;\n \n\tconnect({}, \"test\", ratingLabel , \"textString\"\n\t, {\n\t\tconverter: function(ea){\n\t\t\tvar s = \"\";\n\t\t\tfor (var i = 0; i < ratingItems.length; i++) {\n\t\t\t\tif (ratingItems[i].id === ea) {\n\t\t\t\t\ts = ratingItems[i].string;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn s;\n\t\t}\n\t}); \n\tratingLabel.customEditingStyle = function(editable) {\n\t\tthis.setVisible(!editable);\n\t};\n this.applyEditingStyle(ratingLabel , false);\n\n // connect(this.get(\"CheckBox\"), \"checked\", ratingLabel, \"setVisible\", {converter: function(ea){return !ea;}});\n \n\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for title\n var titleLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,10,titleLabelWidth-thumbnailSize-20 ,titleLabelHeight ), item.title);\n titleLabel.applyStyle({fontWeight: \"bold\", borderWidth: 0, fixedWidth: titleLabelWidth, fixedHeight:titleLabelHeight }).disableGrabbing();\n node.addMorph(titleLabel);\n this.applyEditingStyle(titleLabel, false);\n connect(titleLabel, \"textString\", item, \"title\");\n \n // Adding label for description\n var descriptionLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,40,width-thumbnailSize-230,40), item.description);\n descriptionLabel.applyStyle({ borderWidth: 0}).disableGrabbing();\n // descriptionLabel .beLabel();\n node.addMorph(descriptionLabel);\n this.applyEditingStyle(descriptionLabel, false);\n connect(descriptionLabel, \"textString\", item, \"description\");\n \n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for URL\n var urlLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,90,width-30-thumbnailSize,20), item.url);\n urlLabel.applyStyle({ borderWidth: 0, textDecoration: \"underline\"}).disableGrabbing();\n // descriptionLabel .beLabel();\n urlLabel.setHandStyle(\"pointer\");\n this.applyEditingStyle(urlLabel, false);\n urlLabel.realURL = '';\n urlLabel.shortURL = '';\n connect(urlLabel, 'realURL', urlLabel, 'shortURL',{converter: function(val) { \n var s =\"\";\n s+=val;\n var l = s.length;\n console.log(\"Real URL: \"+s);\n return '... '+s.substr(l - 70, l-1);\n }});\n urlLabel.realURL = item.url;\n urlLabel.textString = urlLabel.shortURL;\n connect(urlLabel, \"realURL\", item, \"url\");\n connect(urlLabel, \"realURL\", node, \"url\");\n node.url = item.url;\n urlLabel.realURL = item.url;\n \n urlLabel.onClick = function(evt){ window.open(item.url);};\n urlLabel.registerForMouseEvents();\n urlLabel.addScript(function customEditingStyle(editable){\n if (editable) {\n this.textString = this.realURL;\n connect(this, 'textString', this, 'realURL');\n this.onClick = function(evt){return false;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"\"});\n this.setHandStyle(\"text\");\n }\n else {\n disconnect(this, 'textString', this, 'realURL');\n this.textString = this.shortURL;\n this.onClick = function(evt){ window.open(this.textString); return true;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"underline\"});\n this.setHandStyle(\"pointer\");\n }\n\n });\n node.addMorph(urlLabel);\n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n // Adding label for latest change\n var latestChangeLabel = new lively.morphic.Text(new Rectangle(width-290,90,280,20), \"\");\n latestChangeLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(latestChangeLabel);\n this.applyEditingStyle(latestChangeLabel, false);\n latestChangeLabel.addScript(function setSVNInfo(svn){\n if (svn && svn.date && svn.author){\n var d = svn.date.toDateString();\n var a = svn.author;\n this.textString = \"Last update by \"+a+\" on \"+d;\n }\n else{\n this.textString = \"\";\n }\n });\n latestChangeLabel.addScript(function customEditingStyle(editable){\n this.setVisible(!editable);\n\n });\n latestChangeLabel.setSVNInfo(item.svnVersionInfo);\n connect(node, \"svnVersionInfo\", latestChangeLabel, \"setSVNInfo\", {});\n\n node.setClipMode('hidden');\n\n // Adding label for section\n var sectionLabel = new lively.morphic.Text(new Rectangle(width-190,10,180,20), item.section);\n sectionLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(sectionLabel );\n this.applyEditingStyle(sectionLabel , false);\n connect(sectionLabel , \"textString\", item, \"section\");\n\n \n //var deleteButton = new lively.morphic.Button(new Rectangle(width-100,40,90,40), \"Delete Item\");\n //deleteButton.applyStyle({ fill: Color.rgbHex(\"#BC3618\"), label:{fontSize: 10,textColor: Color.white, textDecoration: null, emphasize: null, padding: new Rectangle(0,10,0,0)}});\n //deleteButton.setVisible(false);\n //node.addMorph(deleteButton);\n \n\n\n return node;\n}).tag([]);","lastFindLoc":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1609},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1610},"_ClipMode":"auto","_FontSize":9,"lastSyntaxHighlightTime":1338338115873,"doitContext":{"__isSmartRef__":true,"id":331},"savedTextString":"// changed at Tue May 29 2012 17:30:37 GMT-0700 (Pacific Daylight Time) by bgnauk \nthis.addScript(function createNodeFromItem(item) {\n \n var width = this.get(\"DocList\").getExtent().x;\n var thumbnailSize = 0;\n var titleLabelWidth = 700;\n var titleLabelHeight = 20;\n\n ratingItems = [\n {id:1, string: \"Complete\"},\n {id:2, string: \"Needs some Polishing\"},\n {id:3, string: \"Draft\"},\n {id:4, string: \"Deprecated\"},\n ];\n\n getRatingItem = function(id) {\n var s = \"\";\n for (var i = 0; i < ratingItems.length; i++) {\n if (ratingItems[i].id === id) {\n s = ratingItems[i].string;\n }\n }\n return s;\n }\n\n\t\n var node = Morph.makeRectangle(0,0,width,120);\n node.isLivelyWorldNode = true;\n node.disableGrabbing();\n node.applyStyle({fill: Color.white, toolTip: item.url, borderWidth: 0, borderRadius: 10});\n node.svnVersionInfo = item.svnVersionInfo;\n\n\n // Is the page available (are svn infos there about it)? \n if (!(item.svnVersionInfo && item.svnVersionInfo.date && item.svnVersionInfo.author)){\n node.setFill(Color.rgbHex(\"#FFCCCC\"));\n }\n\n \n node.addScript(function getSVNInfos(propfindXML){\n if (propfindXML.documentElement){\n var rawNodes = new Query(\"/D:multistatus/D:response\").findAll(propfindXML.documentElement);\n var svnVersionInfos = rawNodes.map(function(rawNode) { return SVNVersionInfo.fromPropfindNode(rawNode) });\n this.svnVersionInfo = svnVersionInfos.first();\n }\n else {\n this.svnVersionInfo = null;\n }\n });\n connect(node, \"svnVersionInfo\", item, \"svnVersionInfo\");\n \n // Screenshot\n //var defaultImage = \"http://lively-kernel.org/media/livelylogo-small.png\";\n //if (!item.picture) {\n // item.picture = defaultImage;\n //}\n //var img = new lively.morphic.Image(new Rectangle(10,10,thumbnailSize,thumbnailSize), item.picture, false);\n\n //node.addMorph(img);\n\n\n\n\n // Dropdown box for rating\n var rating = new lively.morphic.DropDownList(new Rectangle(width-150,50,140 ,titleLabelHeight), ratingItems);\n node.addMorph(rating);\n connect(rating, \"selection\", item, \"rating\", {converter: function(ea){return ea.id;}});\n if (item.rating) {\n var list = rating.getList();\n var idx = 0;\n for (var i = 0; i < list.length; i++) {\n if (list[i].id === item.rating) {\n idx = i;\n }\n }\n rating.selectAt(idx);\n }\n rating.setVisible(false);\n\trating.customEditingStyle = function(editable) {\n\t\tthis.setVisible(editable);\n\t};\n\t//connect(this.get(\"CheckBox\"), \"checked\", rating, \"setVisible\");\n\n \n var ratingLabel = new lively.morphic.Text(new Rectangle(width-190,50,180,20), \"Rating\"); //getRatingItem(item.rating));\n ratingLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n\n node.addMorph(ratingLabel);\n if (!item.rating) item.rating=0;\n \n\tconnect({}, \"test\", ratingLabel , \"textString\"\n\t, {\n\t\tconverter: function(ea){\n\t\t\tvar s = \"\";\n\t\t\tfor (var i = 0; i < ratingItems.length; i++) {\n\t\t\t\tif (ratingItems[i].id === ea) {\n\t\t\t\t\ts = ratingItems[i].string;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn s;\n\t\t}\n\t}); \n\tratingLabel.customEditingStyle = function(editable) {\n\t\tthis.setVisible(!editable);\n\t};\n this.applyEditingStyle(ratingLabel , false);\n\n // connect(this.get(\"CheckBox\"), \"checked\", ratingLabel, \"setVisible\", {converter: function(ea){return !ea;}});\n \n\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for title\n var titleLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,10,titleLabelWidth-thumbnailSize-20 ,titleLabelHeight ), item.title);\n titleLabel.applyStyle({fontWeight: \"bold\", borderWidth: 0, fixedWidth: titleLabelWidth, fixedHeight:titleLabelHeight }).disableGrabbing();\n node.addMorph(titleLabel);\n this.applyEditingStyle(titleLabel, false);\n connect(titleLabel, \"textString\", item, \"title\");\n \n // Adding label for description\n var descriptionLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,40,width-thumbnailSize-230,40), item.description);\n descriptionLabel.applyStyle({ borderWidth: 0}).disableGrabbing();\n // descriptionLabel .beLabel();\n node.addMorph(descriptionLabel);\n this.applyEditingStyle(descriptionLabel, false);\n connect(descriptionLabel, \"textString\", item, \"description\");\n \n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for URL\n var urlLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,90,width-30-thumbnailSize,20), item.url);\n urlLabel.applyStyle({ borderWidth: 0, textDecoration: \"underline\"}).disableGrabbing();\n // descriptionLabel .beLabel();\n urlLabel.setHandStyle(\"pointer\");\n this.applyEditingStyle(urlLabel, false);\n urlLabel.realURL = '';\n urlLabel.shortURL = '';\n connect(urlLabel, 'realURL', urlLabel, 'shortURL',{converter: function(val) { \n var s =\"\";\n s+=val;\n var l = s.length;\n console.log(\"Real URL: \"+s);\n return '... '+s.substr(l - 70, l-1);\n }});\n urlLabel.realURL = item.url;\n urlLabel.textString = urlLabel.shortURL;\n connect(urlLabel, \"realURL\", item, \"url\");\n connect(urlLabel, \"realURL\", node, \"url\");\n node.url = item.url;\n urlLabel.realURL = item.url;\n \n urlLabel.onClick = function(evt){ window.open(item.url);};\n urlLabel.registerForMouseEvents();\n urlLabel.addScript(function customEditingStyle(editable){\n if (editable) {\n this.textString = this.realURL;\n connect(this, 'textString', this, 'realURL');\n this.onClick = function(evt){return false;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"\"});\n this.setHandStyle(\"text\");\n }\n else {\n disconnect(this, 'textString', this, 'realURL');\n this.textString = this.shortURL;\n this.onClick = function(evt){ window.open(this.textString); return true;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"underline\"});\n this.setHandStyle(\"pointer\");\n }\n\n });\n node.addMorph(urlLabel);\n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n // Adding label for latest change\n var latestChangeLabel = new lively.morphic.Text(new Rectangle(width-290,90,280,20), \"\");\n latestChangeLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(latestChangeLabel);\n this.applyEditingStyle(latestChangeLabel, false);\n latestChangeLabel.addScript(function setSVNInfo(svn){\n if (svn && svn.date && svn.author){\n var d = svn.date.toDateString();\n var a = svn.author;\n this.textString = \"Last update by \"+a+\" on \"+d;\n }\n else{\n this.textString = \"\";\n }\n });\n latestChangeLabel.addScript(function customEditingStyle(editable){\n this.setVisible(!editable);\n\n });\n latestChangeLabel.setSVNInfo(item.svnVersionInfo);\n connect(node, \"svnVersionInfo\", latestChangeLabel, \"setSVNInfo\", {});\n\n node.setClipMode('hidden');\n\n // Adding label for section\n var sectionLabel = new lively.morphic.Text(new Rectangle(width-190,10,180,20), item.section);\n sectionLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(sectionLabel );\n this.applyEditingStyle(sectionLabel , false);\n connect(sectionLabel , \"textString\", item, \"section\");\n\n \n //var deleteButton = new lively.morphic.Button(new Rectangle(width-100,40,90,40), \"Delete Item\");\n //deleteButton.applyStyle({ fill: Color.rgbHex(\"#BC3618\"), label:{fontSize: 10,textColor: Color.white, textDecoration: null, emphasize: null, padding: new Rectangle(0,10,0,0)}});\n //deleteButton.setVisible(false);\n //node.addMorph(deleteButton);\n \n\n\n return node;\n}).tag([]);","_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":1611},"lastSearchString":"stringsformat","eventHandler":{"__isSmartRef__":true,"id":1612},"attributeConnections":[{"__isSmartRef__":true,"id":1613},{"__isSmartRef__":true,"id":1638}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"distanceToDragEvent":{"__isSmartRef__":true,"id":1639},"_MinTextWidth":672.0285365288845,"_MinTextHeight":null,"previousSelection":[8021,8021],"lastSaveSource":"// changed at Wed May 30 2012 09:25:19 GMT-0700 (Pacific Daylight Time) by bgnauk \nthis.addScript(function createNodeFromItem(item) {\n \n var width = this.get(\"DocList\").getExtent().x;\n var thumbnailSize = 0;\n var titleLabelWidth = 700;\n var titleLabelHeight = 20;\n\n ratingItems = [\n {id:1, string: \"Complete\"},\n {id:2, string: \"Needs some Polishing\"},\n {id:3, string: \"Draft\"},\n {id:4, string: \"Deprecated\"},\n ];\n\n getRatingItem = function(id) {\n var s = \"\";\n for (var i = 0; i < ratingItems.length; i++) {\n if (ratingItems[i].id === id) {\n s = ratingItems[i].string;\n }\n }\n return s;\n }\n\n\t\n var node = Morph.makeRectangle(0,0,width,120);\n node.isLivelyWorldNode = true;\n node.disableGrabbing();\n node.applyStyle({fill: Color.white, toolTip: item.url, borderWidth: 0, borderRadius: 10});\n node.svnVersionInfo = item.svnVersionInfo;\n\n\n // Is the page available (are svn infos there about it)? \n if (!(item.svnVersionInfo && item.svnVersionInfo.date && item.svnVersionInfo.author)){\n node.setFill(Color.rgbHex(\"#FFCCCC\"));\n }\n\n \n node.addScript(function getSVNInfos(propfindXML){\n if (propfindXML.documentElement){\n var rawNodes = new Query(\"/D:multistatus/D:response\").findAll(propfindXML.documentElement);\n var svnVersionInfos = rawNodes.map(function(rawNode) { return SVNVersionInfo.fromPropfindNode(rawNode) });\n this.svnVersionInfo = svnVersionInfos.first();\n }\n else {\n this.svnVersionInfo = null;\n }\n });\n connect(node, \"svnVersionInfo\", item, \"svnVersionInfo\");\n \n // Screenshot\n //var defaultImage = \"http://lively-kernel.org/media/livelylogo-small.png\";\n //if (!item.picture) {\n // item.picture = defaultImage;\n //}\n //var img = new lively.morphic.Image(new Rectangle(10,10,thumbnailSize,thumbnailSize), item.picture, false);\n\n //node.addMorph(img);\n\n\n\n\n // Dropdown box for rating\n var rating = new lively.morphic.DropDownList(new Rectangle(width-150,50,140 ,titleLabelHeight), ratingItems);\n node.addMorph(rating);\n connect(rating, \"selection\", item, \"rating\", {converter: function(ea){return ea.id;}});\n if (item.rating) {\n var list = rating.getList();\n var idx = 0;\n for (var i = 0; i < list.length; i++) {\n if (list[i].id === item.rating) {\n idx = i;\n }\n }\n rating.selectAt(idx);\n }\n rating.setVisible(false);\n\trating.customEditingStyle = function(editable) {\n\t\tthis.setVisible(editable);\n\t};\n\t//connect(this.get(\"CheckBox\"), \"checked\", rating, \"setVisible\");\n\n \n var ratingLabel = new lively.morphic.Text(new Rectangle(width-190,50,180,20), \"Rating\"); //getRatingItem(item.rating));\n ratingLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n\n node.addMorph(ratingLabel);\n if (!item.rating) item.rating=0;\n \n\tconnect({}, \"test\", ratingLabel , \"textString\"\n\t, {\n\t\tconverter: function(ea){\n\t\t\tvar s = \"\";\n\t\t\tfor (var i = 0; i < ratingItems.length; i++) {\n\t\t\t\tif (ratingItems[i].id === ea) {\n\t\t\t\t\ts = ratingItems[i].string;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn s;\n\t\t}\n\t}); \n\tratingLabel.customEditingStyle = function(editable) {\n\t\tthis.setVisible(!editable);\n\t};\n this.applyEditingStyle(ratingLabel , false);\n\n // connect(this.get(\"CheckBox\"), \"checked\", ratingLabel, \"setVisible\", {converter: function(ea){return !ea;}});\n \n\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for title\n var titleLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,10,titleLabelWidth-thumbnailSize-20 ,titleLabelHeight ), item.title);\n titleLabel.applyStyle({fontWeight: \"bold\", borderWidth: 0, fixedWidth: titleLabelWidth, fixedHeight:titleLabelHeight }).disableGrabbing();\n node.addMorph(titleLabel);\n this.applyEditingStyle(titleLabel, false);\n connect(titleLabel, \"textString\", item, \"title\");\n \n // Adding label for description\n var descriptionLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,40,width-thumbnailSize-230,40), item.description);\n descriptionLabel.applyStyle({ borderWidth: 0}).disableGrabbing();\n // descriptionLabel .beLabel();\n node.addMorph(descriptionLabel);\n this.applyEditingStyle(descriptionLabel, false);\n connect(descriptionLabel, \"textString\", item, \"description\");\n \n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for URL\n var urlLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,90,width-30-thumbnailSize,20), item.url);\n urlLabel.applyStyle({ borderWidth: 0, textDecoration: \"underline\"}).disableGrabbing();\n // descriptionLabel .beLabel();\n urlLabel.setHandStyle(\"pointer\");\n this.applyEditingStyle(urlLabel, false);\n urlLabel.realURL = '';\n urlLabel.shortURL = '';\n connect(urlLabel, 'realURL', urlLabel, 'shortURL',{converter: function(val) { \n var s =\"\";\n s+=val;\n var l = s.length;\n console.log(\"Real URL: \"+s);\n return '... '+s.substr(l - 70, l-1);\n }});\n urlLabel.realURL = item.url;\n urlLabel.textString = urlLabel.shortURL;\n connect(urlLabel, \"realURL\", item, \"url\");\n connect(urlLabel, \"realURL\", node, \"url\");\n node.url = item.url;\n urlLabel.realURL = item.url;\n \n urlLabel.onClick = function(evt){ window.open(item.url);};\n urlLabel.registerForMouseEvents();\n urlLabel.addScript(function customEditingStyle(editable){\n if (editable) {\n this.textString = this.realURL;\n connect(this, 'textString', this, 'realURL');\n this.onClick = function(evt){return false;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"\"});\n this.setHandStyle(\"text\");\n }\n else {\n disconnect(this, 'textString', this, 'realURL');\n this.textString = this.shortURL;\n this.onClick = function(evt){ window.open(this.textString); return true;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"underline\"});\n this.setHandStyle(\"pointer\");\n }\n\n });\n node.addMorph(urlLabel);\n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n // Adding label for latest change\n var latestChangeLabel = new lively.morphic.Text(new Rectangle(width-290,90,280,20), \"\");\n latestChangeLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(latestChangeLabel);\n this.applyEditingStyle(latestChangeLabel, false);\n latestChangeLabel.addScript(function setSVNInfo(svn){\n if (svn && svn.date && svn.author){\n var d = svn.date.toDateString();\n var a = svn.author;\n this.textString = \"Last update by \"+a+\" on \"+d;\n }\n else{\n this.textString = \"\";\n }\n });\n latestChangeLabel.addScript(function customEditingStyle(editable){\n this.setVisible(!editable);\n\n });\n latestChangeLabel.setSVNInfo(item.svnVersionInfo);\n connect(node, \"svnVersionInfo\", latestChangeLabel, \"setSVNInfo\", {});\n\n node.setClipMode('hidden');\n\n // Adding label for section\n var sectionLabel = new lively.morphic.Text(new Rectangle(width-190,10,180,20), item.section);\n sectionLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(sectionLabel );\n this.applyEditingStyle(sectionLabel , false);\n connect(sectionLabel , \"textString\", item, \"section\");\n\n \n //var deleteButton = new lively.morphic.Button(new Rectangle(width-100,40,90,40), \"Delete Item\");\n //deleteButton.applyStyle({ fill: Color.rgbHex(\"#BC3618\"), label:{fontSize: 10,textColor: Color.white, textDecoration: null, emphasize: null, padding: new Rectangle(0,10,0,0)}});\n //deleteButton.setVisible(false);\n //node.addMorph(deleteButton);\n \n\n\n return node;\n}).tag([]);","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":1101},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":1640},"derivationIds":[219,"DD5046D0-C1D6-412A-83C9-CD7EE63D40E0","4D92BDFD-A599-4154-A197-A4B1292C1619","98551F68-B128-4262-9BC2-6B8AC7C8D7C0","47731662-FF8E-4C0F-A170-FD5C56A06021","3FC7FDE6-156F-4056-BB04-B76D8B6C5472","C1E8D5BB-56F9-47B3-A520-BEEFEF791823","115FC149-EEF9-415A-A5B7-AB0B9D0170A4","0D66FA39-01E7-4F16-840C-4FA0FA14DD10","B0A74693-DE3F-4867-8DC0-61B098A8F0D1","3547765B-E224-48EC-B58F-278C1DC7422E","8561ACCF-315A-46EC-9412-BC5D4C55D437","533D6602-9E1A-414A-9646-0FEF9ECCEBF7","5141CF81-6EA1-419B-97AC-62C22FEFC658","B9E83FD9-9781-4F00-8A07-0C96E0D29D3D","034F48B5-B4B1-4DF5-9FA5-9A9CFB99F43A"],"_Position":{"__isSmartRef__":true,"id":1655},"owner":{"__isSmartRef__":true,"id":1101},"syntaxHighlightingWhileTyping":true,"parseErrors":null,"#startLetters":"enable","_Rotation":0,"_Scale":1,"textString":"// changed at Wed May 30 2012 09:25:19 GMT-0700 (Pacific Daylight Time) by bgnauk \nthis.addScript(function createNodeFromItem(item) {\n \n var width = this.get(\"DocList\").getExtent().x;\n var thumbnailSize = 0;\n var titleLabelWidth = 700;\n var titleLabelHeight = 20;\n\n ratingItems = [\n {id:1, string: \"Complete\"},\n {id:2, string: \"Needs some Polishing\"},\n {id:3, string: \"Draft\"},\n {id:4, string: \"Deprecated\"},\n ];\n\n getRatingItem = function(id) {\n var s = \"\";\n for (var i = 0; i < ratingItems.length; i++) {\n if (ratingItems[i].id === id) {\n s = ratingItems[i].string;\n }\n }\n return s;\n }\n\n\t\n var node = Morph.makeRectangle(0,0,width,120);\n node.isLivelyWorldNode = true;\n node.disableGrabbing();\n node.applyStyle({fill: Color.white, toolTip: item.url, borderWidth: 0, borderRadius: 10});\n node.svnVersionInfo = item.svnVersionInfo;\n\n\n // Is the page available (are svn infos there about it)? \n if (!(item.svnVersionInfo && item.svnVersionInfo.date && item.svnVersionInfo.author)){\n node.setFill(Color.rgbHex(\"#FFCCCC\"));\n }\n\n \n node.addScript(function getSVNInfos(propfindXML){\n if (propfindXML.documentElement){\n var rawNodes = new Query(\"/D:multistatus/D:response\").findAll(propfindXML.documentElement);\n var svnVersionInfos = rawNodes.map(function(rawNode) { return SVNVersionInfo.fromPropfindNode(rawNode) });\n this.svnVersionInfo = svnVersionInfos.first();\n }\n else {\n this.svnVersionInfo = null;\n }\n });\n connect(node, \"svnVersionInfo\", item, \"svnVersionInfo\");\n \n // Screenshot\n //var defaultImage = \"http://lively-kernel.org/media/livelylogo-small.png\";\n //if (!item.picture) {\n // item.picture = defaultImage;\n //}\n //var img = new lively.morphic.Image(new Rectangle(10,10,thumbnailSize,thumbnailSize), item.picture, false);\n\n //node.addMorph(img);\n\n\n\n\n // Dropdown box for rating\n var rating = new lively.morphic.DropDownList(new Rectangle(width-150,50,140 ,titleLabelHeight), ratingItems);\n node.addMorph(rating);\n connect(rating, \"selection\", item, \"rating\", {converter: function(ea){return ea.id;}});\n if (item.rating) {\n var list = rating.getList();\n var idx = 0;\n for (var i = 0; i < list.length; i++) {\n if (list[i].id === item.rating) {\n idx = i;\n }\n }\n rating.selectAt(idx);\n }\n rating.setVisible(false);\n\trating.customEditingStyle = function(editable) {\n\t\tthis.setVisible(editable);\n\t};\n\t//connect(this.get(\"CheckBox\"), \"checked\", rating, \"setVisible\");\n\n \n var ratingLabel = new lively.morphic.Text(new Rectangle(width-190,50,180,20), \"Rating\"); //getRatingItem(item.rating));\n ratingLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n\n node.addMorph(ratingLabel);\n if (!item.rating) item.rating=0;\n \n\tconnect({}, \"test\", ratingLabel , \"textString\"\n\t, {\n\t\tconverter: function(ea){\n\t\t\tvar s = \"\";\n\t\t\tfor (var i = 0; i < ratingItems.length; i++) {\n\t\t\t\tif (ratingItems[i].id === ea) {\n\t\t\t\t\ts = ratingItems[i].string;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn s;\n\t\t}\n\t}); \n\tratingLabel.customEditingStyle = function(editable) {\n\t\tthis.setVisible(!editable);\n\t};\n this.applyEditingStyle(ratingLabel , false);\n\n // connect(this.get(\"CheckBox\"), \"checked\", ratingLabel, \"setVisible\", {converter: function(ea){return !ea;}});\n \n\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for title\n var titleLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,10,titleLabelWidth-thumbnailSize-20 ,titleLabelHeight ), item.title);\n titleLabel.applyStyle({fontWeight: \"bold\", borderWidth: 0, fixedWidth: titleLabelWidth, fixedHeight:titleLabelHeight }).disableGrabbing();\n node.addMorph(titleLabel);\n this.applyEditingStyle(titleLabel, false);\n connect(titleLabel, \"textString\", item, \"title\");\n \n // Adding label for description\n var descriptionLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,40,width-thumbnailSize-230,40), item.description);\n descriptionLabel.applyStyle({ borderWidth: 0}).disableGrabbing();\n // descriptionLabel .beLabel();\n node.addMorph(descriptionLabel);\n this.applyEditingStyle(descriptionLabel, false);\n connect(descriptionLabel, \"textString\", item, \"description\");\n \n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for URL\n var urlLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,90,width-30-thumbnailSize,20), item.url);\n urlLabel.applyStyle({ borderWidth: 0, textDecoration: \"underline\"}).disableGrabbing();\n // descriptionLabel .beLabel();\n urlLabel.setHandStyle(\"pointer\");\n this.applyEditingStyle(urlLabel, false);\n urlLabel.realURL = '';\n urlLabel.shortURL = '';\n connect(urlLabel, 'realURL', urlLabel, 'shortURL',{converter: function(val) { \n var s =\"\";\n s+=val;\n var l = s.length;\n console.log(\"Real URL: \"+s);\n return '... '+s.substr(l - 70, l-1);\n }});\n urlLabel.realURL = item.url;\n urlLabel.textString = urlLabel.shortURL;\n connect(urlLabel, \"realURL\", item, \"url\");\n connect(urlLabel, \"realURL\", node, \"url\");\n node.url = item.url;\n urlLabel.realURL = item.url;\n \n urlLabel.onClick = function(evt){ window.open(item.url);};\n urlLabel.registerForMouseEvents();\n urlLabel.addScript(function customEditingStyle(editable){\n if (editable) {\n this.textString = this.realURL;\n connect(this, 'textString', this, 'realURL');\n this.onClick = function(evt){return false;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"\"});\n this.setHandStyle(\"text\");\n }\n else {\n disconnect(this, 'textString', this, 'realURL');\n this.textString = this.shortURL;\n this.onClick = function(evt){ window.open(this.textString); return true;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"underline\"});\n this.setHandStyle(\"pointer\");\n }\n\n });\n node.addMorph(urlLabel);\n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n // Adding label for latest change\n var latestChangeLabel = new lively.morphic.Text(new Rectangle(width-290,90,280,20), \"\");\n latestChangeLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(latestChangeLabel);\n this.applyEditingStyle(latestChangeLabel, false);\n latestChangeLabel.addScript(function setSVNInfo(svn){\n if (svn && svn.date && svn.author){\n var d = svn.date.toDateString();\n var a = svn.author;\n this.textString = \"Last update by \"+a+\" on \"+d;\n }\n else{\n this.textString = \"\";\n }\n });\n latestChangeLabel.addScript(function customEditingStyle(editable){\n this.setVisible(!editable);\n\n });\n latestChangeLabel.setSVNInfo(item.svnVersionInfo);\n connect(node, \"svnVersionInfo\", latestChangeLabel, \"setSVNInfo\", {});\n\n node.setClipMode('hidden');\n\n // Adding label for section\n var sectionLabel = new lively.morphic.Text(new Rectangle(width-190,10,180,20), item.section);\n sectionLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(sectionLabel );\n this.applyEditingStyle(sectionLabel , false);\n connect(sectionLabel , \"textString\", item, \"section\");\n\n \n //var deleteButton = new lively.morphic.Button(new Rectangle(width-100,40,90,40), \"Delete Item\");\n //deleteButton.applyStyle({ fill: Color.rgbHex(\"#BC3618\"), label:{fontSize: 10,textColor: Color.white, textDecoration: null, emphasize: null, padding: new Rectangle(0,10,0,0)}});\n //deleteButton.setVisible(false);\n //node.addMorph(deleteButton);\n \n\n\n return node;\n}).tag([]);","priorSelectionRange":[2466,2466],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1656},"__LivelyClassName__":"lively.morphic.Text"},"1598":{"_Position":{"__isSmartRef__":true,"id":1599},"_Extent":{"__isSmartRef__":true,"id":1600},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1601},"_Fill":{"__isSmartRef__":true,"id":1602},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1603},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":1604},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1599":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1600":{"x":691.0285365288845,"y":475.61253261443596,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1601":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1602":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1603":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"1604":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1605":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1606":{"style":{"__isSmartRef__":true,"id":1607},"chunkOwner":{"__isSmartRef__":true,"id":1597},"storedString":"// changed at Wed May 30 2012 09:25:19 GMT-0700 (Pacific Daylight Time) by bgnauk \nthis.addScript(function createNodeFromItem(item) {\n \n var width = this.get(\"DocList\").getExtent().x;\n var thumbnailSize = 0;\n var titleLabelWidth = 700;\n var titleLabelHeight = 20;\n\n ratingItems = [\n {id:1, string: \"Complete\"},\n {id:2, string: \"Needs some Polishing\"},\n {id:3, string: \"Draft\"},\n {id:4, string: \"Deprecated\"},\n ];\n\n getRatingItem = function(id) {\n var s = \"\";\n for (var i = 0; i < ratingItems.length; i++) {\n if (ratingItems[i].id === id) {\n s = ratingItems[i].string;\n }\n }\n return s;\n }\n\n\t\n var node = Morph.makeRectangle(0,0,width,120);\n node.isLivelyWorldNode = true;\n node.disableGrabbing();\n node.applyStyle({fill: Color.white, toolTip: item.url, borderWidth: 0, borderRadius: 10});\n node.svnVersionInfo = item.svnVersionInfo;\n\n\n // Is the page available (are svn infos there about it)? \n if (!(item.svnVersionInfo && item.svnVersionInfo.date && item.svnVersionInfo.author)){\n node.setFill(Color.rgbHex(\"#FFCCCC\"));\n }\n\n \n node.addScript(function getSVNInfos(propfindXML){\n if (propfindXML.documentElement){\n var rawNodes = new Query(\"/D:multistatus/D:response\").findAll(propfindXML.documentElement);\n var svnVersionInfos = rawNodes.map(function(rawNode) { return SVNVersionInfo.fromPropfindNode(rawNode) });\n this.svnVersionInfo = svnVersionInfos.first();\n }\n else {\n this.svnVersionInfo = null;\n }\n });\n connect(node, \"svnVersionInfo\", item, \"svnVersionInfo\");\n \n // Screenshot\n //var defaultImage = \"http://lively-kernel.org/media/livelylogo-small.png\";\n //if (!item.picture) {\n // item.picture = defaultImage;\n //}\n //var img = new lively.morphic.Image(new Rectangle(10,10,thumbnailSize,thumbnailSize), item.picture, false);\n\n //node.addMorph(img);\n\n\n\n\n // Dropdown box for rating\n var rating = new lively.morphic.DropDownList(new Rectangle(width-150,50,140 ,titleLabelHeight), ratingItems);\n node.addMorph(rating);\n connect(rating, \"selection\", item, \"rating\", {converter: function(ea){return ea.id;}});\n if (item.rating) {\n var list = rating.getList();\n var idx = 0;\n for (var i = 0; i < list.length; i++) {\n if (list[i].id === item.rating) {\n idx = i;\n }\n }\n rating.selectAt(idx);\n }\n rating.setVisible(false);\n\trating.customEditingStyle = function(editable) {\n\t\tthis.setVisible(editable);\n\t};\n\t//connect(this.get(\"CheckBox\"), \"checked\", rating, \"setVisible\");\n\n \n var ratingLabel = new lively.morphic.Text(new Rectangle(width-190,50,180,20), \"Rating\"); //getRatingItem(item.rating));\n ratingLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n\n node.addMorph(ratingLabel);\n if (!item.rating) item.rating=0;\n \n\tconnect({}, \"test\", ratingLabel , \"textString\"\n\t, {\n\t\tconverter: function(ea){\n\t\t\tvar s = \"\";\n\t\t\tfor (var i = 0; i < ratingItems.length; i++) {\n\t\t\t\tif (ratingItems[i].id === ea) {\n\t\t\t\t\ts = ratingItems[i].string;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn s;\n\t\t}\n\t}); \n\tratingLabel.customEditingStyle = function(editable) {\n\t\tthis.setVisible(!editable);\n\t};\n this.applyEditingStyle(ratingLabel , false);\n\n // connect(this.get(\"CheckBox\"), \"checked\", ratingLabel, \"setVisible\", {converter: function(ea){return !ea;}});\n \n\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for title\n var titleLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,10,titleLabelWidth-thumbnailSize-20 ,titleLabelHeight ), item.title);\n titleLabel.applyStyle({fontWeight: \"bold\", borderWidth: 0, fixedWidth: titleLabelWidth, fixedHeight:titleLabelHeight }).disableGrabbing();\n node.addMorph(titleLabel);\n this.applyEditingStyle(titleLabel, false);\n connect(titleLabel, \"textString\", item, \"title\");\n \n // Adding label for description\n var descriptionLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,40,width-thumbnailSize-230,40), item.description);\n descriptionLabel.applyStyle({ borderWidth: 0}).disableGrabbing();\n // descriptionLabel .beLabel();\n node.addMorph(descriptionLabel);\n this.applyEditingStyle(descriptionLabel, false);\n connect(descriptionLabel, \"textString\", item, \"description\");\n \n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n // Adding label for URL\n var urlLabel = new lively.morphic.Text(new Rectangle(20 + thumbnailSize,90,width-30-thumbnailSize,20), item.url);\n urlLabel.applyStyle({ borderWidth: 0, textDecoration: \"underline\"}).disableGrabbing();\n // descriptionLabel .beLabel();\n urlLabel.setHandStyle(\"pointer\");\n this.applyEditingStyle(urlLabel, false);\n urlLabel.realURL = '';\n urlLabel.shortURL = '';\n connect(urlLabel, 'realURL', urlLabel, 'shortURL',{converter: function(val) { \n var s =\"\";\n s+=val;\n var l = s.length;\n console.log(\"Real URL: \"+s);\n return '... '+s.substr(l - 70, l-1);\n }});\n urlLabel.realURL = item.url;\n urlLabel.textString = urlLabel.shortURL;\n connect(urlLabel, \"realURL\", item, \"url\");\n connect(urlLabel, \"realURL\", node, \"url\");\n node.url = item.url;\n urlLabel.realURL = item.url;\n \n urlLabel.onClick = function(evt){ window.open(item.url);};\n urlLabel.registerForMouseEvents();\n urlLabel.addScript(function customEditingStyle(editable){\n if (editable) {\n this.textString = this.realURL;\n connect(this, 'textString', this, 'realURL');\n this.onClick = function(evt){return false;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"\"});\n this.setHandStyle(\"text\");\n }\n else {\n disconnect(this, 'textString', this, 'realURL');\n this.textString = this.shortURL;\n this.onClick = function(evt){ window.open(this.textString); return true;};\n this.registerForMouseEvents();\n this.applyStyle({textDecoration: \"underline\"});\n this.setHandStyle(\"pointer\");\n }\n\n });\n node.addMorph(urlLabel);\n \n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n // Adding label for latest change\n var latestChangeLabel = new lively.morphic.Text(new Rectangle(width-290,90,280,20), \"\");\n latestChangeLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(latestChangeLabel);\n this.applyEditingStyle(latestChangeLabel, false);\n latestChangeLabel.addScript(function setSVNInfo(svn){\n if (svn && svn.date && svn.author){\n var d = svn.date.toDateString();\n var a = svn.author;\n this.textString = \"Last update by \"+a+\" on \"+d;\n }\n else{\n this.textString = \"\";\n }\n });\n latestChangeLabel.addScript(function customEditingStyle(editable){\n this.setVisible(!editable);\n\n });\n latestChangeLabel.setSVNInfo(item.svnVersionInfo);\n connect(node, \"svnVersionInfo\", latestChangeLabel, \"setSVNInfo\", {});\n\n node.setClipMode('hidden');\n\n // Adding label for section\n var sectionLabel = new lively.morphic.Text(new Rectangle(width-190,10,180,20), item.section);\n sectionLabel.applyStyle({ borderWidth: 0, align: \"right\"}).disableGrabbing();\n //sectionLabel .beLabel();\n node.addMorph(sectionLabel );\n this.applyEditingStyle(sectionLabel , false);\n connect(sectionLabel , \"textString\", item, \"section\");\n\n \n //var deleteButton = new lively.morphic.Button(new Rectangle(width-100,40,90,40), \"Delete Item\");\n //deleteButton.applyStyle({ fill: Color.rgbHex(\"#BC3618\"), label:{fontSize: 10,textColor: Color.white, textDecoration: null, emphasize: null, padding: new Rectangle(0,10,0,0)}});\n //deleteButton.setVisible(false);\n //node.addMorph(deleteButton);\n \n\n\n return node;\n}).tag([]);","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1607":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1608":{"resizeWidth":true,"resizeHeight":true},"1609":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1610":{"x":691.0285365288845,"y":475.61253261443596,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1611":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1612":{"morph":{"__isSmartRef__":true,"id":1597},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1613":{"sourceObj":{"__isSmartRef__":true,"id":1597},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1614},"targetMethodName":"indicateUnsavedChanges","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1614":{"submorphs":[],"scripts":[],"id":"938F481F-160C-48E8-841D-79AA97155076","shape":{"__isSmartRef__":true,"id":1615},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1621},"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":1622},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1623},"eventHandler":{"__isSmartRef__":true,"id":1624},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":1101},"priorExtent":{"__isSmartRef__":true,"id":1625},"layout":{"__isSmartRef__":true,"id":1626},"isBeingDragged":false,"savedColor":{"__isSmartRef__":true,"id":1618},"alarmColor":{"__isSmartRef__":true,"id":1627},"grabbingEnabled":false,"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1628},"isCopyMorphRef":true,"morphRefId":26,"derivationIds":[220,"EE491D24-F056-4AFE-A669-7B7048C6C3D1","3FA4A8C3-0FC0-43A0-8C00-00A96F9022E2","62DAD3C6-A81D-450F-B32F-601EA7E619D8","EEDB0C58-5990-481A-A7FF-ACB1A2DF08DD","16F708CB-1259-4A75-BAEF-1A5216C6CB19","97CA61D3-E09B-43CD-9880-D8B36FA303F3","0AF6BEEC-8A57-44FF-9D8D-40BA6CC6A0CD","AF2BEE76-C34F-457E-8699-9896327A4C07","5EC39FF0-602F-44A2-BE3A-04FCA127E5D1","44CEBF61-9A92-4E36-9576-425D5054B471","E9ACF86B-B775-4125-83BC-7E4500597D40","FE62294A-F891-45E4-AAE7-6F386B5A8CB5","8771140D-0D57-4CAF-A57B-857F858CCC73","BE774795-5889-4DB8-A366-1C774555761B","89DA16ED-5636-4C0D-B52F-A327A5526DD6"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1629},"__LivelyClassName__":"lively.morphic.Box"},"1615":{"position":{"__isSmartRef__":true,"id":1616},"_Extent":{"__isSmartRef__":true,"id":1617},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1618},"_Fill":{"__isSmartRef__":true,"id":1618},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1619},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1620},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1616":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1617":{"x":8.637782619743348,"y":9.712632235981744,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1618":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1619":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"1620":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1621":{"x":883.0245425248855,"y":39.999999999999986,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1622":{"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"},"1623":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1624":{"morph":{"__isSmartRef__":true,"id":1614},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1625":{"x":8.637782619743348,"y":10.787481852220026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1626":{"moveHorizontal":true,"adjustForNewBounds":true},"1627":{"r":0.9411764705882353,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1628":{"x":37.328206296760186,"y":-17.53316489131697,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1629":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":1630},"setColors":{"__isSmartRef__":true,"id":1634}},"1630":{"varMapping":{"__isSmartRef__":true,"id":1631},"source":"function indicateUnsavedChanges() {\n if (this.owner.scriptPane.hasChanged()) {\n this.setColors(this.alarmColor);\n } else {\n this.setColors(this.savedColor);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1632},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1631":{"this":{"__isSmartRef__":true,"id":1614}},"1632":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":1633}},"1633":{"isSerializedDate":true,"string":"Tue Sep 27 2011 11:09:19 GMT-0700 (Pacific Daylight Time)"},"1634":{"varMapping":{"__isSmartRef__":true,"id":1635},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":1636},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1635":{"this":{"__isSmartRef__":true,"id":1614}},"1636":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":1637}},"1637":{"isSerializedDate":true,"string":"Tue Sep 27 2011 10:06:09 GMT-0700 (Pacific Daylight Time)"},"1638":{"sourceObj":{"__isSmartRef__":true,"id":1597},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1597},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1639":{"x":341.1979959929888,"y":-18.288721442524036,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1640":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1641},"id":553,"renderContextTable":{"__isSmartRef__":true,"id":1648},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1649}],"eventHandler":{"__isSmartRef__":true,"id":1651},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_Position":{"__isSmartRef__":true,"id":1652},"priorExtent":{"__isSmartRef__":true,"id":1653},"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","_TextColor":{"__isSmartRef__":true,"id":1654},"owner":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1641":{"_Position":{"__isSmartRef__":true,"id":1642},"renderContextTable":{"__isSmartRef__":true,"id":1643},"_Extent":{"__isSmartRef__":true,"id":1644},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1645},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1646},"_Fill":{"__isSmartRef__":true,"id":1647},"_StrokeOpacity":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1642":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1643":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"1644":{"x":100,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1645":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1646":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1647":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1648":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1649":{"style":{"__isSmartRef__":true,"id":1650},"chunkOwner":{"__isSmartRef__":true,"id":1640},"storedString":"saved source","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1650":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1651":{"morph":{"__isSmartRef__":true,"id":1640},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1652":{"x":295.51426826444225,"y":225.30626630721798,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1653":{"x":100,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1654":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1655":{"x":200,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1656":{"doSave":{"__isSmartRef__":true,"id":1657},"boundEval":{"__isSmartRef__":true,"id":1665},"reset":{"__isSmartRef__":true,"id":1673},"display":{"__isSmartRef__":true,"id":1677},"hasChanged":{"__isSmartRef__":true,"id":1681},"setTarget":{"__isSmartRef__":true,"id":1685},"displayStatus":{"__isSmartRef__":true,"id":1689}},"1657":{"varMapping":{"__isSmartRef__":true,"id":1658},"source":"function doSave() {\n $super();\n var saved = this.boundEval(this.getTextString());\n if (saved) {\n this.lastSaveSource = this.textString;\n this.owner.changeIndicator.indicateUnsavedChanges();\n this.owner.updateLists();\n this.owner.selectChangedContent(this.getTextString());\n this.displayStatus(\"saved source\", Color.green);\n } else {\n this.displayStatus(\"not saved\", Color.red);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1663},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1658":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1659}},"1659":{"$super":{"__isSmartRef__":true,"id":1660}},"1660":{"varMapping":{"__isSmartRef__":true,"id":1661},"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":1662},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1661":{"obj":{"__isSmartRef__":true,"id":1597},"name":"doSave"},"1662":{},"1663":{"timestamp":{"__isSmartRef__":true,"id":1664},"user":"lauritz"},"1664":{"isSerializedDate":true,"string":"Thu Nov 17 2011 14:15:19 GMT-0800 (Pacific Standard Time)"},"1665":{"varMapping":{"__isSmartRef__":true,"id":1666},"source":"function boundEval(str) {\n var result;\n\n this.objectEditorPane.ensureAnnotationLayer();\n withLayers([ScriptAnnotationLayer], function() {\n result = $super(str);\n })\n \n return result\n}","funcProperties":{"__isSmartRef__":true,"id":1671},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1666":{"this":{"__isSmartRef__":true,"id":1597},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1667}},"1667":{"$super":{"__isSmartRef__":true,"id":1668}},"1668":{"varMapping":{"__isSmartRef__":true,"id":1669},"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":1670},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1669":{"obj":{"__isSmartRef__":true,"id":1597},"name":"boundEval"},"1670":{},"1671":{"timestamp":{"__isSmartRef__":true,"id":1672},"user":"lauritz","categories":[]},"1672":{"isSerializedDate":true,"string":"Tue Nov 15 2011 20:41:53 GMT-0800 (Pacific Standard Time)"},"1673":{"varMapping":{"__isSmartRef__":true,"id":1674},"source":"function reset() {\n this.doitContext = null;\n this.lastSaveSource = \"\";\n this.textString = \"\";\n this.lastSaveSource = this.textString;\n this.enableSyntaxHighlighting();\n}","funcProperties":{"__isSmartRef__":true,"id":1675},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1674":{"this":{"__isSmartRef__":true,"id":1597}},"1675":{"timestamp":{"__isSmartRef__":true,"id":1676},"user":"cschuster","tags":[]},"1676":{"isSerializedDate":true,"string":"Wed May 16 2012 11:52:57 GMT-0700 (Pacific Daylight Time)"},"1677":{"varMapping":{"__isSmartRef__":true,"id":1678},"source":"function display(jsCode) {\n this.lastSaveSource = jsCode;\n this.setTextString(jsCode);\n this.highlightJavaScriptSyntax();\n this.applyStyle({align: 'left'});\n}","funcProperties":{"__isSmartRef__":true,"id":1679},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1678":{"this":{"__isSmartRef__":true,"id":1597}},"1679":{"timestamp":{"__isSmartRef__":true,"id":1680},"user":"lauritz","categories":[]},"1680":{"isSerializedDate":true,"string":"Tue Sep 27 2011 10:47:57 GMT-0700 (Pacific Daylight Time)"},"1681":{"varMapping":{"__isSmartRef__":true,"id":1682},"source":"function hasChanged() {\n var cleanText = function (string) {\n var source = string.trim();\n if (source.substring(0,2) === \"//\") {\n // removes annotation line\n source = source.substring(source.indexOf(\"\\n\"), source.length);\n source = source.trim();\n }\n if (source === 'undefined' || source === 'null') source = '';\n return source;\n }\n var cleanedTextString = cleanText(this.textString);\n var cleanedLastSource = cleanText(this.lastSaveSource);\n return cleanedTextString !== cleanedLastSource;\n}","funcProperties":{"__isSmartRef__":true,"id":1683},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1682":{"this":{"__isSmartRef__":true,"id":1597}},"1683":{"timestamp":{"__isSmartRef__":true,"id":1684},"user":"lauritz","categories":[]},"1684":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:29:45 GMT-0700 (Pacific Daylight Time)"},"1685":{"varMapping":{"__isSmartRef__":true,"id":1686},"source":"function setTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = target;\n}","funcProperties":{"__isSmartRef__":true,"id":1687},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1686":{"this":{"__isSmartRef__":true,"id":1597}},"1687":{"timestamp":{"__isSmartRef__":true,"id":1688},"user":"lauritz","categories":[]},"1688":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:30:39 GMT-0800 (Pacific Standard Time)"},"1689":{"varMapping":{"__isSmartRef__":true,"id":1690},"source":"function displayStatus(msg, color, delay) {\n if (!this.statusMorph) {\n this.statusMorph = new TextMorph(pt(100,25).extentAsRectangle());\n this.statusMorph.applyStyle({borderWidth: 1, strokeOpacity: 0, borderColor: Color.gray});\n this.statusMorph.setFill(this.owner.getFill());\n this.statusMorph.setFontSize(11);\n this.statusMorph.setAlign('center');\n this.statusMorph.setVerticalAlign('center');\n }\n this.statusMorph.setTextString(msg);\n this.statusMorph.centerAt(this.innerBounds().center());\n this.statusMorph.setTextColor(color || Color.black);\n this.addMorph(this.statusMorph);\n (function() { this.statusMorph.remove() }).bind(this).delay(delay || 2); \n}","funcProperties":{"__isSmartRef__":true,"id":1691},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1690":{"this":{"__isSmartRef__":true,"id":1597}},"1691":{"timestamp":{"__isSmartRef__":true,"id":1692},"user":"lauritz","categories":[]},"1692":{"isSerializedDate":true,"string":"Wed Nov 23 2011 09:23:05 GMT-0800 (Pacific Standard Time)"},"1693":{"submorphs":[{"__isSmartRef__":true,"id":1694}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":1708},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1723},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1711},"lighterFill":{"__isSmartRef__":true,"id":1724},"label":{"__isSmartRef__":true,"id":1694},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":1733},"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1734},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":1735},"renderContextTable":{"__isSmartRef__":true,"id":1736},"eventHandler":{"__isSmartRef__":true,"id":1737},"__LivelyClassName__":"lively.morphic.Button"},"1694":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":1695},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1700},"textColor":{"__isSmartRef__":true,"id":1698},"owner":{"__isSmartRef__":true,"id":1693},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1701}],"padding":{"__isSmartRef__":true,"id":1703},"_Padding":{"__isSmartRef__":true,"id":1704},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1705},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1706},"eventHandler":{"__isSmartRef__":true,"id":1707},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"1695":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1696},"_Extent":{"__isSmartRef__":true,"id":1697},"_BorderColor":{"__isSmartRef__":true,"id":1698},"renderContextTable":{"__isSmartRef__":true,"id":1699},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1696":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1697":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1698":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1699":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1700":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1701":{"style":{"__isSmartRef__":true,"id":1702},"chunkOwner":{"__isSmartRef__":true,"id":1694},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1702":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1703":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1704":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1705":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1706":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1707":{"morph":{"__isSmartRef__":true,"id":1694},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1708":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1709},"_Extent":{"__isSmartRef__":true,"id":1710},"_Fill":{"__isSmartRef__":true,"id":1711},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1721},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1722},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1709":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1710":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1711":{"stops":[{"__isSmartRef__":true,"id":1712},{"__isSmartRef__":true,"id":1714},{"__isSmartRef__":true,"id":1716},{"__isSmartRef__":true,"id":1718}],"vector":{"__isSmartRef__":true,"id":1720},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1712":{"offset":0,"color":{"__isSmartRef__":true,"id":1713}},"1713":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1714":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1715}},"1715":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1716":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1717}},"1717":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1718":{"offset":1,"color":{"__isSmartRef__":true,"id":1719}},"1719":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1720":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1721":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1722":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1723":{"x":820,"y":8.999999999999972,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1724":{"stops":[{"__isSmartRef__":true,"id":1725},{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1729},{"__isSmartRef__":true,"id":1731}],"vector":{"__isSmartRef__":true,"id":1720},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1725":{"offset":0,"color":{"__isSmartRef__":true,"id":1726}},"1726":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1727":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1728}},"1728":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1729":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1730}},"1730":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1731":{"offset":1,"color":{"__isSmartRef__":true,"id":1732}},"1732":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1733":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1734":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1735":{"moveHorizontal":true},"1736":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1737":{"morph":{"__isSmartRef__":true,"id":1693},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1738":{"submorphs":[],"scripts":[],"id":"8B7FCC51-8B06-48FA-BBC2-73DD26D0B155","shape":{"__isSmartRef__":true,"id":1739},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1746},"itemList":["-- ALL --"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":1747},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1101},"priorExtent":{"__isSmartRef__":true,"id":1748},"attributeConnections":[{"__isSmartRef__":true,"id":1749}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":1754},"renderContextTable":{"__isSmartRef__":true,"id":1755},"eventHandler":{"__isSmartRef__":true,"id":1756},"_FontSize":10,"distanceToDragEvent":{"__isSmartRef__":true,"id":1757},"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":19,"derivationIds":[209,"3900F5DF-0FF7-4C94-8BDB-44AAE12B4A3E","35301083-B60D-4A43-8566-23860EEB4C04","9CC401CC-5A35-4643-935B-FD049C284E16","C9879D40-5E79-4C56-AA79-562ED82BF052","9F6F9261-EB76-4B58-B77D-7D70813A1ED7","8B59E237-F372-4F70-9768-7E9C1A7A021D","FC85F1B9-1978-42D2-850C-BD249981E8B4","D2B607C6-A89B-4B3F-91BB-720451EAB98D","CC361093-FF73-479B-9431-C645CB48F518","307D3B7C-C0E1-484F-8D7E-39FBA9D8EDA5","038AF132-861E-4A77-8756-E6B476413639","65B6CA87-98DE-4473-B4DD-F8763BC3B06A","0AA0E45B-6DCC-4AE0-938C-E53794A511DF","806ACC1C-1353-436B-B1FE-568846777C17","C74AE022-1184-4FDF-A53D-A17627FF61EA"],"selection":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1758},"__LivelyClassName__":"lively.morphic.List"},"1739":{"position":{"__isSmartRef__":true,"id":1740},"_Extent":{"__isSmartRef__":true,"id":1741},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1742},"_Fill":{"__isSmartRef__":true,"id":1743},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1744},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":1745},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1740":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1741":{"x":180,"y":74,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1742":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1743":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1744":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"1745":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1746":{"x":10,"y":441.5965565984398,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1747":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1748":{"x":180,"y":75,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1749":{"sourceObj":{"__isSmartRef__":true,"id":1738},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1101},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1750},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1751},"__LivelyClassName__":"AttributeConnection"},"1750":{"source":{"__isSmartRef__":true,"id":1738},"target":{"__isSmartRef__":true,"id":1101}},"1751":{"converter":{"__isSmartRef__":true,"id":1752}},"1752":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1750},"source":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","funcProperties":{"__isSmartRef__":true,"id":1753},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1753":{},"1754":{"resizeHeight":false,"moveVertical":true},"1755":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","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"},"1756":{"morph":{"__isSmartRef__":true,"id":1738},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1757":{"x":124.95989979964943,"y":-17.076643708895745,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1758":{"preselectItem":{"__isSmartRef__":true,"id":1759}},"1759":{"varMapping":{"__isSmartRef__":true,"id":1760},"source":"function preselectItem() {\n if (this.getList().size() === 2) {\n this.selectAt(1);\n } else {\n this.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1761},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1760":{"this":{"__isSmartRef__":true,"id":1738}},"1761":{"timestamp":{"__isSmartRef__":true,"id":1762},"user":"lauritz"},"1762":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:12:58 GMT-0800 (Pacific Standard Time)"},"1763":{"submorphs":[{"__isSmartRef__":true,"id":1764}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":1777},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1792},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1780},"lighterFill":{"__isSmartRef__":true,"id":1793},"label":{"__isSmartRef__":true,"id":1764},"attributeConnections":[{"__isSmartRef__":true,"id":1802}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":1803},"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1804},"_Scale":1,"owner":null,"renderContextTable":{"__isSmartRef__":true,"id":1805},"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Button"},"1764":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":1765},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1770},"textColor":{"__isSmartRef__":true,"id":1768},"owner":{"__isSmartRef__":true,"id":1763},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1771}],"padding":{"__isSmartRef__":true,"id":1773},"_Padding":{"__isSmartRef__":true,"id":1774},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1775},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1776},"__LivelyClassName__":"lively.morphic.Text"},"1765":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1766},"_Extent":{"__isSmartRef__":true,"id":1767},"_BorderColor":{"__isSmartRef__":true,"id":1768},"renderContextTable":{"__isSmartRef__":true,"id":1769},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1766":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1767":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1768":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1769":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1770":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1771":{"style":{"__isSmartRef__":true,"id":1772},"chunkOwner":{"__isSmartRef__":true,"id":1764},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1772":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1773":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1774":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1775":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1776":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1777":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1778},"_Extent":{"__isSmartRef__":true,"id":1779},"_Fill":{"__isSmartRef__":true,"id":1780},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1790},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1791},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1778":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1779":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1780":{"stops":[{"__isSmartRef__":true,"id":1781},{"__isSmartRef__":true,"id":1783},{"__isSmartRef__":true,"id":1785},{"__isSmartRef__":true,"id":1787}],"vector":{"__isSmartRef__":true,"id":1789},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1781":{"offset":0,"color":{"__isSmartRef__":true,"id":1782}},"1782":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1783":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1784}},"1784":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1785":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1786}},"1786":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1787":{"offset":1,"color":{"__isSmartRef__":true,"id":1788}},"1788":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1789":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1790":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1791":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1792":{"x":215,"y":35,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1793":{"stops":[{"__isSmartRef__":true,"id":1794},{"__isSmartRef__":true,"id":1796},{"__isSmartRef__":true,"id":1798},{"__isSmartRef__":true,"id":1800}],"vector":{"__isSmartRef__":true,"id":1789},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1794":{"offset":0,"color":{"__isSmartRef__":true,"id":1795}},"1795":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1796":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1797}},"1797":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1798":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1799}},"1799":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1800":{"offset":1,"color":{"__isSmartRef__":true,"id":1801}},"1801":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1802":{"sourceObj":{"__isSmartRef__":true,"id":1763},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1119},"targetMethodName":"chooseTargetMorphMenu","__SourceModuleName__":"Global.lively.bindings","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection"},"1803":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1804":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1805":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1806":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1807":{"x":715.5,"y":73.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1808":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":1809},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1816},"_MaxTextWidth":218,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1817},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":1818},"textChunks":[{"__isSmartRef__":true,"id":1819}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":1821}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"priorExtent":{"__isSmartRef__":true,"id":1823},"_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":1824},"eventHandler":{"__isSmartRef__":true,"id":1825},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":1826},"selection":{"__isSmartRef__":true,"id":1100},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":1845},"_Rotation":0,"_Scale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":1846},"savedTextString":"100","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1847},"__LivelyClassName__":"lively.morphic.Text"},"1809":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1810},"_Extent":{"__isSmartRef__":true,"id":1811},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1812},"renderContextTable":{"__isSmartRef__":true,"id":1813},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1814},"_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":1815},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1810":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1811":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1812":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1813":{"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"},"1814":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1815":{"r":0.9548430751559654,"g":0.9548430751559654,"b":0.9548430751559654,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1816":{"x":200,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1817":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1818":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1819":{"style":{"__isSmartRef__":true,"id":1820},"chunkOwner":{"__isSmartRef__":true,"id":1808},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1820":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1821":{"sourceObj":{"__isSmartRef__":true,"id":1808},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1101},"targetMethodName":"setTarget","converter":null,"converterString":"function (name) { return $world.get(name)}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1822},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1822":{"source":{"__isSmartRef__":true,"id":1808},"target":{"__isSmartRef__":true,"id":1101}},"1823":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1824":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1825":{"morph":{"__isSmartRef__":true,"id":1808},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1826":{"createListMorph":{"__isSmartRef__":true,"id":1827},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1829},"onMouseUp":{"__isSmartRef__":true,"id":1831},"resetConnections":{"__isSmartRef__":true,"id":1833},"setTargetToListSelection":{"__isSmartRef__":true,"id":1835},"setTargetOfPane":{"__isSmartRef__":true,"id":1837},"onBlur":{"__isSmartRef__":true,"id":1839},"reset":{"__isSmartRef__":true,"id":1841},"onMouseDown":{"__isSmartRef__":true,"id":1843}},"1827":{"time":{"__isSmartRef__":true,"id":1828},"user":"lauritz"},"1828":{"isSerializedDate":true,"string":"Thu Oct 27 2011 20:27:29 GMT-0700 (Pacific Daylight Time)"},"1829":{"time":{"__isSmartRef__":true,"id":1830},"user":"lauritz"},"1830":{"isSerializedDate":true,"string":"Fri Oct 14 2011 14:48:37 GMT-0700 (Pacific Daylight Time)"},"1831":{"time":{"__isSmartRef__":true,"id":1832},"user":"lauritz"},"1832":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:51:14 GMT-0700 (Pacific Daylight Time)"},"1833":{"time":{"__isSmartRef__":true,"id":1834},"user":"lauritz"},"1834":{"isSerializedDate":true,"string":"Tue Sep 27 2011 16:03:17 GMT-0700 (Pacific Daylight Time)"},"1835":{"time":{"__isSmartRef__":true,"id":1836},"user":"lauritz"},"1836":{"isSerializedDate":true,"string":"Fri Oct 14 2011 15:00:58 GMT-0700 (Pacific Daylight Time)"},"1837":{"time":{"__isSmartRef__":true,"id":1838},"user":"lauritz"},"1838":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:34:37 GMT-0700 (Pacific Daylight Time)"},"1839":{"time":{"__isSmartRef__":true,"id":1840},"user":"lauritz"},"1840":{"isSerializedDate":true,"string":"Fri Oct 07 2011 10:24:18 GMT-0700 (Pacific Daylight Time)"},"1841":{"time":{"__isSmartRef__":true,"id":1842},"user":"lauritz"},"1842":{"isSerializedDate":true,"string":"Fri Oct 07 2011 10:26:15 GMT-0700 (Pacific Daylight Time)"},"1843":{"time":{"__isSmartRef__":true,"id":1844},"user":"lauritz"},"1844":{"isSerializedDate":true,"string":"Mon Oct 17 2011 10:49:00 GMT-0700 (Pacific Daylight Time)"},"1845":{},"1846":{"x":153.8540395186758,"y":-23.74126935194758,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1847":{"getList":{"__isSmartRef__":true,"id":1848},"setList":{"__isSmartRef__":true,"id":1851},"reset":{"__isSmartRef__":true,"id":1854},"example":{"__isSmartRef__":true,"id":1857},"removeList":{"__isSmartRef__":true,"id":1860},"onBlur":{"__isSmartRef__":true,"id":1863},"createListMorph":{"__isSmartRef__":true,"id":1870},"resetConnections":{"__isSmartRef__":true,"id":1873},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1876},"setTargetToListSelection":{"__isSmartRef__":true,"id":1879},"setTargetOfPane":{"__isSmartRef__":true,"id":1882},"onMouseDown":{"__isSmartRef__":true,"id":1885}},"1848":{"varMapping":{"__isSmartRef__":true,"id":1849},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":1850},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1849":{"this":{"__isSmartRef__":true,"id":1808}},"1850":{},"1851":{"varMapping":{"__isSmartRef__":true,"id":1852},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":1853},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1852":{"this":{"__isSmartRef__":true,"id":1808}},"1853":{},"1854":{"varMapping":{"__isSmartRef__":true,"id":1855},"source":"function reset() {\n this.list = [];\n this.textString = 'empty';\n this.removeList();\n this.resetConnections();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":1856},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1855":{"this":{"__isSmartRef__":true,"id":1808}},"1856":{},"1857":{"varMapping":{"__isSmartRef__":true,"id":1858},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n this.setList(Array.range(0,100));\n this.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":1859},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1858":{"this":{"__isSmartRef__":true,"id":1808}},"1859":{},"1860":{"varMapping":{"__isSmartRef__":true,"id":1861},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1862},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1861":{"this":{"__isSmartRef__":true,"id":1808}},"1862":{},"1863":{"varMapping":{"__isSmartRef__":true,"id":1864},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":1869},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1864":{"this":{"__isSmartRef__":true,"id":1808},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1865}},"1865":{"$super":{"__isSmartRef__":true,"id":1866}},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"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":1868},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1867":{"obj":{"__isSmartRef__":true,"id":1808},"name":"onBlur"},"1868":{},"1869":{},"1870":{"varMapping":{"__isSmartRef__":true,"id":1871},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 520));\n list.setList(this.getList());\n list.setFontSize(12);\n\n list.disableGrabbing();\n list.disableDragging();\n \n this.addMorph(list);\n list.setPosition(pt(0,0));\n\n connect(list, 'selection', this, 'setTargetToListSelection');\n \n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":1872},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1871":{"this":{"__isSmartRef__":true,"id":1808}},"1872":{},"1873":{"varMapping":{"__isSmartRef__":true,"id":1874},"source":"function resetConnections() {\n disconnectAll(this);\n connect(this, 'savedTextString', this.owner, 'setTarget', {converter: \n\tfunction (name) { return $world.get(name)}});\n}","funcProperties":{"__isSmartRef__":true,"id":1875},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1874":{"this":{"__isSmartRef__":true,"id":1808}},"1875":{},"1876":{"varMapping":{"__isSmartRef__":true,"id":1877},"source":"function displayTopLevelMorphs() {\n if (this.listMorph) { this.removeList(); return true }\n var list = this.createListMorph(); \n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":1878},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1877":{"this":{"__isSmartRef__":true,"id":1808}},"1878":{},"1879":{"varMapping":{"__isSmartRef__":true,"id":1880},"source":"function setTargetToListSelection(selection) { \n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1881},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1880":{"this":{"__isSmartRef__":true,"id":1808}},"1881":{},"1882":{"varMapping":{"__isSmartRef__":true,"id":1883},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":1884},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1883":{"this":{"__isSmartRef__":true,"id":1808}},"1884":{},"1885":{"varMapping":{"__isSmartRef__":true,"id":1886},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n return false;\n } else {\n this.displayTopLevelMorphs();\n return true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1891},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1886":{"this":{"__isSmartRef__":true,"id":1808},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1887}},"1887":{"$super":{"__isSmartRef__":true,"id":1888}},"1888":{"varMapping":{"__isSmartRef__":true,"id":1889},"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":1890},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1889":{"obj":{"__isSmartRef__":true,"id":1808},"name":"onMouseDown"},"1890":{},"1891":{},"1892":{"morph":{"__isSmartRef__":true,"id":1119},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1893":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1894},"setTarget":{"__isSmartRef__":true,"id":1897},"generateSourceForScript":{"__isSmartRef__":true,"id":1900},"generateSourceForConnection":{"__isSmartRef__":true,"id":1903},"generateTargetCode":{"__isSmartRef__":true,"id":1906},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":1909},"displayJavaScriptSource":{"__isSmartRef__":true,"id":1912},"displaySourceForScript":{"__isSmartRef__":true,"id":1915},"displaySourceForConnection":{"__isSmartRef__":true,"id":1918},"newScript":{"__isSmartRef__":true,"id":1921},"newConnection":{"__isSmartRef__":true,"id":1924},"deleteSelectedScript":{"__isSmartRef__":true,"id":1927},"disconnectConnection":{"__isSmartRef__":true,"id":1930},"updateLists":{"__isSmartRef__":true,"id":1933},"displayInitialScript":{"__isSmartRef__":true,"id":1936},"reset":{"__isSmartRef__":true,"id":1939},"selectChangedContent":{"__isSmartRef__":true,"id":1942}},"1894":{"varMapping":{"__isSmartRef__":true,"id":1895},"source":"function sortedScriptNamesOfObj(obj) {\n if (!Functions.own(obj) || Functions.own(obj).size() == 0) return [];\n return Functions.own(obj)\n\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":1896},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1895":{"this":{"__isSmartRef__":true,"id":1119}},"1896":{},"1897":{"varMapping":{"__isSmartRef__":true,"id":1898},"source":"function setTarget(morph) {\n this.reset();\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.morphSelector.textString = (this.target.getName() || this.target.toString());\n this.scriptPane.doitContext = this.target;\n this.updateLists();\n this.displayInitialScript();\n}","funcProperties":{"__isSmartRef__":true,"id":1899},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1898":{"this":{"__isSmartRef__":true,"id":1119}},"1899":{},"1900":{"varMapping":{"__isSmartRef__":true,"id":1901},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":1902},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1901":{"this":{"__isSmartRef__":true,"id":1119}},"1902":{},"1903":{"varMapping":{"__isSmartRef__":true,"id":1904},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1905},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1904":{"this":{"__isSmartRef__":true,"id":1119}},"1905":{},"1906":{"varMapping":{"__isSmartRef__":true,"id":1907},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":1908},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1907":{"this":{"__isSmartRef__":true,"id":1119}},"1908":{},"1909":{"varMapping":{"__isSmartRef__":true,"id":1910},"source":"function sortedConnectionNamesOfObj(obj) {\n if (\"attributeConnections\" in obj) {\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n } else {\n return [];\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1911},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1910":{"this":{"__isSmartRef__":true,"id":1119}},"1911":{},"1912":{"varMapping":{"__isSmartRef__":true,"id":1913},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":1914},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1913":{"this":{"__isSmartRef__":true,"id":1119}},"1914":{},"1915":{"varMapping":{"__isSmartRef__":true,"id":1916},"source":"function displaySourceForScript(scriptName) {\n if (!scriptName) return;\n var code = \"\", that = this;\n if (scriptName === \"-- ALL --\") {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\");\n });\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":1917},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1916":{"this":{"__isSmartRef__":true,"id":1119}},"1917":{},"1918":{"varMapping":{"__isSmartRef__":true,"id":1919},"source":"function displaySourceForConnection(connection) {\n if (!connection) return;\n var code = \"\", that = this;\n if ((typeof connection === \"string\") && connection === \"-- ALL --\") {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n })\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":1920},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1919":{"this":{"__isSmartRef__":true,"id":1119}},"1920":{},"1921":{"varMapping":{"__isSmartRef__":true,"id":1922},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n\\t\\n});\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1923},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1922":{"this":{"__isSmartRef__":true,"id":1119}},"1923":{},"1924":{"varMapping":{"__isSmartRef__":true,"id":1925},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1926},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1925":{"this":{"__isSmartRef__":true,"id":1119}},"1926":{},"1927":{"varMapping":{"__isSmartRef__":true,"id":1928},"source":"function deleteSelectedScript() {\n if (this.scriptList.selection && this.target) {\n if (!this.target.hasOwnProperty(this.scriptList.selection)) return;\n delete this.target[this.scriptList.selection];\n this.updateLists();\n this.displayInitialScript();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1929},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1928":{"this":{"__isSmartRef__":true,"id":1119}},"1929":{},"1930":{"varMapping":{"__isSmartRef__":true,"id":1931},"source":"function disconnectConnection() {\n var selection = this.connectionList.selection;\n if (selection && \n (typeof selection !== \"string\") &&\n this.target.attributeConnections.indexOf(selection[1]) > -1) {\n var c = this.connectionList.selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n this.updateLists();\n this.displayInitialScript();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":1932},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1931":{"this":{"__isSmartRef__":true,"id":1119}},"1932":{},"1933":{"varMapping":{"__isSmartRef__":true,"id":1934},"source":"function updateLists() {\n this.scriptList.setList(this.sortedScriptNamesOfObj(this.target));\n var scriptListItems = this.scriptList.getList();\n scriptListItems.unshift(\"-- ALL --\");\n this.scriptList.setList(scriptListItems);\n\n this.connectionList.setList(this.sortedConnectionNamesOfObj(this.target));\n var connectionListItems = this.connectionList.getList();\n connectionListItems.unshift(\"-- ALL --\");\n this.connectionList.setList(connectionListItems);\n}","funcProperties":{"__isSmartRef__":true,"id":1935},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1934":{"this":{"__isSmartRef__":true,"id":1119}},"1935":{},"1936":{"varMapping":{"__isSmartRef__":true,"id":1937},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.selectAt(0);\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.selectAt(0);\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1938},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1937":{"this":{"__isSmartRef__":true,"id":1119}},"1938":{},"1939":{"varMapping":{"__isSmartRef__":true,"id":1940},"source":"function reset() {\n this.target = null;\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.connectionList.setList();\n this.scriptPane.setTextString(\"\");\n this.morphSelector.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":1941},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1940":{"this":{"__isSmartRef__":true,"id":1119}},"1941":{},"1942":{"varMapping":{"__isSmartRef__":true,"id":1943},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n var index = this.scriptList.getList().indexOf(addScriptMatches[0]);\n if (index > -1) { \n return this.scriptList.selectAt(index);\n }\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n editor.updateLists();\n editor.displayInitialScript();\n } \n }\n\n var message = 'Disconnect \"' + selection[0] +'\" connection?';\n var callback = disconnectConnection;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":2142},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2141":{"this":{"__isSmartRef__":true,"id":2088}},"2142":{"timestamp":{"__isSmartRef__":true,"id":2143},"user":"lauritz","categories":[]},"2143":{"isSerializedDate":true,"string":"Thu Nov 10 2011 16:46:54 GMT-0800 (Pacific Standard Time)"},"2144":{"submorphs":[{"__isSmartRef__":true,"id":2145}],"scripts":[],"id":"DC163BC8-6577-45D3-B1C0-9F813A37962B","shape":{"__isSmartRef__":true,"id":2160},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2176},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2163},"lighterFill":{"__isSmartRef__":true,"id":2177},"label":{"__isSmartRef__":true,"id":2145},"attributeConnections":[{"__isSmartRef__":true,"id":2186}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2188},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":2189},"renderContextTable":{"__isSmartRef__":true,"id":2190},"priorExtent":{"__isSmartRef__":true,"id":2191},"owner":{"__isSmartRef__":true,"id":1101},"eventHandler":{"__isSmartRef__":true,"id":2192},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":1101},"distanceToDragEvent":{"__isSmartRef__":true,"id":2193},"derivationIds":[217,"FDC10087-12CF-4570-9211-8309CB6A9AA3","E18FC530-4B1F-4F08-8DA6-3866A3519E56","04A2AAC3-6A9E-40BB-9408-EBB2567EE63B","8C1A42CE-840C-4AAE-BD79-C93A445B9EBF","61FC11FA-B87E-4EFE-BD15-564D3178B68B","ED34F9B5-9E00-41B3-8313-D9C3D6B3B231","A7481F4B-D444-4B4F-BDA2-4F9F03AEC24D","7DDF7175-34FC-4521-A7C3-580A8BE63351","DEA39C05-FAD7-4882-AB3D-0EE12C3408F9","99186A50-1411-4B6F-B1CB-FF0742C20D7D","10F3E467-6BB8-4D07-BD17-8C50593FD6B8","7260818C-6472-4288-8BDD-1E7798A543F3","DEBB5BDB-018D-4BA1-9FB9-73DC84C51D89","D75BCAED-3029-46EB-B944-4A102BB1BC0F","9A977DA2-B325-4DFA-9683-3DC9ECEFAAC0"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2194},"__LivelyClassName__":"lively.morphic.Button"},"2145":{"submorphs":[],"scripts":[],"id":"82683BF1-4372-4494-8DC6-48B2CE013B87","shape":{"__isSmartRef__":true,"id":2146},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":21,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2152},"textColor":{"__isSmartRef__":true,"id":2149},"owner":{"__isSmartRef__":true,"id":2144},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2153}],"padding":{"__isSmartRef__":true,"id":2155},"_Padding":{"__isSmartRef__":true,"id":2156},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2157},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":2158},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":2159},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":21,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[218,"852A7BD9-52EE-4708-A2D5-1BDECF33C958","7B4F173E-9726-472A-9B30-530D4AA92AD9","CBA217F6-2832-4213-9ABE-47753C1A4180","E6B97D1D-95D5-4644-9359-1D08D42A51F4","4391A57E-70C2-4628-9828-DD668CCE546E","F0C6C298-3B8B-42B2-B5E9-E5B82F607B01","DF0CAF75-4247-4797-B1A0-AD7444391E2A","B4C4F09B-F663-47A1-B85F-461D5452F5F8","FD966AB1-4685-4151-9A38-B1B21B0237EF","CA91FC2C-D7CC-4123-AFD2-108F8F0C2E97","88F1581A-7AEF-4646-B7F9-3890CDDB8494","DC577877-7F00-4238-9246-08C2A10C0CC9","818C9467-71A2-44D6-B01F-1523A0CD5476","C0CF3DDB-AA12-49E0-B12A-6B620552BB47","853E19A1-E97D-463D-A24F-0148671EB696"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2146":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2147},"_Extent":{"__isSmartRef__":true,"id":2148},"_BorderColor":{"__isSmartRef__":true,"id":2149},"renderContextTable":{"__isSmartRef__":true,"id":2150},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2151},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2147":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2148":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2149":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2150":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2151":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2152":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2153":{"style":{"__isSmartRef__":true,"id":2154},"chunkOwner":{"__isSmartRef__":true,"id":2145},"storedString":"-","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2154":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2155":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2156":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2157":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2158":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2159":{"morph":{"__isSmartRef__":true,"id":2145},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2160":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2161},"_Extent":{"__isSmartRef__":true,"id":2162},"_Fill":{"__isSmartRef__":true,"id":2163},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2173},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2174},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2175},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2161":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2162":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2163":{"stops":[{"__isSmartRef__":true,"id":2164},{"__isSmartRef__":true,"id":2166},{"__isSmartRef__":true,"id":2168},{"__isSmartRef__":true,"id":2170}],"vector":{"__isSmartRef__":true,"id":2172},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2164":{"offset":0,"color":{"__isSmartRef__":true,"id":2165}},"2165":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2166":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2167}},"2167":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2168":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2169}},"2169":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2170":{"offset":1,"color":{"__isSmartRef__":true,"id":2171}},"2171":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2172":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2173":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2174":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2175":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2176":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2177":{"stops":[{"__isSmartRef__":true,"id":2178},{"__isSmartRef__":true,"id":2180},{"__isSmartRef__":true,"id":2182},{"__isSmartRef__":true,"id":2184}],"vector":{"__isSmartRef__":true,"id":2172},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2178":{"offset":0,"color":{"__isSmartRef__":true,"id":2179}},"2179":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2180":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2181}},"2181":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2182":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2183}},"2183":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2184":{"offset":1,"color":{"__isSmartRef__":true,"id":2185}},"2185":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2186":{"sourceObj":{"__isSmartRef__":true,"id":2144},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2144},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2187},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2187":{"source":{"__isSmartRef__":true,"id":2144},"target":{"__isSmartRef__":true,"id":2144}},"2188":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2189":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2190":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2191":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2192":{"morph":{"__isSmartRef__":true,"id":2144},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2193":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2194":{"deleteSelectedScript":{"__isSmartRef__":true,"id":2195}},"2195":{"varMapping":{"__isSmartRef__":true,"id":2196},"source":"function deleteSelectedScript() {\n\n var editor = this.objectEditorPane;\n var selection = editor.scriptList.selection;\n\n if (!editor.target || editor.scriptList.getList().size() < 2) \n return; \n\n var deleteScript = function (confirmed) {\n if (!confirmed) return;\n \n if (selection && editor.target) {\n if (!editor.target.hasOwnProperty(selection)) \n return;\n delete editor.target[selection];\n editor.updateLists();\n editor.displayInitialScript();\n }\n }\n\n var message = 'Delete \"' + selection + '\" script?';\n var callback = deleteScript;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":2197},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2196":{"this":{"__isSmartRef__":true,"id":2144}},"2197":{"timestamp":{"__isSmartRef__":true,"id":2198},"user":"lauritz"},"2198":{"isSerializedDate":true,"string":"Thu Nov 17 2011 09:12:21 GMT-0800 (Pacific Standard Time)"},"2199":{"submorphs":[{"__isSmartRef__":true,"id":2200}],"scripts":[],"id":"89CD242F-D079-46C8-A1CC-FB766EE79F58","shape":{"__isSmartRef__":true,"id":2216},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2232},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2219},"lighterFill":{"__isSmartRef__":true,"id":2233},"label":{"__isSmartRef__":true,"id":2200},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2242},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":2243},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":2244},"eventHandler":{"__isSmartRef__":true,"id":2245},"distanceToDragEvent":{"__isSmartRef__":true,"id":2246},"priorExtent":{"__isSmartRef__":true,"id":2247},"owner":{"__isSmartRef__":true,"id":1101},"textString":"","selection":{"__isSmartRef__":true,"id":2248},"_ClipMode":"visible","prevScroll":[0,0],"listMorph":null,"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0CD057F2-3517-4849-A69E-1EF79B05ACE8","66EBBB7D-8FA7-4D43-AE78-A18DA3B970BA","A50C1893-4138-4E29-865B-92F53F76D08A","1EC5D2B9-3539-419A-8DD6-CE82DEABB02C","95DC06D5-F4C7-49E2-8A01-110D1B0AFBD0","672DEFAB-2BE5-4C60-9779-3B44694FBEB1","E3476213-5872-492C-BE29-0C6A5A150ED8","AA2F6ABE-1CCB-403D-94DD-8FB371F3DDCE","54B67D51-AB19-40A0-A2A6-EC51F3171CAC","1CF44342-896F-4ACB-847F-7CB3CD10ED5A"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2265},"__LivelyClassName__":"lively.morphic.Button"},"2200":{"submorphs":[],"scripts":[],"id":"8C9FF622-21F7-4AB8-9ADD-E66DDBEE1928","shape":{"__isSmartRef__":true,"id":2201},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2207},"textColor":{"__isSmartRef__":true,"id":2204},"owner":{"__isSmartRef__":true,"id":2199},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2208}],"padding":{"__isSmartRef__":true,"id":2210},"_Padding":{"__isSmartRef__":true,"id":2210},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2211},"attributeConnections":[{"__isSmartRef__":true,"id":2212}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":2213},"eventHandler":{"__isSmartRef__":true,"id":2214},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","8B2F743A-98C5-45E1-B03C-5019114EAC47","D09C56C3-A2DC-4BDF-B8A1-6365138ECD01","74158C3D-B79E-43E7-B111-48701B10ACE2","B19E117B-E40F-4B9F-86AC-BFB2AAFD5336","4E3B3D72-E52C-44ED-AE32-78939BA1ECFD","2459D1F0-E49C-4882-AB4C-D78C1A496962","3D8D3B02-0459-45C1-A606-D0DB4B07958C","78AAE288-D261-4BEA-9436-C8C31B890B44","2E10F795-9892-4BF7-9A46-BCB90FD6112E","DE32EFA9-C920-42F6-9F2E-7EDABEC006AF"],"_TextColor":{"__isSmartRef__":true,"id":2215},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2201":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2202},"_Extent":{"__isSmartRef__":true,"id":2203},"_BorderColor":{"__isSmartRef__":true,"id":2204},"renderContextTable":{"__isSmartRef__":true,"id":2205},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2206},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2202":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2203":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2204":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2205":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2206":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2207":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2208":{"style":{"__isSmartRef__":true,"id":2209},"chunkOwner":{"__isSmartRef__":true,"id":2200},"storedString":"DocListPane","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2209":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2210":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2211":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2212":{"sourceObj":{"__isSmartRef__":true,"id":2200},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2199},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2213":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2214":{"morph":{"__isSmartRef__":true,"id":2200},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2215":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2216":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2217},"_Extent":{"__isSmartRef__":true,"id":2218},"_Fill":{"__isSmartRef__":true,"id":2219},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2230},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2231},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2217":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2218":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2219":{"stops":[{"__isSmartRef__":true,"id":2220},{"__isSmartRef__":true,"id":2222},{"__isSmartRef__":true,"id":2224},{"__isSmartRef__":true,"id":2226}],"vector":{"__isSmartRef__":true,"id":2228},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2220":{"offset":0,"color":{"__isSmartRef__":true,"id":2221}},"2221":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2222":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2223}},"2223":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2224":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2225}},"2225":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2226":{"offset":1,"color":{"__isSmartRef__":true,"id":2227}},"2227":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2228":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2229":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2230":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2231":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2232":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2233":{"stops":[{"__isSmartRef__":true,"id":2234},{"__isSmartRef__":true,"id":2236},{"__isSmartRef__":true,"id":2238},{"__isSmartRef__":true,"id":2240}],"vector":{"__isSmartRef__":true,"id":2228},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2234":{"offset":0,"color":{"__isSmartRef__":true,"id":2235}},"2235":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2236":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2237}},"2237":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2238":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2239}},"2239":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2240":{"offset":1,"color":{"__isSmartRef__":true,"id":2241}},"2241":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2242":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2243":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2244":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2245":{"morph":{"__isSmartRef__":true,"id":2199},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2246":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2247":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2248":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":2249},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2255},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2256},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":2257},"_TextColor":{"__isSmartRef__":true,"id":2258},"renderContextTable":{"__isSmartRef__":true,"id":2259},"textChunks":[{"__isSmartRef__":true,"id":2260}],"eventHandler":{"__isSmartRef__":true,"id":2262},"priorExtent":{"__isSmartRef__":true,"id":2263},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"distanceToDragEvent":{"__isSmartRef__":true,"id":2264},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"2249":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2250},"_Extent":{"__isSmartRef__":true,"id":2251},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2252},"renderContextTable":{"__isSmartRef__":true,"id":2253},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2254},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2250":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2251":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2252":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2253":{"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"},"2254":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2255":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2256":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2257":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2258":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2259":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2260":{"style":{"__isSmartRef__":true,"id":2261},"chunkOwner":{"__isSmartRef__":true,"id":2248},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2261":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2262":{"morph":{"__isSmartRef__":true,"id":2248},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2263":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2264":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2265":{"createListMorph":{"__isSmartRef__":true,"id":2266},"getList":{"__isSmartRef__":true,"id":2270},"removeList":{"__isSmartRef__":true,"id":2274},"reset":{"__isSmartRef__":true,"id":2278},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":2282},"onMouseDown":{"__isSmartRef__":true,"id":2286},"setTargetOfPane":{"__isSmartRef__":true,"id":2294},"setTargetToListSelection":{"__isSmartRef__":true,"id":2298},"onBlur":{"__isSmartRef__":true,"id":2302},"setTarget":{"__isSmartRef__":true,"id":2310},"setTargetOnSelection":{"__isSmartRef__":true,"id":2314}},"2266":{"varMapping":{"__isSmartRef__":true,"id":2267},"source":"function createListMorph() {\n var items = this.getList();\n \n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n\n connect(listMorph, 'selection', this, 'setTargetToListSelection');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":2268},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2267":{"this":{"__isSmartRef__":true,"id":2199}},"2268":{"timestamp":{"__isSmartRef__":true,"id":2269},"user":"lauritz","tags":[]},"2269":{"isSerializedDate":true,"string":"Tue Dec 13 2011 09:55:41 GMT-0800 (Pacific Standard Time)"},"2270":{"varMapping":{"__isSmartRef__":true,"id":2271},"source":"function getList() {\n var worldEntry = {\n isListItem: true,\n selectionString: 'World',\n string: 'World',\n value: this.world()\n };\n var list = this.world().indentedListItemsOfMorphNames();\n list.unshift(worldEntry);\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":2272},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2271":{"this":{"__isSmartRef__":true,"id":2199}},"2272":{"timestamp":{"__isSmartRef__":true,"id":2273},"user":"lauritz","tags":[]},"2273":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:12:23 GMT-0800 (Pacific Standard Time)"},"2274":{"varMapping":{"__isSmartRef__":true,"id":2275},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2276},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2275":{"this":{"__isSmartRef__":true,"id":2199}},"2276":{"timestamp":{"__isSmartRef__":true,"id":2277},"user":"lauritz","tags":[]},"2277":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:51:07 GMT-0800 (Pacific Standard Time)"},"2278":{"varMapping":{"__isSmartRef__":true,"id":2279},"source":"function reset() {\n this.list = [];\n this.setLabel('empty');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":2280},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2279":{"this":{"__isSmartRef__":true,"id":2199}},"2280":{"timestamp":{"__isSmartRef__":true,"id":2281},"user":"lauritz","tags":[]},"2281":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:34:06 GMT-0800 (Pacific Standard Time)"},"2282":{"varMapping":{"__isSmartRef__":true,"id":2283},"source":"function displayTopLevelMorphs() {\n var list = this.createListMorph(); \n if (this.getList().length === 0) return;\n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":2284},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2283":{"this":{"__isSmartRef__":true,"id":2199}},"2284":{"timestamp":{"__isSmartRef__":true,"id":2285},"user":"lauritz","tags":[]},"2285":{"isSerializedDate":true,"string":"Tue Dec 13 2011 09:53:20 GMT-0800 (Pacific Standard Time)"},"2286":{"varMapping":{"__isSmartRef__":true,"id":2287},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n // clicked on morph, not the list, not the list's scrollbar\n if (evt.target === this.renderContext().shapeNode)\n this.removeList();\n } else {\n this.displayTopLevelMorphs();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2292},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2287":{"this":{"__isSmartRef__":true,"id":2199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2288}},"2288":{"$super":{"__isSmartRef__":true,"id":2289}},"2289":{"varMapping":{"__isSmartRef__":true,"id":2290},"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":2291},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2290":{"obj":{"__isSmartRef__":true,"id":2199},"name":"onMouseDown"},"2291":{},"2292":{"timestamp":{"__isSmartRef__":true,"id":2293},"user":"lauritz","tags":[]},"2293":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:30:39 GMT-0800 (Pacific Standard Time)"},"2294":{"varMapping":{"__isSmartRef__":true,"id":2295},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":2296},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2295":{"this":{"__isSmartRef__":true,"id":2199}},"2296":{"timestamp":{"__isSmartRef__":true,"id":2297},"user":"lauritz","tags":[]},"2297":{"isSerializedDate":true,"string":"Tue Dec 06 2011 19:30:42 GMT-0800 (Pacific Standard Time)"},"2298":{"varMapping":{"__isSmartRef__":true,"id":2299},"source":"function setTargetToListSelection() { \n var selection = this.listMorph.selection;\n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2300},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2299":{"this":{"__isSmartRef__":true,"id":2199}},"2300":{"timestamp":{"__isSmartRef__":true,"id":2301},"user":"lauritz","tags":[]},"2301":{"isSerializedDate":true,"string":"Tue Dec 06 2011 21:06:48 GMT-0800 (Pacific Standard Time)"},"2302":{"varMapping":{"__isSmartRef__":true,"id":2303},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2308},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2303":{"this":{"__isSmartRef__":true,"id":2199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2304}},"2304":{"$super":{"__isSmartRef__":true,"id":2305}},"2305":{"varMapping":{"__isSmartRef__":true,"id":2306},"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":2307},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2306":{"obj":{"__isSmartRef__":true,"id":2199},"name":"onBlur"},"2307":{},"2308":{"timestamp":{"__isSmartRef__":true,"id":2309},"user":"lauritz","tags":[]},"2309":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:30:08 GMT-0800 (Pacific Standard Time)"},"2310":{"varMapping":{"__isSmartRef__":true,"id":2311},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":2312},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2311":{"this":{"__isSmartRef__":true,"id":2199}},"2312":{"timestamp":{"__isSmartRef__":true,"id":2313},"user":"lauritz","tags":[]},"2313":{"isSerializedDate":true,"string":"Tue Dec 06 2011 19:29:39 GMT-0800 (Pacific Standard Time)"},"2314":{"varMapping":{"__isSmartRef__":true,"id":2315},"source":"function setTargetOnSelection() {\n if (this.listMorph && this.listMorph.renderContext() && this.listMorph.renderContext().listNode.value) {\n this.setTargetToListSelection();\n this.stopStepping();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2316},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2315":{"this":{"__isSmartRef__":true,"id":2199}},"2316":{"timestamp":{"__isSmartRef__":true,"id":2317},"user":"lauritz","tags":[]},"2317":{"isSerializedDate":true,"string":"Tue Dec 06 2011 21:12:06 GMT-0800 (Pacific Standard Time)"},"2318":{"submorphs":[],"scripts":[],"id":"EF7CA232-594E-4CFF-900E-B1548CB34CAC","shape":{"__isSmartRef__":true,"id":2319},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2325},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2322},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2326},"textChunks":[{"__isSmartRef__":true,"id":2327}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2329},"renderContextTable":{"__isSmartRef__":true,"id":2330},"eventHandler":{"__isSmartRef__":true,"id":2331},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2332},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1101},"isCopyMorphRef":true,"morphRefId":27,"derivationIds":[223,"5E3A69EF-26C1-4D0D-B04C-8C3894017F56","14AB1B91-3ED6-49AE-AA58-47D18B6C569F","991D4A54-1FC4-4BC7-AA82-F814AC52CDE3","DB9B19F7-4390-4CE5-9B1D-62177CB8D605","8F7B2EE9-9538-4044-B75B-6A12F3108B70","4B9F9B4B-C7D3-418D-9AC9-10503A4EBF8E","324EE422-8C94-43CE-B964-A3150830C25F","36D1ECF9-591F-426B-A4F6-B337D7DB053B","CB52849C-BE64-4053-8D07-758F969F84EB","F1C241D4-A689-4DB7-942F-ADB5F39D9CAA","F9D413A0-184F-47F5-9B55-D05D511915CB","F4C5DA2D-8203-47EB-834D-2D03338B0419","1E089341-3FFF-45CD-9C21-BA7A8B4CF6F2","87F8B14A-C122-40D7-8405-CA07248E60D3","A8E7E359-A02C-427B-8D23-C707CE9664B2"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2319":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2320},"_Extent":{"__isSmartRef__":true,"id":2321},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2322},"renderContextTable":{"__isSmartRef__":true,"id":2323},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2324},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2320":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2321":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2322":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2323":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2324":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2325":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2326":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2327":{"style":{"__isSmartRef__":true,"id":2328},"chunkOwner":{"__isSmartRef__":true,"id":2318},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"2328":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2329":{"x":64.8979476392384,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2330":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2331":{"morph":{"__isSmartRef__":true,"id":2318},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2332":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2333":{"submorphs":[],"scripts":[],"id":"7CB5B82F-2CCB-4144-91D4-0EB2B6386671","shape":{"__isSmartRef__":true,"id":2334},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2340},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2337},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2341},"textChunks":[{"__isSmartRef__":true,"id":2342}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2344},"renderContextTable":{"__isSmartRef__":true,"id":2345},"eventHandler":{"__isSmartRef__":true,"id":2346},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2347},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":1101},"derivationIds":[224,"35EF8FE5-067D-45B6-AF21-77040F11D340","80DC09DD-22D4-4089-B5C3-857B32C9BE9B","EF080074-E6B9-47F3-A87F-26313B40C430","F6977801-C1A7-445C-9BF1-8A1019E202FB","8C9157AE-0343-4CFB-8186-1D5E05D2ECBE","DD3C23F8-6463-4EAE-959B-C486E27D9BDA","1E8D3752-D212-41F8-BC63-B094E0C80707","75C07D11-AE5D-4A36-B2D0-F2A6EA414E72","494AB1C0-2C09-49DE-B4AA-1F24DC7495FF","25199967-E3BA-4763-A704-37BD3152A5F7","8E4A5937-D1FA-4AF7-BD8D-B542C636CEF9","DDB23EF0-540C-4046-AD4D-C001E8A5F20C","FF45AAB3-E5C7-42A0-A704-F068DB2E2AF9","52850E3E-BE46-467C-A381-902F5E4859FD","147F9160-7168-44A4-9EA4-A36466EE1F52"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2334":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2335},"_Extent":{"__isSmartRef__":true,"id":2336},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2337},"renderContextTable":{"__isSmartRef__":true,"id":2338},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2339},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2335":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2336":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2337":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2338":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2339":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2340":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2341":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2342":{"style":{"__isSmartRef__":true,"id":2343},"chunkOwner":{"__isSmartRef__":true,"id":2333},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"2343":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2344":{"x":64.8979476392384,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2345":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2346":{"morph":{"__isSmartRef__":true,"id":2333},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2347":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2348":{"submorphs":[{"__isSmartRef__":true,"id":2349}],"scripts":[],"id":"0F840AC4-3BB1-42C3-AA25-305381E3C608","shape":{"__isSmartRef__":true,"id":2363},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2379},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2380},"lighterFill":{"__isSmartRef__":true,"id":2366},"label":{"__isSmartRef__":true,"id":2349},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2389},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":2390},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":2391},"eventHandler":{"__isSmartRef__":true,"id":2392},"distanceToDragEvent":{"__isSmartRef__":true,"id":2393},"priorExtent":{"__isSmartRef__":true,"id":2394},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":1101},"setTargetToListSelection":"all","savedTextString":"all","derivationIds":[225,"7F83847B-D0B1-4A31-8601-43424B97C858","E08FC110-71D7-4FFD-B4A8-08F8147B95BA","5534107D-C5C9-48DD-A1ED-B87E9D9B672C","0B89FA7A-768C-4062-98AE-C455E8DAFF19","799320C6-CFBA-40E7-B03D-64BFE9B78248","9B650AA3-271B-4E72-B230-51C6F64B7462","C95D3672-724C-4C2C-9CDD-EF308062F627","C66EBEEC-B7CE-4DD9-8BDF-905F071F965D","D68B143A-A712-4FD0-8803-62CCB4C7F763","ED802271-AE5C-4BE9-AC4E-7CED44BC864B","1BD989CB-146C-431F-8B15-9199C4CD5D32","42172AA4-1B06-4C5B-9BB7-FAED1206CF34","32DFAF99-E6F8-426B-829D-FD6C2BCB8FAA","9B4BF2BE-49D5-4B9D-8F38-1692443069A9","FCAB3690-731A-45E7-984F-843DFE705AF1"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2395},"__LivelyClassName__":"lively.morphic.Button"},"2349":{"submorphs":[],"scripts":[],"id":"E4475830-9581-4401-9795-272F20569BF1","shape":{"__isSmartRef__":true,"id":2350},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2355},"textColor":{"__isSmartRef__":true,"id":2353},"owner":{"__isSmartRef__":true,"id":2348},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2356}],"padding":{"__isSmartRef__":true,"id":2358},"_Padding":{"__isSmartRef__":true,"id":2358},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2359},"attributeConnections":[{"__isSmartRef__":true,"id":2360}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":2361},"eventHandler":{"__isSmartRef__":true,"id":2362},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","132C2A9E-3466-4051-AAEA-6E485A91F408","DB8BC4A1-ED41-446B-AB6C-7E73DD857B5D","567FC668-A57C-41CB-8252-8912826B3144","D0B0775F-C8E7-49EB-BBB2-C7BB7DD464BF","AABED87D-D7C0-494A-8803-26F4601E35FF","696C3A2A-C695-4D17-A044-41A73436AB8D","206A0BFD-6997-4E0E-9193-089D1F66B22A","F2F1F966-6C41-4EBA-AFCE-FAE8C79AA696","64A754E9-7083-4CAE-B5C2-7B436EFFE4BA","64737503-A352-42CC-A249-667DA2B42746"],"_TextColor":{"__isSmartRef__":true,"id":2215},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2350":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2351},"_Extent":{"__isSmartRef__":true,"id":2352},"_BorderColor":{"__isSmartRef__":true,"id":2353},"renderContextTable":{"__isSmartRef__":true,"id":2354},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2206},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2351":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2352":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2353":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2354":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2355":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2356":{"style":{"__isSmartRef__":true,"id":2357},"chunkOwner":{"__isSmartRef__":true,"id":2349},"storedString":"all","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2357":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2358":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2359":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2360":{"sourceObj":{"__isSmartRef__":true,"id":2349},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2348},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2361":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2362":{"morph":{"__isSmartRef__":true,"id":2349},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2363":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2364},"_Extent":{"__isSmartRef__":true,"id":2365},"_Fill":{"__isSmartRef__":true,"id":2366},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2376},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2377},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2378},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2364":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2365":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2366":{"stops":[{"__isSmartRef__":true,"id":2367},{"__isSmartRef__":true,"id":2369},{"__isSmartRef__":true,"id":2371},{"__isSmartRef__":true,"id":2373}],"vector":{"__isSmartRef__":true,"id":2375},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2367":{"offset":0,"color":{"__isSmartRef__":true,"id":2368}},"2368":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2369":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2370}},"2370":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2371":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2372}},"2372":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2373":{"offset":1,"color":{"__isSmartRef__":true,"id":2374}},"2374":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2375":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2376":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2377":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2378":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2379":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2380":{"stops":[{"__isSmartRef__":true,"id":2381},{"__isSmartRef__":true,"id":2383},{"__isSmartRef__":true,"id":2385},{"__isSmartRef__":true,"id":2387}],"vector":{"__isSmartRef__":true,"id":2375},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2381":{"offset":0,"color":{"__isSmartRef__":true,"id":2382}},"2382":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2383":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2384}},"2384":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2385":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2386}},"2386":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2387":{"offset":1,"color":{"__isSmartRef__":true,"id":2388}},"2388":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2389":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2390":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2391":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2392":{"morph":{"__isSmartRef__":true,"id":2348},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2393":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2394":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2395":{"createListMorph":{"__isSmartRef__":true,"id":2396},"getList":{"__isSmartRef__":true,"id":2400},"removeList":{"__isSmartRef__":true,"id":2404},"reset":{"__isSmartRef__":true,"id":2408},"onMouseUp":{"__isSmartRef__":true,"id":2412},"onBlur":{"__isSmartRef__":true,"id":2420},"setTag":{"__isSmartRef__":true,"id":2428}},"2396":{"varMapping":{"__isSmartRef__":true,"id":2397},"source":"function createListMorph() {\n var items = this.getList();\n\n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n \n connect(listMorph, 'selection', this, 'setTag');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":2398},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2397":{"this":{"__isSmartRef__":true,"id":2348}},"2398":{"timestamp":{"__isSmartRef__":true,"id":2399},"user":"lauritz","categories":[]},"2399":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:35:59 GMT-0800 (Pacific Standard Time)"},"2400":{"varMapping":{"__isSmartRef__":true,"id":2401},"source":"function getList() {\n if (!this.owner.target) return [''];\n\n var target = this.owner.target;\n\n var tags = Functions.own(target).collect(function (each) {\n return target[each].tags || [];\n }).flatten().uniq();\n\n var sortedTags = tags.sortBy(function(name) { \n return name.toLowerCase() \n });\n \n sortedTags.unshift('all'); \n return sortedTags;\n}","funcProperties":{"__isSmartRef__":true,"id":2402},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2401":{"this":{"__isSmartRef__":true,"id":2348}},"2402":{"timestamp":{"__isSmartRef__":true,"id":2403},"user":"lauritz","tags":[]},"2403":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:25 GMT-0800 (Pacific Standard Time)"},"2404":{"varMapping":{"__isSmartRef__":true,"id":2405},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2406},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2405":{"this":{"__isSmartRef__":true,"id":2348}},"2406":{"timestamp":{"__isSmartRef__":true,"id":2407},"user":"lauritz","categories":[]},"2407":{"isSerializedDate":true,"string":"Thu Nov 17 2011 10:06:51 GMT-0800 (Pacific Standard Time)"},"2408":{"varMapping":{"__isSmartRef__":true,"id":2409},"source":"function reset() {\n this.list = [];\n this.setLabel('all');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":2410},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2409":{"this":{"__isSmartRef__":true,"id":2348}},"2410":{"timestamp":{"__isSmartRef__":true,"id":2411},"user":"lauritz","tags":[]},"2411":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:53 GMT-0800 (Pacific Standard Time)"},"2412":{"varMapping":{"__isSmartRef__":true,"id":2413},"source":"function onMouseUp(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n this.removeList();\n return true;\n } \n if (this.getList().size() < 2) return;\n var list = this.createListMorph();\n this.addMorph(list);\n this.listMorph = list;\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":2418},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2413":{"this":{"__isSmartRef__":true,"id":2348},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2414}},"2414":{"$super":{"__isSmartRef__":true,"id":2415}},"2415":{"varMapping":{"__isSmartRef__":true,"id":2416},"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":2417},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2416":{"obj":{"__isSmartRef__":true,"id":2348},"name":"onMouseUp"},"2417":{},"2418":{"timestamp":{"__isSmartRef__":true,"id":2419},"user":"lauritz","categories":[]},"2419":{"isSerializedDate":true,"string":"Thu Nov 17 2011 09:59:16 GMT-0800 (Pacific Standard Time)"},"2420":{"varMapping":{"__isSmartRef__":true,"id":2421},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2426},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2421":{"this":{"__isSmartRef__":true,"id":2348},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2422}},"2422":{"$super":{"__isSmartRef__":true,"id":2423}},"2423":{"varMapping":{"__isSmartRef__":true,"id":2424},"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":2425},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2424":{"obj":{"__isSmartRef__":true,"id":2348},"name":"onBlur"},"2425":{},"2426":{"timestamp":{"__isSmartRef__":true,"id":2427},"user":"lauritz","categories":[]},"2427":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:10:03 GMT-0800 (Pacific Standard Time)"},"2428":{"varMapping":{"__isSmartRef__":true,"id":2429},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":2430},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2429":{"this":{"__isSmartRef__":true,"id":2348}},"2430":{"timestamp":{"__isSmartRef__":true,"id":2431},"user":"lauritz","categories":[]},"2431":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:36:12 GMT-0800 (Pacific Standard Time)"},"2432":{"submorphs":[{"__isSmartRef__":true,"id":2433}],"scripts":[],"id":"BC6C927F-79E9-4519-8ABA-F171B26AFC76","shape":{"__isSmartRef__":true,"id":2448},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2452},"lighterFill":{"__isSmartRef__":true,"id":2464},"label":{"__isSmartRef__":true,"id":2433},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2473},"attributeConnections":[{"__isSmartRef__":true,"id":2474}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2510},"renderContextTable":{"__isSmartRef__":true,"id":2511},"eventHandler":{"__isSmartRef__":true,"id":2512},"distanceToDragEvent":{"__isSmartRef__":true,"id":2513},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","87E42FF6-3862-481D-97D6-643676E15F32","4F370A81-5A80-4821-8ECC-D52B56F31E15","1C6D1DC9-2F9B-4DC4-B453-1CA45B17C516","0E8EC0BF-934B-410B-AEC2-0ECA8C8F774D","97086CE7-CD46-4035-A371-02A41D555A66","E342B91D-F54B-4DA8-8AE7-10C59CE22B41","A838C48E-4033-4688-8DCF-20659BD824FF","E9BBC453-FFF6-4EE8-BDB0-605D5D4557AE","B6FB81D1-145B-40F9-ACF1-17276DA45EBA","09C79781-5461-4815-88DE-22FB67558136"],"_Position":{"__isSmartRef__":true,"id":2514},"owner":{"__isSmartRef__":true,"id":1101},"layout":{"__isSmartRef__":true,"id":2515},"_ClipMode":"visible","_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"2433":{"submorphs":[],"scripts":[],"id":"1AA922C8-3CE2-456F-8963-919B1ADE93CD","shape":{"__isSmartRef__":true,"id":2434},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2440},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2441},"_Padding":{"__isSmartRef__":true,"id":2442},"owner":{"__isSmartRef__":true,"id":2432},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2443},"textChunks":[{"__isSmartRef__":true,"id":2444}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2446},"eventHandler":{"__isSmartRef__":true,"id":2447},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","BA4EC8D2-AB29-4F9F-B5A0-715A4746A4C4","56735895-BA99-4D98-9866-AA5DBD86237E","81041CF7-31DB-4F65-BB39-FE438A4F266F","D03829B3-268E-40A0-A440-3E4BAC344F30","714637F0-714A-4833-909B-BA4AF1B4628B","DC956E73-7398-4CAF-B6F2-9A226E344396","C1F72D31-1F49-4C0C-ACF3-C3AD7E698D2F","39386C7E-9099-4159-BFE9-80AD37319211","2764FB6E-70D1-4BC5-B3CB-9979A48B8205","C55C8A7C-412C-453E-A99F-CE78C2AADB94"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"2434":{"position":{"__isSmartRef__":true,"id":2435},"_Extent":{"__isSmartRef__":true,"id":2436},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2437},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2438},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2439},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2435":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2436":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2437":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2438":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2439":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2440":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2441":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2442":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2443":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2444":{"style":{"__isSmartRef__":true,"id":2445},"chunkOwner":{"__isSmartRef__":true,"id":2433},"storedString":"run","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2445":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2446":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2447":{"morph":{"__isSmartRef__":true,"id":2433},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2448":{"position":{"__isSmartRef__":true,"id":2449},"_Extent":{"__isSmartRef__":true,"id":2450},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2451},"_Fill":{"__isSmartRef__":true,"id":2452},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2462},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2463},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2449":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2450":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2451":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2452":{"stops":[{"__isSmartRef__":true,"id":2453},{"__isSmartRef__":true,"id":2455},{"__isSmartRef__":true,"id":2457},{"__isSmartRef__":true,"id":2459}],"vector":{"__isSmartRef__":true,"id":2461},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2453":{"offset":0,"color":{"__isSmartRef__":true,"id":2454}},"2454":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2455":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2456}},"2456":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2457":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2458}},"2458":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2459":{"offset":1,"color":{"__isSmartRef__":true,"id":2460}},"2460":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2461":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2462":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2463":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2464":{"stops":[{"__isSmartRef__":true,"id":2465},{"__isSmartRef__":true,"id":2467},{"__isSmartRef__":true,"id":2469},{"__isSmartRef__":true,"id":2471}],"vector":{"__isSmartRef__":true,"id":2461},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2465":{"offset":0,"color":{"__isSmartRef__":true,"id":2466}},"2466":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2467":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2468}},"2468":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2469":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2470}},"2470":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2471":{"offset":1,"color":{"__isSmartRef__":true,"id":2472}},"2472":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2473":{"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"},"2474":{"sourceObj":{"__isSmartRef__":true,"id":2432},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1101},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":2475},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2475":{"submorphs":[{"__isSmartRef__":true,"id":2476}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2491},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":2498},"eventHandler":{"__isSmartRef__":true,"id":2499},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2500},{"__isSmartRef__":true,"id":2501}],"con":{"__isSmartRef__":true,"id":2474},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2502},"__LivelyClassName__":"lively.morphic.Path"},"2476":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2477},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":2488},"eventHandler":{"__isSmartRef__":true,"id":2489},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2490},"owner":{"__isSmartRef__":true,"id":2475},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"2477":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2478},{"__isSmartRef__":true,"id":2479},{"__isSmartRef__":true,"id":2480},{"__isSmartRef__":true,"id":2481}],"renderContextTable":{"__isSmartRef__":true,"id":2482},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2483},"_Extent":{"__isSmartRef__":true,"id":2484},"_Padding":{"__isSmartRef__":true,"id":2485},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2486},"_Fill":{"__isSmartRef__":true,"id":2487},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2478":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2479":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2480":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2481":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2482":{"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"},"2483":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2484":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2485":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2486":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2487":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2488":{"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"},"2489":{"morph":{"__isSmartRef__":true,"id":2476},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2490":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2491":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2492},{"__isSmartRef__":true,"id":2493}],"renderContextTable":{"__isSmartRef__":true,"id":2494},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2495},"_Extent":{"__isSmartRef__":true,"id":2496},"_Padding":{"__isSmartRef__":true,"id":2497},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2486},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2492":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2493":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2494":{"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"},"2495":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2496":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2497":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2498":{"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"},"2499":{"morph":{"__isSmartRef__":true,"id":2475},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2500":{"morph":{"__isSmartRef__":true,"id":2475},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2501":{"morph":{"__isSmartRef__":true,"id":2475},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2476},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2502":{"morphMenuItems":{"__isSmartRef__":true,"id":2503}},"2503":{"varMapping":{"__isSmartRef__":true,"id":2504},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2509},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2504":{"this":{"__isSmartRef__":true,"id":2475},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2505}},"2505":{"$super":{"__isSmartRef__":true,"id":2506}},"2506":{"varMapping":{"__isSmartRef__":true,"id":2507},"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":2508},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2507":{"obj":{"__isSmartRef__":true,"id":2475},"name":"morphMenuItems"},"2508":{},"2509":{},"2510":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2511":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2512":{"morph":{"__isSmartRef__":true,"id":2432},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2513":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2514":{"x":788.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2515":{"centeredHorizontal":false,"moveHorizontal":true},"2516":{"submorphs":[{"__isSmartRef__":true,"id":2517}],"scripts":[],"id":"F2B65CE3-1E0E-4845-877E-32352719E9DD","shape":{"__isSmartRef__":true,"id":2532},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2536},"lighterFill":{"__isSmartRef__":true,"id":2548},"label":{"__isSmartRef__":true,"id":2517},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2557},"attributeConnections":[{"__isSmartRef__":true,"id":2558}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2594},"renderContextTable":{"__isSmartRef__":true,"id":2595},"eventHandler":{"__isSmartRef__":true,"id":2596},"distanceToDragEvent":{"__isSmartRef__":true,"id":2597},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","F51327CB-803E-4234-BFB3-6F5252D1C936","A79280E8-6AE3-4016-AF47-CE78F71924C6","B05829EB-D452-4D81-983B-E2CE425C8260","32B117E5-52D8-4843-B80E-090B9817E099","49AC923E-5272-4E3C-8F02-4F2AED2BC4E9","85AAEA9C-5E12-4DEC-8994-9A5FE655A740","2A7FF9BF-85D3-4962-8EB4-0F7016C672EB","3BB17748-B91B-43F5-84BE-2537402A6382","8BA10BD3-43C5-4A41-B9D9-DCD8C74EA208","8BADA640-EDC1-41B2-BEF3-0F2520EA25DD"],"layout":{"__isSmartRef__":true,"id":2598},"_Position":{"__isSmartRef__":true,"id":2599},"owner":{"__isSmartRef__":true,"id":1101},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"2517":{"submorphs":[],"scripts":[],"id":"7C41E0DF-3305-47A5-8BDD-9F2355202470","shape":{"__isSmartRef__":true,"id":2518},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2524},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2525},"_Padding":{"__isSmartRef__":true,"id":2526},"owner":{"__isSmartRef__":true,"id":2516},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2527},"textChunks":[{"__isSmartRef__":true,"id":2528}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2530},"eventHandler":{"__isSmartRef__":true,"id":2531},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","918C6CC4-3540-4341-BAFD-B195F7807FEE","5AABB138-5EE8-40A5-AB3C-5A9625D0A353","4529D79B-4CC5-467E-91F8-661C3A5F49F8","1E5E570C-FD42-45E3-A7F6-768BB14ACD14","A13FB4E0-72F2-4E7C-A861-EDCBA1393860","B8E4C964-4FFF-4A9F-B0A9-612546B1DC8C","002A2173-D26D-4EED-8906-A489C1E158C0","63362D04-B829-41E6-9E68-5B8DB03D382F","996B60A4-8698-448F-A35F-79C768B4976B","F0727398-A1F0-47F5-92CF-BB9677FA05FA"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"2518":{"position":{"__isSmartRef__":true,"id":2519},"_Extent":{"__isSmartRef__":true,"id":2520},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2521},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2522},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2523},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2519":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2520":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2521":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2522":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2523":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2524":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2525":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2526":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2527":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2528":{"style":{"__isSmartRef__":true,"id":2529},"chunkOwner":{"__isSmartRef__":true,"id":2517},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2529":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2530":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2531":{"morph":{"__isSmartRef__":true,"id":2517},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2532":{"position":{"__isSmartRef__":true,"id":2533},"_Extent":{"__isSmartRef__":true,"id":2534},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2535},"_Fill":{"__isSmartRef__":true,"id":2536},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2546},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2547},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2533":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2534":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2535":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2536":{"stops":[{"__isSmartRef__":true,"id":2537},{"__isSmartRef__":true,"id":2539},{"__isSmartRef__":true,"id":2541},{"__isSmartRef__":true,"id":2543}],"vector":{"__isSmartRef__":true,"id":2545},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2537":{"offset":0,"color":{"__isSmartRef__":true,"id":2538}},"2538":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2539":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2540}},"2540":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2541":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2542}},"2542":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2543":{"offset":1,"color":{"__isSmartRef__":true,"id":2544}},"2544":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2545":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2546":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2547":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2548":{"stops":[{"__isSmartRef__":true,"id":2549},{"__isSmartRef__":true,"id":2551},{"__isSmartRef__":true,"id":2553},{"__isSmartRef__":true,"id":2555}],"vector":{"__isSmartRef__":true,"id":2545},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2549":{"offset":0,"color":{"__isSmartRef__":true,"id":2550}},"2550":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2551":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2552}},"2552":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2553":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2554}},"2554":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2555":{"offset":1,"color":{"__isSmartRef__":true,"id":2556}},"2556":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2557":{"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"},"2558":{"sourceObj":{"__isSmartRef__":true,"id":2516},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1597},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":2559},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2559":{"submorphs":[{"__isSmartRef__":true,"id":2560}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2575},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":2582},"eventHandler":{"__isSmartRef__":true,"id":2583},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2584},{"__isSmartRef__":true,"id":2585}],"con":{"__isSmartRef__":true,"id":2558},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2586},"__LivelyClassName__":"lively.morphic.Path"},"2560":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2561},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":2572},"eventHandler":{"__isSmartRef__":true,"id":2573},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2574},"owner":{"__isSmartRef__":true,"id":2559},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"2561":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2562},{"__isSmartRef__":true,"id":2563},{"__isSmartRef__":true,"id":2564},{"__isSmartRef__":true,"id":2565}],"renderContextTable":{"__isSmartRef__":true,"id":2566},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2567},"_Extent":{"__isSmartRef__":true,"id":2568},"_Padding":{"__isSmartRef__":true,"id":2569},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2570},"_Fill":{"__isSmartRef__":true,"id":2571},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2562":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2563":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2564":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2565":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2566":{"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"},"2567":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2568":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2569":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2570":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2571":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2572":{"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"},"2573":{"morph":{"__isSmartRef__":true,"id":2560},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2574":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2575":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2576},{"__isSmartRef__":true,"id":2577}],"renderContextTable":{"__isSmartRef__":true,"id":2578},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2579},"_Extent":{"__isSmartRef__":true,"id":2580},"_Padding":{"__isSmartRef__":true,"id":2581},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2570},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2576":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2577":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2578":{"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"},"2579":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2580":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2581":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2582":{"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"},"2583":{"morph":{"__isSmartRef__":true,"id":2559},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2584":{"morph":{"__isSmartRef__":true,"id":2559},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2585":{"morph":{"__isSmartRef__":true,"id":2559},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2560},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2586":{"morphMenuItems":{"__isSmartRef__":true,"id":2587}},"2587":{"varMapping":{"__isSmartRef__":true,"id":2588},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2593},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2588":{"this":{"__isSmartRef__":true,"id":2559},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2589}},"2589":{"$super":{"__isSmartRef__":true,"id":2590}},"2590":{"varMapping":{"__isSmartRef__":true,"id":2591},"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":2592},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2591":{"obj":{"__isSmartRef__":true,"id":2559},"name":"morphMenuItems"},"2592":{},"2593":{},"2594":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2595":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2596":{"morph":{"__isSmartRef__":true,"id":2516},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2597":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2598":{"centeredHorizontal":false,"moveHorizontal":true},"2599":{"x":675.4189853444968,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2600":{"submorphs":[{"__isSmartRef__":true,"id":2601}],"scripts":[],"id":"880E5B22-362B-4AFF-A30A-A3510517EB7D","shape":{"__isSmartRef__":true,"id":2616},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2632},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2620},"lighterFill":{"__isSmartRef__":true,"id":2633},"label":{"__isSmartRef__":true,"id":2601},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2642},"attributeConnections":[{"__isSmartRef__":true,"id":2643}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2644},"renderContextTable":{"__isSmartRef__":true,"id":2645},"eventHandler":{"__isSmartRef__":true,"id":2646},"distanceToDragEvent":{"__isSmartRef__":true,"id":2647},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3","FF38CA79-C0DF-4F2F-8FC3-407571EF6A54","B1D50332-9F4F-4F7C-AC3F-95DC6C73EAA4","5B8D7C39-987A-4849-BFFD-3F316CE03852","F7C30F5C-7270-44B1-ADFF-7473F2012DB0","5142302E-3E9A-476B-AB24-B2448DA6D3E4","FEA3C508-593D-4BC7-B645-8B5630CF2EDE","34DBC442-E1DE-42D7-8C63-BA9A1890C994","4F9067A3-5A5C-4637-A76F-7E590CEE2BDA"],"owner":{"__isSmartRef__":true,"id":1101},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9940149800149939,"__LivelyClassName__":"lively.morphic.Button"},"2601":{"submorphs":[],"scripts":[],"id":"48C80424-B38A-44A1-9380-E1C01E90C692","shape":{"__isSmartRef__":true,"id":2602},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2608},"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2609},"_Padding":{"__isSmartRef__":true,"id":2610},"owner":{"__isSmartRef__":true,"id":2600},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2611},"textChunks":[{"__isSmartRef__":true,"id":2612}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2614},"eventHandler":{"__isSmartRef__":true,"id":2615},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718","6BB077CE-92E6-47BE-BE88-9A48488562D1","9E359973-2FDB-417B-BB06-AB34D52BD310","58F098ED-A190-44F2-B73E-80802B2CF2F6","AEA84B35-B349-4307-92C6-8F229705DFC2","A677CADF-24FF-4177-9A3A-FE9AAE7D60FE","0F875AD9-E54C-4735-9BA9-7B89574233A1","840EBE92-3BC2-42EC-819E-3CD002576490","78C4969D-2C33-4B17-9027-89B411B9F496"],"_MinTextWidth":97,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"2602":{"position":{"__isSmartRef__":true,"id":2603},"_Extent":{"__isSmartRef__":true,"id":2604},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2605},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2606},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2607},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2603":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2604":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2605":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2606":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2607":{"x":2,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2608":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2609":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2610":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2611":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2612":{"style":{"__isSmartRef__":true,"id":2613},"chunkOwner":{"__isSmartRef__":true,"id":2601},"storedString":"Tests","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2613":{"__SourceModuleName__":"Global.lively.morphic.TextCore","textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2614":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2615":{"morph":{"__isSmartRef__":true,"id":2601},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2616":{"position":{"__isSmartRef__":true,"id":2617},"_Extent":{"__isSmartRef__":true,"id":2618},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2619},"_Fill":{"__isSmartRef__":true,"id":2620},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2630},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2631},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2617":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2618":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2619":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2620":{"stops":[{"__isSmartRef__":true,"id":2621},{"__isSmartRef__":true,"id":2623},{"__isSmartRef__":true,"id":2625},{"__isSmartRef__":true,"id":2627}],"vector":{"__isSmartRef__":true,"id":2629},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2621":{"offset":0,"color":{"__isSmartRef__":true,"id":2622}},"2622":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2623":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2624}},"2624":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2625":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2626}},"2626":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2627":{"offset":1,"color":{"__isSmartRef__":true,"id":2628}},"2628":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2629":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2630":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2631":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2632":{"x":569.4738443086164,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2633":{"stops":[{"__isSmartRef__":true,"id":2634},{"__isSmartRef__":true,"id":2636},{"__isSmartRef__":true,"id":2638},{"__isSmartRef__":true,"id":2640}],"vector":{"__isSmartRef__":true,"id":2629},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2634":{"offset":0,"color":{"__isSmartRef__":true,"id":2635}},"2635":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2636":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2637}},"2637":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2638":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2639}},"2639":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2640":{"offset":1,"color":{"__isSmartRef__":true,"id":2641}},"2641":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2642":{"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"},"2643":{"sourceObj":{"__isSmartRef__":true,"id":2600},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1101},"targetMethodName":"openPartTestRunner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2644":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2645":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2646":{"morph":{"__isSmartRef__":true,"id":2600},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2647":{"x":72.12712954861536,"y":-12.46465727058387,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2648":{"submorphs":[{"__isSmartRef__":true,"id":2649},{"__isSmartRef__":true,"id":2667}],"scripts":[],"id":"63366669-A7F9-46C3-92B0-B40DB0C1A6CB","shape":{"__isSmartRef__":true,"id":2678},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2694},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2682},"lighterFill":{"__isSmartRef__":true,"id":2695},"label":{"__isSmartRef__":true,"id":2649},"name":"ScriptableButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2704},"attributeConnections":[{"__isSmartRef__":true,"id":2707}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2708},"renderContextTable":{"__isSmartRef__":true,"id":2709},"eventHandler":{"__isSmartRef__":true,"id":2710},"derivationIds":[2588,"22797D34-67DE-4A06-81F0-4DF0A87ADBBC","81CB4C12-BCF0-4097-8B6D-D9419046367A","0767A57D-9BB2-48C6-9654-753D2B9D00A6","42871246-6725-4E41-A2C1-5A5BCF041097","BCE6E775-B5DF-4D6B-9F06-CDC02C1B1D0F"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":1101},"distanceToDragEvent":{"__isSmartRef__":true,"id":2711},"_Rotation":0,"_Scale":0.9920279440699439,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2712},"__LivelyClassName__":"lively.morphic.Button"},"2649":{"submorphs":[],"scripts":[],"id":"18508AE0-007B-4D81-BDC8-2AF57D9A3E06","shape":{"__isSmartRef__":true,"id":2650},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2656},"_MaxTextWidth":24,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2657},"_Padding":{"__isSmartRef__":true,"id":2658},"owner":{"__isSmartRef__":true,"id":2648},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2659},"textChunks":[{"__isSmartRef__":true,"id":2660},{"__isSmartRef__":true,"id":2662}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2664},"eventHandler":{"__isSmartRef__":true,"id":2665},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"024C5ADE-C4CF-4E8E-BEC5-F93AD4839702","A2CC4D56-B9D8-4A48-B6FF-DDDD85ACDC2E","5AC5C4DE-00B0-43DB-B7F1-765674CE818B","750A11C6-766E-4B48-AE32-D71DE811EB4A","66A7B56E-A94E-44AE-8AED-C0C1B07554D4"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":24,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":2666},"__LivelyClassName__":"lively.morphic.Text"},"2650":{"position":{"__isSmartRef__":true,"id":2651},"_Extent":{"__isSmartRef__":true,"id":2652},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2653},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2654},"_Padding":{"__isSmartRef__":true,"id":2655},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2651":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2652":{"x":24,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2653":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2654":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2655":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2656":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2657":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2658":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2659":{"x":24,"y":24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2660":{"style":{"__isSmartRef__":true,"id":2661},"chunkOwner":{"__isSmartRef__":true,"id":2649},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2661":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2662":{"style":{"__isSmartRef__":true,"id":2663},"chunkOwner":{"__isSmartRef__":true,"id":2649},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2663":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2664":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2665":{"morph":{"__isSmartRef__":true,"id":2649},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2666":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2667":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2668},"derivationIds":[null,"29E543E0-AE93-493A-A694-FC1C330D0544","F0366E4C-E97F-4C77-BEE4-340A0668ADD5","347F6028-5092-4F54-9A34-3EFF3FF0B815","BF7387E7-BCD7-4A5B-B9D2-C14ECF59EFCA"],"id":"62C84FDD-AC9D-47B4-BFA2-72B17558B59E","renderContextTable":{"__isSmartRef__":true,"id":2673},"eventHandler":{"__isSmartRef__":true,"id":2674},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2675},"owner":{"__isSmartRef__":true,"id":2648},"name":"leftpointing_magnifying_glass.png","priorExtent":{"__isSmartRef__":true,"id":2676},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2677},"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image"},"2668":{"_Position":{"__isSmartRef__":true,"id":2669},"renderContextTable":{"__isSmartRef__":true,"id":2670},"_Extent":{"__isSmartRef__":true,"id":2671},"_ImageURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAABAAAAAQBPJcTWAAAALnRFWHRUaXRsZQBMRUZULVBPSU5USU5HIE1BR05JRllJTkcgR0xBU1MgKFUrMUY1MEQpw88haQAAABV0RVh0QXV0aG9yAEFuZHJldyBNYXJjdXNl5zc3gwAAAC90RVh0U29mdHdhcmUAaW5mby5maWxlZm9ybWF0LmRhdGEuVW5pY29kZVBuZ1NlcnZsZXRoAX8wAAAAQ3RFWHREZXNjcmlwdGlvbgBodHRwOi8vd3d3LmZpbGVmb3JtYXQuaW5mby9pbmZvL3VuaWNvZGUvMWY1MGQvaW5kZXguaHRtk2hNQgAAADt0RVh0Q29weXJpZ2h0AGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzIuMC9siJKDAAAIDklEQVR42u1daWxVRRQeCi0tIqCAQCTIUtEIGlk0ilqEkEbiQhSKGAyCooIIggsiQuMWZNGwVMUFNIhKZBMobZClgK1FwAU3wIpSREDcUFZFEM/JOzf3vPHet9ze1/eYe77k+zNzl5nz3ZlzZntPKYFAcHojDXimmKH6cQbwZuBM4HLgx8A9wBPAU8BjwJ3ADcDFwMnArsCaYjr/0BB4DwlwjAwfL38DzgX2AdYWk3pDJnAM8E/NuN8BpwEHAq8DXgpsCswANgN2APak/BeBu7T7sQX1A9YQE8fuDwYAf2BG/JrEaefxmSjaeOAO9syNwBwxd2Q0o/7fMhr6h8Fx+oBIX346cATwF/aON6Qbc0ZH4G4y0lHgOGAdD8/Be/KAs4AFwKsdrqkHnAA8Tu8rAzYWCWz0Bh5hraKTT11fL+AH1FXlA8/SrsEu61fmW9qLFEqNAv5LRsEw9twEvKMzcAvwJ3LoHG2AW+n9B4HdgixGHhNjiccuKlbUp9aC7yoGnqflraa8A8C2QRTjMvIVaITyKI61BjnkqiILWEjvPAwcxvLqAj+nvAqH7s1oNAfupcpjeNskhnvQOQ/xYfxQCziHRVl3sjxsNfspvYSuNR4Ywn5ClT5CA7lYkUPRU0YVy4CivkVlOE7TKxa6AP+ivKlBEORe9nUO8XD/QhWay6oqmlK3dYoirTYs70FK/wd4ocli1KVIByu7XXmb9BsOPEmj76riSfZxbAM2oPQMmqLB9GUmC/I0M8AtHp9xCd3/rM8fCHISy+vH0ruaOi3Coyqv6ETPKPSpXEOZ4X9XoSl+y89sovTNJgoyklW8rw8+aKFP5apFo3SrbMNcWsnFpgmylkU19R3yY4mc0mk0j88Z62PZ5jHDV7DQugE5dkx/3CQxzlb2qt6aCF1HtJH6BHoGju4v97F8+Sp8zeRGlldCaZtMEmQAq+zICL5hpUvrwfXy19gzZvhcvj6aILNZ3ij2ETQzRZA3WWU7RrgOfQsu05YCnyLxcFS9h91fTlMgfqKdJsg6lteBpQ8wRZASVqmmUa7txvwEJ/qe8SoxGxYymK+wpnMsNGHpxviRbVShkzEatAb5iEHUSrqzQVuiUMkMf5IFGWnM/71giiAHqEL7U7iMf2gtkk/B7/M51E4qMlklvzwNymgxl+VvobQPTRCkMavkDpaelkJlbOkgyDUsv0LZu19Oe/A++BBLvyIB0ZJX9HIQhHdZBymt1BQfso9V1Jorag28PUXKN8tBkHqUV4elLTJFkM9YpVqzllOcAmXDiG6vJsZhlt+Kpc80RZBiF2eJK4fZSS5bd4fWUcTyc1n6Y6YIMpVVii+LTgFOTHLZNjoIMpTlT2fpXUwRpIcKn021gHuwcDN0ss525Cnn3fIt2DXfK3vPljGbHtK1gdcFmkNdkYTK4gz0Tgcxytg1fI6rUBkGvubA54Ta0lTFK9VYFhS/xKV18PEHX3MfYpogfPUND9DwuamFlP5oNZXlZRcxlmsDWutsCl/aNQYZWhfBnTlOceNsLq459E1wyyhwEeNvFb7ZusClrEbhNlbJoyp8Y3UejehxPWS08v/MBrbIlcr92BvfwZit7KMKOC3f3FRBcBC2mRlBnz0dpOzN17gvqrdP7+2p7PkoJz7Hrq2pCfeqMhzXasbI1/KHa/m4Y93reRFcU1mrIh8IXaLCJzpnsLyfKRozHrNZpbFF9NHyx2pGw2tWAZ8H3gW8UjmvvWdSlIQb3raq6Kdzp6vwBbOhWn5/FRCggy9lFcdN1521ax5Q0Y9B41o7nkn8Rv1/gSkS0T/crb0vV4Uv465UAUNjLerCkfAN2jUXKef19apwnYP4AynK4tfNU6m1ZlMtaK/stQZrLXu0Q6g6OIpTjoVfAK/Xnp1GDp1fhy0th1rwHLqmEbXYHkEQJYcGitwouG2onoPx0Ne8q+yDmtGIs8lPUFCgH/Q5R4XPQlt8nfKzKB9/ouNHLT/ddFEw7t+uGQbPko90GY+gOHgcoRc5+YeBj1DY3JPyGrq8qy6JdMhBDAyz8azhZLq2JRuP4HE3a6f8KhNH7k4Dt9UORqoE3qGqfiAUo7L7lX1kjfMd4H0UHGTTFMpLzH8VUAS3iN2znsQ1GugvprCvkvMYdSFouBYxPu98FdoKusblmZXUoiz0J1FuYgPUfCrXAof7S4MgimXIRVH8wwHq5vBLna9Cs8ULyEgVWrCg8zAJ79TtjGDXjSMx5kd4Fk7XB+a3uq5Sob1QfoW86JzxR2zcjjyj3/mKTafUpCAi2nPLVcB+QA379YdoGuWEBxEwars1hujIOpZQQS1jWhzvKXeIDAOBRhT+YgQ2kcYK71NLwgOauAKJ50jwpFW8J2jHKHvLKwYBuENmVxyibAiqKIlCOkVY1g8HZHkQ5SOXeTaBR9RW9vT7agp34xVlo4jiL7KoG0TjriCR4hVlk0r8EYrAtZQiZa+14wx1qzhF2Syi+C+K5VOWko8RUVJIlPc8irIhKCP6ZItSqeJbh8kSU/qHDCbKMuZT4hFlrpgxcaIUUcuJR5TdYsLEiFLIQuLMOESZJOZLnCjLyMhrabqkZRRR1qsArDQmW5SlZOxPVWhJ2E2UNRJlVQ/wi19CRv9WhXbJoCh8zb+IujVBNYqymIyPP55ZxsQoVvK78kkBrp28rXVThSJGcoE7YZ5RoTMlc8SBpw7kj2IEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgSAZ+A+0ucC4BysctgAAAABJRU5ErkJggg==","_Padding":{"__isSmartRef__":true,"id":2672},"_NodeClass":["image"],"_NodeId":"29E543E0-AE93-493A-A694-FC1C330D0544","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"2669":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2670":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2671":{"x":29,"y":29,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2672":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2673":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2674":{"morph":{"__isSmartRef__":true,"id":2667},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2675":{"x":-3.024108360992159,"y":0.008036120330757512,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2676":{"x":28,"y":29,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2677":{"x":39.935711037353485,"y":-9.032144481323257,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2678":{"position":{"__isSmartRef__":true,"id":2679},"_Extent":{"__isSmartRef__":true,"id":2680},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2681},"_Fill":{"__isSmartRef__":true,"id":2682},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2692},"_Padding":{"__isSmartRef__":true,"id":2693},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2679":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2680":{"x":24,"y":24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2681":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2682":{"stops":[{"__isSmartRef__":true,"id":2683},{"__isSmartRef__":true,"id":2685},{"__isSmartRef__":true,"id":2687},{"__isSmartRef__":true,"id":2689}],"vector":{"__isSmartRef__":true,"id":2691},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2683":{"offset":0,"color":{"__isSmartRef__":true,"id":2684}},"2684":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2685":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2686}},"2686":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2687":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2688}},"2688":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2689":{"offset":1,"color":{"__isSmartRef__":true,"id":2690}},"2690":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2691":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2692":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2693":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2694":{"x":464.5087747493862,"y":8.483242611655214,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2695":{"stops":[{"__isSmartRef__":true,"id":2696},{"__isSmartRef__":true,"id":2698},{"__isSmartRef__":true,"id":2700},{"__isSmartRef__":true,"id":2702}],"vector":{"__isSmartRef__":true,"id":2691},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2696":{"offset":0,"color":{"__isSmartRef__":true,"id":2697}},"2697":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2698":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2699}},"2699":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2700":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2701}},"2701":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2702":{"offset":1,"color":{"__isSmartRef__":true,"id":2703}},"2703":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2704":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"ScriptableButton","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":2705}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2705":{"date":{"__isSmartRef__":true,"id":2706},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"2706":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:10:10 GMT-0700 (Pacific Daylight Time)"},"2707":{"sourceObj":{"__isSmartRef__":true,"id":2648},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2648},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2708":{"x":24.405327095521386,"y":24.0321444813232,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2709":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2710":{"morph":{"__isSmartRef__":true,"id":2648},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2711":{"x":37.935711037353656,"y":-7.943747157684584,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2712":{"onFire":{"__isSmartRef__":true,"id":2713},"removeHighlighting":{"__isSmartRef__":true,"id":2717},"getHighlightRectangle":{"__isSmartRef__":true,"id":2721},"onMouseMove":{"__isSmartRef__":true,"id":2725},"onMouseOut":{"__isSmartRef__":true,"id":2733},"newHighlightRectangle":{"__isSmartRef__":true,"id":2741}},"2713":{"varMapping":{"__isSmartRef__":true,"id":2714},"source":"function onFire() {\n // this.world().firstHand().highlightRectangle = null\n\n var hand = this.world().firstHand(),\n rect = this.getHighlightRectangle(),\n that = this\n\n if (hand.highlightConnection) {\n this.removeHighlighting()\n } else {\n this.world().addMorph(rect)\n hand.highlightConnection = connect(hand, \"scrollFocusMorph\", rect, \"update\")\n // on click we need to remove, remove on update\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2715},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2714":{"this":{"__isSmartRef__":true,"id":2648}},"2715":{"timestamp":{"__isSmartRef__":true,"id":2716},"user":"lauritz","tags":[]},"2716":{"isSerializedDate":true,"string":"Tue May 29 2012 04:05:14 GMT-0700 (Pacific Daylight Time)"},"2717":{"varMapping":{"__isSmartRef__":true,"id":2718},"source":"function removeHighlighting() {\n var hand = this.world().firstHand(),\n rect = hand.highlightRectangle\n rect.remove()\n hand.attributeConnections.removeAt(\n hand.attributeConnections.indexOf(hand.highlightConnection))\n hand.highlightConnection = null\n}","funcProperties":{"__isSmartRef__":true,"id":2719},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2718":{"this":{"__isSmartRef__":true,"id":2648}},"2719":{"timestamp":{"__isSmartRef__":true,"id":2720},"user":"lauritz","tags":[]},"2720":{"isSerializedDate":true,"string":"Tue May 29 2012 03:56:37 GMT-0700 (Pacific Daylight Time)"},"2721":{"varMapping":{"__isSmartRef__":true,"id":2722},"source":"function getHighlightRectangle() {\n\n var hand = this.world().firstHand(),\n rect = hand.highlightRectangle;\n\n if (!rect) {\n rect = this.newHighlightRectangle()\n connect(rect, \"onMouseMove\", rect, \"updateOnMove\")\n connect(rect, \"onMouseUp\", this, \"removeHighlighting\")\n connect(rect, \"onMouseUp\", this.owner, \"setTarget\",\n {converter: function () {\n return this.sourceObj.coveredMorph()\n }\n })\n hand.highlightRectangle = rect\n }\n\n return rect\n}","funcProperties":{"__isSmartRef__":true,"id":2723},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2722":{"this":{"__isSmartRef__":true,"id":2648}},"2723":{"timestamp":{"__isSmartRef__":true,"id":2724},"user":"lauritz","tags":[]},"2724":{"isSerializedDate":true,"string":"Tue May 29 2012 04:14:51 GMT-0700 (Pacific Daylight Time)"},"2725":{"varMapping":{"__isSmartRef__":true,"id":2726},"source":"function onMouseMove(evt) {\n var rect = this.newHighlightRectangle()\n\n var target = this.owner.target\n if (target && !this.targetHighlight) {\n rect.update(target)\n this.world().addMorph(rect)\n this.targetHighlight = rect\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2731},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2726":{"this":{"__isSmartRef__":true,"id":2648},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2727}},"2727":{"$super":{"__isSmartRef__":true,"id":2728}},"2728":{"varMapping":{"__isSmartRef__":true,"id":2729},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2730},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2729":{"obj":{"__isSmartRef__":true,"id":2648},"name":"onMouseMove"},"2730":{},"2731":{"timestamp":{"__isSmartRef__":true,"id":2732},"user":"lauritz","tags":[]},"2732":{"isSerializedDate":true,"string":"Tue May 29 2012 04:17:03 GMT-0700 (Pacific Daylight Time)"},"2733":{"varMapping":{"__isSmartRef__":true,"id":2734},"source":"function onMouseOut() {\n if (this.targetHighlight) {\n this.targetHighlight.remove()\n delete this.targetHighlight\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2739},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2734":{"this":{"__isSmartRef__":true,"id":2648},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2735}},"2735":{"$super":{"__isSmartRef__":true,"id":2736}},"2736":{"varMapping":{"__isSmartRef__":true,"id":2737},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2738},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2737":{"obj":{"__isSmartRef__":true,"id":2648},"name":"onMouseOut"},"2738":{},"2739":{"timestamp":{"__isSmartRef__":true,"id":2740},"user":"lauritz","tags":[]},"2740":{"isSerializedDate":true,"string":"Tue May 29 2012 04:16:12 GMT-0700 (Pacific Daylight Time)"},"2741":{"varMapping":{"__isSmartRef__":true,"id":2742},"source":"function newHighlightRectangle() {\n return this.world().loadPartItem(\"HighlightRectangle\", \"PartsBin/Tools\")\n}","funcProperties":{"__isSmartRef__":true,"id":2743},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2742":{"this":{"__isSmartRef__":true,"id":2648}},"2743":{"timestamp":{"__isSmartRef__":true,"id":2744},"user":"lauritz","tags":[]},"2744":{"isSerializedDate":true,"string":"Tue May 29 2012 04:14:40 GMT-0700 (Pacific Daylight Time)"},"2745":{"target":{"__isSmartRef__":true,"id":1101},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":35815,"__SourceModuleName__":"Global.lively.morphic.Core","suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript"},"2746":{"position":{"__isSmartRef__":true,"id":2747},"_Extent":{"__isSmartRef__":true,"id":2748},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2749},"_Fill":{"__isSmartRef__":true,"id":2750},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2751},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2752},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2747":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2748":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2749":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2750":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2751":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"2752":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2753":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":2754}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2754":{"date":{"__isSmartRef__":true,"id":2755},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"2755":{"isSerializedDate":true,"string":"Thu Oct 20 2011 15:39:30 GMT-0700 (Pacific Daylight Time)"},"2756":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2757":{"morph":{"__isSmartRef__":true,"id":1101},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2758":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2759":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2760":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2761":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2762":{},"2763":{"displayInitialScript":{"__isSmartRef__":true,"id":2764},"displayJavaScriptSource":{"__isSmartRef__":true,"id":2768},"displaySourceForConnection":{"__isSmartRef__":true,"id":2772},"displaySourceForScript":{"__isSmartRef__":true,"id":2776},"generateSourceForConnection":{"__isSmartRef__":true,"id":2780},"generateSourceForScript":{"__isSmartRef__":true,"id":2784},"generateTargetCode":{"__isSmartRef__":true,"id":2788},"newConnection":{"__isSmartRef__":true,"id":2792},"newScript":{"__isSmartRef__":true,"id":2796},"reset":{"__isSmartRef__":true,"id":2800},"selectChangedContent":{"__isSmartRef__":true,"id":2804},"setTarget":{"__isSmartRef__":true,"id":2808},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":2812},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2816},"updateLists":{"__isSmartRef__":true,"id":2820},"onShutdown":{"__isSmartRef__":true,"id":2824},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":2828},"update":{"__isSmartRef__":true,"id":2832},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":2836},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":2840},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":2844},"printTags":{"__isSmartRef__":true,"id":2852},"setTag":{"__isSmartRef__":true,"id":2856},"runScript":{"__isSmartRef__":true,"id":2860},"openPartTestRunner":{"__isSmartRef__":true,"id":2864}},"2764":{"varMapping":{"__isSmartRef__":true,"id":2765},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.preselectItem();\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.preselectItem();\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2766},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2765":{"this":{"__isSmartRef__":true,"id":1101}},"2766":{"timestamp":{"__isSmartRef__":true,"id":2767},"user":"lauritz","tags":[]},"2767":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:13:43 GMT-0800 (Pacific Standard Time)"},"2768":{"varMapping":{"__isSmartRef__":true,"id":2769},"source":"function displayJavaScriptSource(jsCode) {\n if (this.scriptPane.hasChanged()) {\n var that = this;\n var callback = function(confirmed) {\n if (confirmed) that.scriptPane.display(jsCode)\n };\n this.confirmUnsavedChanges(callback);\n } else {\n this.scriptPane.display(jsCode);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2770},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2769":{"this":{"__isSmartRef__":true,"id":1101}},"2770":{"timestamp":{"__isSmartRef__":true,"id":2771},"user":"lauritz","tags":[]},"2771":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (Pacific Standard Time)"},"2772":{"varMapping":{"__isSmartRef__":true,"id":2773},"source":"function displaySourceForConnection(connection) {\n var code = \"\", that = this;\n if (connection === undefined) return;\n if (connection === null) {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":2774},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2773":{"this":{"__isSmartRef__":true,"id":1101}},"2774":{"timestamp":{"__isSmartRef__":true,"id":2775},"user":"conradcalmez","tags":[]},"2775":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:59:30 GMT-0800 (Pacific Standard Time)"},"2776":{"varMapping":{"__isSmartRef__":true,"id":2777},"source":"function displaySourceForScript(scriptName) {\n var code = \"\",\n that = this;\n if (scriptName === null) {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":2778},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2777":{"this":{"__isSmartRef__":true,"id":1101}},"2778":{"timestamp":{"__isSmartRef__":true,"id":2779},"user":"lauritz","tags":[]},"2779":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:51:37 GMT-0800 (Pacific Standard Time)"},"2780":{"varMapping":{"__isSmartRef__":true,"id":2781},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2782},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2781":{"this":{"__isSmartRef__":true,"id":1101}},"2782":{"timestamp":{"__isSmartRef__":true,"id":2783},"user":"lauritz","tags":[]},"2783":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (Pacific Standard Time)"},"2784":{"varMapping":{"__isSmartRef__":true,"id":2785},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (script.timestamp && script.user) \n annotation = Strings.format('// changed at %s by %s \\n', script.timestamp, script.user);\n scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":2786},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2785":{"this":{"__isSmartRef__":true,"id":1101}},"2786":{"timestamp":{"__isSmartRef__":true,"id":2787},"user":"lauritz","tags":[]},"2787":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:32:42 GMT-0800 (Pacific Standard Time)"},"2788":{"varMapping":{"__isSmartRef__":true,"id":2789},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":2790},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2789":{"this":{"__isSmartRef__":true,"id":1101}},"2790":{"timestamp":{"__isSmartRef__":true,"id":2791},"user":"lauritz","tags":[]},"2791":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (Pacific Standard Time)"},"2792":{"varMapping":{"__isSmartRef__":true,"id":2793},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2794},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2793":{"this":{"__isSmartRef__":true,"id":1101}},"2794":{"timestamp":{"__isSmartRef__":true,"id":2795},"user":"lauritz","tags":[]},"2795":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (Pacific Standard Time)"},"2796":{"varMapping":{"__isSmartRef__":true,"id":2797},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n \\n}).tag([]);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2798},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2797":{"this":{"__isSmartRef__":true,"id":1101}},"2798":{"timestamp":{"__isSmartRef__":true,"id":2799},"user":"lauritz","tags":[]},"2799":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:24:25 GMT-0800 (Pacific Standard Time)"},"2800":{"varMapping":{"__isSmartRef__":true,"id":2801},"source":"function reset() {\n this.scriptPane = this.get('ObjectEditorScriptPane')\n this.scriptList = this.get('ObjectEditorScriptList')\n this.connectionList = this.get('ObjectEditorConnectionList')\n this.morphSelector = this.get('ObjectEditorMorphSelector')\n this.target = null;\n this.scriptPane.reset();\n this.scriptList.setList();\n this.scriptList.selection = null;\n this.connectionList.setList();\n this.connectionList.selection = null;\n this.morphSelector.reset();\n this.tagChooser.reset();\n this.currentTag = null;\n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":2802},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2801":{"this":{"__isSmartRef__":true,"id":1101}},"2802":{"timestamp":{"__isSmartRef__":true,"id":2803},"user":"conradcalmez","tags":[]},"2803":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:57:50 GMT-0800 (Pacific Standard Time)"},"2804":{"varMapping":{"__isSmartRef__":true,"id":2805},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n return this.scriptList.selectAddedScript(addScriptMatches[0]);\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i