{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4},"_ClipMode":"hidden","derivationIds":["FF361E16-9AE0-49B9-9872-A883D96578ED"],"id":"D566CD55-107B-4D46-B818-CCC10C46AAD1","grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"icon":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":5},"_traitConfig_":[{"__isSmartRef__":true,"id":6}],"_FixedPosition":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":8},"name":"BertButton","_Scale":1,"isEpiMorph":false,"attributeConnections":[{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":22},{"__isSmartRef__":true,"id":24}],"__serializedExpressions__":["_Position"],"_Rotation":0,"iconPath":"/media/bertbuttons/command.svg","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":26},"__LivelyClassName__":"lively.morphic.BertButton","__SourceModuleName__":"Global.lively.morphic.MobileInterface","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2},"_ClipMode":"visible","derivationIds":[],"id":"55725712-2CDC-45B4-9009-8245129D2E0F","droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":3},"_Scale":0.45,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(-45.0,-45.0)"},"2":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"_ImageURL":"http://lively-web.org/core//media/bertbuttons/command.svg","_BorderWidth":0,"_BorderColor":null,"_Fill":null,"isLoaded":true,"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(200.0,200.0)","_Padding":"lively.rect(0,0,0,0)"},"3":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-45.0,-45.0)","_Extent":"lively.pt(90.0,90.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgba(102,102,102,0.3)"},"5":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6":{"traitName":"lively.morphic.FixedPositioning.MorphTrait","options":{"__isSmartRef__":true,"id":7}},"7":{"override":["addEventHandlerForFixedPositioning","enableFixedPositioning","disableFixedPositioning","setFixedPosition","setFixedPositionHTML","getFixedPositionTransform","getPosition","setPosition","getExtent","innerBounds","remove"]},"8":{"partName":"BertButton","requiredModules":["lively.morphic.MobileInterface"],"partsSpaceName":"PartsBin/Astrid/","comment":"a bert button with customizable image. overwrite onToggleState to get actions.","changes":[{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":14},{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":16},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":19}],"migrationLevel":8,"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Nov 12 2014 13:46:23 GMT-0800 (PST)\")"},"9":{"author":"athomschke","message":"cleanup","id":"04E710A3-E0EC-4BA8-8BE5-E8D6EF91E5BE","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 13:46:23 GMT-0800 (PST)\")"},"10":{"author":"athomschke","message":"positioning on load","id":"8C4B35A4-6A4C-4C62-BD2F-3B6F974B4027","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 13:37:57 GMT-0800 (PST)\")"},"11":{"author":"athomschke","message":"epi morph! really? again? -.-","id":"41471930-DAF8-438F-B161-C9FF02BD5020","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 13:36:18 GMT-0800 (PST)\")"},"12":{"author":"athomschke","message":"onLoad","id":"0DCAB939-1602-4ED2-8439-D51E9333F928","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 11:57:54 GMT-0800 (PST)\")"},"13":{"author":"athomschke","message":"fixed??","id":"A9C061F7-669C-42B9-88F0-5CE387A66E26","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 11:54:27 GMT-0800 (PST)\")"},"14":{"author":"athomschke","message":"connections??","id":"01011EFC-6C08-4756-931D-93AE32169D27","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 11:53:34 GMT-0800 (PST)\")"},"15":{"author":"athomschke","message":"added required bodule","id":"B902F562-1765-4572-97DE-D03C99F968F3","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 11:50:20 GMT-0800 (PST)\")"},"16":{"author":"athomschke","message":"can I set my username?","id":"9969795F-3B11-4FA5-925D-9166E4CDEB92","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 11:49:16 GMT-0800 (PST)\")"},"17":{"author":"null","message":"loading module onLoadFromPartsBin","id":"5041C36A-0C0B-4448-BAFC-90EC34F85AB2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 11:47:03 GMT-0800 (PST)\")"},"18":{"author":"null","message":"taken from buildspec in lively.morphic.MobileInterface","id":"C5474270-EAB3-4069-A2C5-423D84491E27","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 11:44:22 GMT-0800 (PST)\")"},"19":{"__serializedExpressions__":["date"],"author":"athomschke","message":"new icon path","id":"BE494FDB-D6EB-4D02-BC94-94B06E2C283D","date":"new Date(\"Wed Nov 12 2014 15:45:41 GMT-0800 (PST)\")"},"20":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"onDragStart","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"pressStart","varMapping":{"__isSmartRef__":true,"id":21},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"21":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"22":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"onDragEnd","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"pressEnd","varMapping":{"__isSmartRef__":true,"id":23},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"23":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"24":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"onDrag","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"stayInWorld","varMapping":{"__isSmartRef__":true,"id":25},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"25":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"26":{"onToggleState":{"__isSmartRef__":true,"id":27}},"27":{"varMapping":{"__isSmartRef__":true,"id":28},"source":"function onToggleState(bool) {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":33},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"28":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":29}},"29":{"$super":{"__isSmartRef__":true,"id":30}},"30":{"varMapping":{"__isSmartRef__":true,"id":31},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[name].apply(obj, arguments);\n                } catch (e) {\n                    if ($world)\n                        $world.logError(e, 'Error in $super call')\n                    else\n                        alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":32},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"31":{"obj":{"__isSmartRef__":true,"id":0},"name":"onToggleState"},"32":{},"33":{"user":"null","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Nov 12 2014 11:26:58 GMT-0800 (PST)\")"},"isSimplifiedRegistry":true}}