class WiresCanvasView extends LienzoCanvasView<WiresLayer> {

    @Override
    public LienzoCanvasView<WiresLayer> delete(final ShapeView<?> shape) {
        if (WiresUtils.isWiresShape(shape)) {
            layer.delete((WiresShape) shape);
        } else if (WiresUtils.isWiresConnector(shape)) {
            layer.delete((WiresConnector) shape);
        } else {
            return super.delete(shape);
        }
        return this;
    }

    @Inject public  WiresCanvasView(final WiresLayer layer);

}