- Fix position of isolated nodes ...

This commit is contained in:
Paulo Gustavo Veiga
2012-07-09 18:52:59 -03:00
parent 39c2b37a1f
commit 890364f13c
7 changed files with 61 additions and 58 deletions

View File

@@ -294,6 +294,12 @@ mindplot.CommandContext = new Class({
return designerRel.filter(function (rel) {
return relIds.contains(rel.getId());
});
},
moveTopic:function (topic, position) {
$assert(topic, "topic cannot be null");
$assert(position, "position cannot be null");
mindplot.EventBus.instance.fireEvent(mindplot.EventBus.events.NodeMoveEvent, {node:topic.getModel(), position:position});
}
});