First edit node implementation...

This commit is contained in:
Paulo Veiga
2011-08-25 22:08:39 -03:00
parent 9fbe0050df
commit c4cd24744a
36 changed files with 868 additions and 4131 deletions

View File

@@ -84,7 +84,7 @@ mindplot.DesignerModel = new Class({
var result = [];
var topics = this.filterSelectedTopics();
if (topics.length==0) {
if (topics.length == 0) {
core.Monitor.getInstance().logMessage('At least one element must be selected to execute this operation.');
} else {
var isValid = true;
@@ -131,6 +131,11 @@ mindplot.DesignerModel = new Class({
getRelationshipsById : function() {
return this._relationships;
},
selectedTopic : function() {
var topics = this.filterSelectedTopics();
return (topics.length > 0) ? topics[0] : null;
}
});