class WiresCanvasView extends LienzoCanvasView<WiresLayer> {

    public LienzoCanvasView addRoot(final ShapeView<?> shape) {
        if (WiresUtils.isWiresShape(shape)) {
            layer.add(((WiresShape) shape).getGroup());
        } else if (WiresUtils.isWiresConnector(shape)) {
            layer.add(((WiresConnector) shape).getGroup());
        } else {
            return super.add(shape);
        }
        return this;
    }

    @Inject public  WiresCanvasView(final WiresLayer layer);

}