use of org.kie.workbench.common.stunner.cm.client.wires.AbstractCaseManagementShape in project kie-wb-common by kiegroup.
the class CaseManagementCanvasView method addChildShape.
public AbstractCanvas.View addChildShape(final ShapeView<?> parent, final ShapeView<?> child, final int index) {
final AbstractCaseManagementShape parentShape = (AbstractCaseManagementShape) parent;
final AbstractCaseManagementShape childShape = (AbstractCaseManagementShape) child;
parentShape.addShape(childShape, index);
return this;
}
use of org.kie.workbench.common.stunner.cm.client.wires.AbstractCaseManagementShape in project kie-wb-common by kiegroup.
the class ActivityView method createGhost.
@Override
protected AbstractCaseManagementShape createGhost() {
final ActivityView ghost = new ActivityView(getWidth(), getHeight());
for (WiresShape ws : getChildShapes()) {
final AbstractCaseManagementShape wsg = ((AbstractCaseManagementShape) ws).getGhost();
ghost.add(wsg);
}
return ghost;
}
use of org.kie.workbench.common.stunner.cm.client.wires.AbstractCaseManagementShape in project kie-wb-common by kiegroup.
the class StageView method createGhost.
@Override
protected AbstractCaseManagementShape createGhost() {
final StageView ghost = new StageView(getWidth(), getHeight(), voffset);
for (WiresShape ws : getChildShapes()) {
final AbstractCaseManagementShape wsg = ((AbstractCaseManagementShape) ws).getGhost();
ghost.add(wsg);
}
return ghost;
}
Aggregations