use of com.ait.lienzo.client.core.shape.wires.WiresShape in project kie-wb-common by kiegroup.
the class WiresUtilsTest method isWiresLayerWhenWiresShape.
@Test
public void isWiresLayerWhenWiresShape() {
final WiresShape ws = new WiresShape(new MultiPath());
assertFalse(WiresUtils.isWiresLayer(ws));
}
use of com.ait.lienzo.client.core.shape.wires.WiresShape in project kie-wb-common by kiegroup.
the class WiresUtilsTest method isWiresShapeWhenUnregisteredWiresShape.
@Test
public void isWiresShapeWhenUnregisteredWiresShape() {
final WiresShape ws = new WiresShape(new MultiPath());
assertFalse(WiresUtils.isWiresShape(ws));
}
use of com.ait.lienzo.client.core.shape.wires.WiresShape in project kie-wb-common by kiegroup.
the class CanvasView method addChildShape.
@Override
public AbstractCanvas.View addChildShape(final ShapeView<?> parent, final ShapeView<?> child) {
final WiresContainer parentShape = (WiresContainer) parent;
final WiresShape childShape = (WiresShape) child;
return this.addChildShape(parentShape, childShape);
}
use of com.ait.lienzo.client.core.shape.wires.WiresShape in project kie-wb-common by kiegroup.
the class CanvasView method dock.
@Override
@SuppressWarnings("unchecked")
public AbstractCanvas.View dock(final ShapeView<?> parent, final ShapeView<?> child) {
final WiresShape parentShape = (WiresShape) parent;
final WiresShape childShape = (WiresShape) child;
dockShape(parentShape, childShape);
return this;
}
use of com.ait.lienzo.client.core.shape.wires.WiresShape in project kie-wb-common by kiegroup.
the class CanvasView method removeChildShape.
@Override
public AbstractCanvas.View removeChildShape(final ShapeView<?> parent, final ShapeView<?> child) {
final WiresContainer parentShape = (WiresContainer) parent;
final WiresShape childShape = (WiresShape) child;
return this.removeChildShape(parentShape, childShape);
}
Aggregations