Search in sources :

Example 1 with PolylineConnectorView

use of org.kie.workbench.common.stunner.shapes.client.view.PolylineConnectorView in project kie-wb-common by kiegroup.

the class CaseManagementCanvasViewTest method addWiresConnector.

@Test
public void addWiresConnector() {
    final AbstractConnectorView connector = new PolylineConnectorView(0.0, 0.0);
    final String uuid = connector.uuid();
    connector.setUUID(uuid);
    view.addShape(connector);
    final WiresShape registeredConnector = view.getWiresManager().getShape(uuid);
    assertNull(registeredConnector);
}
Also used : WiresShape(com.ait.lienzo.client.core.shape.wires.WiresShape) AbstractConnectorView(org.kie.workbench.common.stunner.shapes.client.view.AbstractConnectorView) PolylineConnectorView(org.kie.workbench.common.stunner.shapes.client.view.PolylineConnectorView) Test(org.junit.Test)

Aggregations

WiresShape (com.ait.lienzo.client.core.shape.wires.WiresShape)1 Test (org.junit.Test)1 AbstractConnectorView (org.kie.workbench.common.stunner.shapes.client.view.AbstractConnectorView)1 PolylineConnectorView (org.kie.workbench.common.stunner.shapes.client.view.PolylineConnectorView)1