Search in sources :

Example 1 with WiresConnectorControlImpl

use of com.ait.lienzo.client.core.shape.wires.handlers.impl.WiresConnectorControlImpl in project kie-wb-common by kiegroup.

the class CaseManagementControlFactoryTest method testControls.

@Test
public void testControls() {
    WiresShapeControl shapeControl = factory.newShapeControl(shape, wiresManager);
    assertNotNull(shapeControl);
    assertTrue(shapeControl instanceof CaseManagementShapeControl);
    WiresConnectorControl connectorControl = factory.newConnectorControl(wiresConnector, wiresManager);
    assertNotNull(connectorControl);
    assertTrue(connectorControl instanceof WiresConnectorControlImpl);
    WiresConnectionControl connectionControl = factory.newConnectionControl(wiresConnector, true, wiresManager);
    assertNotNull(connectionControl);
    assertTrue(connectionControl instanceof WiresConnectionControlImpl);
}
Also used : WiresConnectorControlImpl(com.ait.lienzo.client.core.shape.wires.handlers.impl.WiresConnectorControlImpl) WiresShapeControl(com.ait.lienzo.client.core.shape.wires.handlers.WiresShapeControl) WiresConnectionControlImpl(com.ait.lienzo.client.core.shape.wires.handlers.impl.WiresConnectionControlImpl) WiresConnectorControl(com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectorControl) WiresConnectionControl(com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectionControl) Test(org.junit.Test)

Aggregations

WiresConnectionControl (com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectionControl)1 WiresConnectorControl (com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectorControl)1 WiresShapeControl (com.ait.lienzo.client.core.shape.wires.handlers.WiresShapeControl)1 WiresConnectionControlImpl (com.ait.lienzo.client.core.shape.wires.handlers.impl.WiresConnectionControlImpl)1 WiresConnectorControlImpl (com.ait.lienzo.client.core.shape.wires.handlers.impl.WiresConnectorControlImpl)1 Test (org.junit.Test)1