use of org.kie.workbench.common.stunner.shapes.client.BasicConnectorShape in project kie-wb-common by kiegroup.
the class BasicShapesFactory method newConnector.
@SuppressWarnings("unchecked")
private Shape<ShapeView> newConnector(final Object instance, final BasicShapeDef shapeDef) {
final ConnectorShapeDef cShapeDef = (ConnectorShapeDef) shapeDef;
final AbstractConnectorView view = shapeViewFactory.connector(0, 0, 100, 100);
return new BasicConnectorShape(cShapeDef, view);
}
Aggregations