Move persistence clases to persistence package.

This commit is contained in:
Paulo Gustavo Veiga
2012-02-25 23:32:15 -03:00
parent e401d73cb6
commit 9e44804314
29 changed files with 820 additions and 249 deletions

View File

@@ -82,6 +82,15 @@ mindplot.model.INodeModel = new Class({
return result;
},
setImageUrl:function(url) {
this.putProperty('imageUrl', url);
},
getImageUrl:function() {
return this.getProperty('imageUrl');
},
getMindmap : function() {
return this._mindmap;
},

View File

@@ -22,7 +22,7 @@ mindplot.model.Mindmap = new Class({
this._branches = [];
this._description = null;
this._relationships = [];
this._version = $defined(version) ? version : mindplot.ModelCodeName.TANGO;
this._version = $defined(version) ? version : mindplot.persistence.ModelCodeName.TANGO;
this._id = id;
},