class CaseManagementSvgStageShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<AdHocSubprocess> {

    @Override
    public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final AdHocSubprocess bean) {
        // stage should not be resizable in case modeler
        return newViewInstance(Optional.empty(), Optional.empty(), factory.stage());
    }

}