Start working on editor.html.

This commit is contained in:
Paulo Gustavo Veiga
2014-03-05 00:55:22 -03:00
parent cb36e97c07
commit d9b7269d29
5 changed files with 26 additions and 986 deletions

View File

@@ -18,22 +18,22 @@
mindplot.DesignerKeyboard = new Class({
// Extends:Keyboard,
Static:{
register:function (designer) {
this._instance = new mindplot.DesignerKeyboard(designer);
this._instance.activate();
},
getInstance:function () {
return this._instance;
}
},
// Static:{
// register:function (designer) {
// this._instance = new mindplot.DesignerKeyboard(designer);
// this._instance.activate();
// },
//
// getInstance:function () {
// return this._instance;
// }
// },
initialize:function (designer) {
console.error("Re-impl required ....");
$assert(designer, "designer can not be null");
this.parent({defaultEventType:'keydown'});
this._registerEvents(designer);
// $assert(designer, "designer can not be null");
// this.parent({defaultEventType:'keydown'});
// this._registerEvents(designer);
},