@Override public void callback(final double x, final double y) { shapeDragPreviewEvent.fire(new ShapeDragPreviewEvent(shape, x, y)); } };
@Override public void selectShape(final WiresBaseShape shape) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); }
@Override public void forceDeleteShape(final WiresBaseShape shape) { shapeDeletedEvent.fire(new ShapeDeletedEvent(shape)); }
@Override public void clear() { if (Window.confirm("Are you sure to clean the canvas?")) { clearEvent.fire(new ClearEvent()); } }
@Override public void selectShape(final WiresBaseShape shape) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); }
@Override public void forceDeleteShape(final WiresBaseShape shape) { shapeDeletedEvent.fire(new ShapeDeletedEvent(shape)); }
@Override public void onNodeMouseClick(final NodeMouseClickEvent event) { if (Window.confirm("Are you sure to clean the canvas?")) { clearEvent.fire(new ClearEvent()); } } };
@Override public void callback(final double x, final double y) { shapeDragPreviewEvent.fire(new ShapeDragPreviewEvent(shape, x, y)); } };
@Override public void onNodeMouseClick(final NodeMouseClickEvent nodeMouseClickEvent) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); } };
@Override public void forceDeleteShape(final WiresBaseShape shape) { shapeDeletedEvent.fire(new ShapeDeletedEvent(shape)); }
@Override public void onNodeMouseClick(final NodeMouseClickEvent nodeMouseClickEvent) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); } };
@Override public void forceDeleteShape(final WiresBaseShape shape) { shapeDeletedEvent.fire(new ShapeDeletedEvent(shape)); }
@Override public void selectShape(final WiresBaseShape shape) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); }
@Override public void forceDeleteShape(final WiresBaseShape shape) { shapeDeletedEvent.fire(new ShapeDeletedEvent(shape)); }
@Override public void selectShape(final WiresBaseShape shape) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); }
@Override public void forceDeleteShape(final WiresBaseShape shape) { shapeDeletedEvent.fire(new ShapeDeletedEvent(shape)); }
@Override public void selectShape(final WiresBaseShape shape) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); }
@Override public void selectShape(final WiresBaseShape shape) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); }
@Override public void selectShape(final WiresBaseShape shape) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); }
@Override public void selectShape(final WiresBaseShape shape) { shapeSelectedEvent.fire(new ShapeSelectedEvent(shape)); }