use of org.kie.workbench.common.stunner.svg.client.shape.def.SVGShapeViewDef in project kie-wb-common by kiegroup.
the class SVGShapeFactory method newSVGMutableShape.
@SuppressWarnings("unchecked")
private SVGShape<?> newSVGMutableShape(final Object instance, final SVGShapeDef shapeDef) {
final SVGShapeViewDef mutableShapeDef = (SVGShapeViewDef) shapeDef;
final SVGShapeView view = newSVGShapeView(instance, mutableShapeDef);
return new SVGMutableShapeImpl<Object, SVGShapeViewDef<Object, Object>>(mutableShapeDef, (SVGShapeViewImpl) view);
}
Aggregations