Exemple #1
0
 internal override void AttachHandlers()
 {
     EventBus.AddHandler <ControlDroppedEvent>(OnControlDropped);
     EventBus.AddHandler <ControlMouseDownEvent>(OnControlMouseDown); //only temporary since we dont have component manager
     EventBus.AddHandler <ControlMovedEvent>(OnControlMoved);         //temp
     EventBus.AddHandler <ControlDraggedEvent>(OnControlDragged);     //temp
 }
Exemple #2
0
 protected override void AttachEvents()
 {
     EventBus.AddHandler <DesignerMouseMoveEvent>(OnDesignerMouseMove);
     EventBus.AddHandler <DesignerMouseUpEvent>(OnDesignerMouseUp);
     EventBus.AddHandler <ConnectionPointMouseUpEvent>(OnConnectionPointMouseUp);
 }
Exemple #3
0
 protected override void AttachEvents()
 {
     EventBus.AddHandler <DesignerMouseDownEvent>(OnDesignerMouseDown);
 }