2011-03-17 15:51:40 +00:00
|
|
|
mindplot.EventBus = new Class({
|
2011-07-27 08:25:10 -03:00
|
|
|
Extends:Options,
|
|
|
|
|
Implements:Events,
|
2011-03-17 15:51:40 +00:00
|
|
|
options: {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
initialize: function(options) {
|
|
|
|
|
this.setOptions(options);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
2011-07-27 08:25:10 -03:00
|
|
|
mindplot.EventBus.events = {
|
2011-03-17 15:51:40 +00:00
|
|
|
NodeResizeEvent:'NodeResizeEvent',
|
|
|
|
|
NodeMoveEvent:'NodeMoveEvent',
|
|
|
|
|
NodeDisconnectEvent:'NodeDisconnectEvent',
|
|
|
|
|
NodeConnectEvent:'NodeConnectEvent',
|
2011-04-12 13:59:03 +01:00
|
|
|
NodeRepositionateEvent:'NodeRepositionateEvent',
|
|
|
|
|
NodeShrinkEvent:'NodeShrinkEvent',
|
|
|
|
|
NodeMouseOverEvent:'NodeMouseOverEvent',
|
|
|
|
|
NodeMouseOutEvent:'NodeMouseOutEvent'
|
2011-03-17 15:51:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
mindplot.EventBus.instance = new mindplot.EventBus();
|