Relationships almost working

This commit is contained in:
Paulo Veiga
2011-10-09 17:59:16 -03:00
parent 5d1ab3cb6e
commit a10001dd80
22 changed files with 5033 additions and 126 deletions

View File

@@ -76,7 +76,7 @@ mindplot.ControlPoint = new Class({
_mouseDown : function(event, point) {
if (!this._isBinded) {
this._isBinded = true;
this._mouseMoveFunction = this._mouseMove.bindWithEvent(this, point);
this._mouseMoveFunction = this._mouseMoveEvent.bindWithEvent(this, point);
this._workspace.getScreenManager().addEvent('mousemove', this._mouseMoveFunction);
this._mouseUpFunction = this._mouseUp.bindWithEvent(this, point);
this._workspace.getScreenManager().addEvent('mouseup', this._mouseUpFunction);
@@ -86,7 +86,7 @@ mindplot.ControlPoint = new Class({
return false;
},
_mouseMove : function(event, point) {
_mouseMoveEvent : function(event, point) {
var screen = this._workspace.getScreenManager();
var pos = screen.getWorkspaceMousePosition(event);
var topic = null;