{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4},"_ClipMode":"hidden","derivationIds":["FF361E16-9AE0-49B9-9872-A883D96578ED","D566CD55-107B-4D46-B818-CCC10C46AAD1","D0021F79-5F36-4428-B0F1-5DC0472D625B","3A120472-631E-457A-991F-06D266721C07","9F38C963-F887-41FA-829E-F25C99415079","284EDB9B-05FE-4016-887D-C6C4F252AFB4","CF4424BB-7F13-43F3-8763-E307A4BA0DB3","1F72458F-A49D-4542-AC5C-2912EC0CA624"],"id":"E792EA73-E995-4F53-82AA-2B4EC1DA8C38","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":"PartsBinButton","_Scale":1,"isEpiMorph":false,"attributeConnections":[{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":35}],"_Rotation":0,"iconPath":"media/bertbuttons/partsbin.svg","__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":37},"__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":["88FCB643-1418-434C-BDC5-B78F2440831F","F9136110-9D6D-46A1-AF08-4964CE736303","D9AC729C-DF82-43AE-9EDD-E635764A1E11","8E180F0A-D379-4D1F-B962-D4C3B5297B07","E7FACA53-30B7-4E08-8880-180A00E3B72A","43012C16-106D-4F37-A31B-4C195BCE0375"],"id":"FE34C329-BC7F-40A9-ADF0-84DC9892B97B","droppingEnabled":false,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":3},"_Scale":0.45,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(-45.0,-45.0)"},"2":{"_ImageURL":"http://lively-web.org/core/media/bertbuttons/partsbin.svg","_BorderWidth":0,"_BorderColor":null,"_Fill":null,"isLoaded":true,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__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":"PartsBinButton","requiredModules":["lively.morphic.MobileInterface"],"partsSpaceName":"PartsBin/Astrid/","comment":"shows the partsbin in full screen while pressed","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},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":22},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":24},{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":30}],"migrationLevel":8,"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Mon Nov 17 2014 11:01:56 GMT-0800 (PST)\")"},"9":{"author":"athomschke","message":"no comment","id":"CDC01B4C-89CE-41C1-8D99-27F4648D1844","__serializedExpressions__":["date"],"date":"new Date(\"Mon Nov 17 2014 11:01:55 GMT-0800 (PST)\")"},"10":{"author":"athomschke","message":"adapted new class behavior for interaction on laptop","id":"AD720A51-D785-40FA-A0FD-471B2578DDF4","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 13 2014 13:38:31 GMT-0800 (PST)\")"},"11":{"author":"athomschke","message":"aaaand reset","id":"6DD1C036-817A-478E-968B-ABF15C599C3A","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 17:05:24 GMT-0800 (PST)\")"},"12":{"author":"athomschke","message":"partsbin on top","id":"358FC7B5-ECCE-420D-BED5-194CC569255A","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 17:05:06 GMT-0800 (PST)\")"},"13":{"author":"athomschke","message":"removed partsBin reference and updated icon","id":"524FB225-1457-4631-9663-6B17B5727D51","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 16:17:26 GMT-0800 (PST)\")"},"14":{"author":"athomschke","message":"initial","id":"B8D242B8-0957-4C2F-88A3-F9654C9648E5","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 16:16:12 GMT-0800 (PST)\")"},"15":{"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)\")"},"16":{"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)\")"},"17":{"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)\")"},"18":{"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)\")"},"19":{"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)\")"},"20":{"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)\")"},"21":{"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)\")"},"22":{"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)\")"},"23":{"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)\")"},"24":{"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)\")"},"25":{"author":"athomschke","message":"new icon path","id":"BE494FDB-D6EB-4D02-BC94-94B06E2C283D","__serializedExpressions__":["date"],"date":"new Date(\"Wed Nov 12 2014 15:45:41 GMT-0800 (PST)\")"},"26":{"author":"athomschke","message":"implemented usage on non-mobile devices: click to show, click to hide parts bin","id":"426F96CE-B6F9-477F-99BD-E539C9D9E46B","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 13 2014 10:44:31 GMT-0800 (PST)\")"},"27":{"author":"athomschke","message":"resetted","id":"8D21DFBB-C490-4740-BB2E-1E65726C0D5B","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 13 2014 10:44:46 GMT-0800 (PST)\")"},"28":{"author":"athomschke","message":"fixed again","id":"15A10FE5-2A70-4438-93DD-8A3AD09A8927","__serializedExpressions__":["date"],"date":"new Date(\"Mon Nov 17 2014 10:47:25 GMT-0800 (PST)\")"},"29":{"author":"athomschke","message":"now?","id":"ED7E97D9-B650-4087-9DD5-621DF38237E8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Nov 17 2014 10:47:51 GMT-0800 (PST)\")"},"30":{"__serializedExpressions__":["date"],"author":"athomschke","message":"fixed fix","id":"4D828606-C0F3-47FD-BF77-81CCC323E058","date":"new Date(\"Mon Nov 17 2014 11:06:43 GMT-0800 (PST)\")"},"31":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"onDragStart","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"pressStart","varMapping":{"__isSmartRef__":true,"id":32},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"32":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"33":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"onDragEnd","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"pressEnd","varMapping":{"__isSmartRef__":true,"id":34},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"34":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"35":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"onDrag","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"stayInWorld","varMapping":{"__isSmartRef__":true,"id":36},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"36":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"37":{"onToggleState":{"__isSmartRef__":true,"id":38},"reset":{"__isSmartRef__":true,"id":45}},"38":{"varMapping":{"__isSmartRef__":true,"id":39},"source":"function onToggleState(bool) {\n    if (bool) {\n        if (this.partsBin) {\n            $world.addMorph(this.partsBin)\n        } else {\n            this.partsBin = lively.BuildSpec('lively.morphic.tools.PartsBin')\n                    .createMorph();\n        }\n        $world.addMorph(this.partsBin);\n        lively.ide.commands.exec('lively.ide.resizeWindow', 'top', this.partsBin)\n    } else {\n        this.partsBin && this.partsBin.remove();\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":44},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"39":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":40}},"40":{"$super":{"__isSmartRef__":true,"id":41}},"41":{"varMapping":{"__isSmartRef__":true,"id":42},"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":43},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"42":{"obj":{"__isSmartRef__":true,"id":0},"name":"onToggleState"},"43":{},"44":{"__serializedExpressions__":["timestamp"],"user":"athomschke","timestamp":"new Date(\"Mon Nov 17 2014 11:06:28 GMT-0800 (PST)\")"},"45":{"varMapping":{"__isSmartRef__":true,"id":46},"source":"function reset() {\n    this.partsBin && this.partsBin.remove();\n    delete this.partsBin\n}","funcProperties":{"__isSmartRef__":true,"id":47},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"46":{"this":{"__isSmartRef__":true,"id":0}},"47":{"user":"athomschke","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Nov 12 2014 16:17:12 GMT-0800 (PST)\")"},"isSimplifiedRegistry":true}}