@Test public void testNewShape() { assertThat(shapeFactory.newShape(instance, shapeDef)).isInstanceOf(DMNDecisionServiceSVGMutableShapeImpl.class); }
@Override public DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance, final DMNDecisionServiceSVGShapeDef shapeDef) { final SVGShapeView view = shapeDef.newViewInstance(dmnViewFactory, instance); return new DMNDecisionServiceSVGMutableShapeImpl(shapeDef, (SVGShapeViewImpl) view); }
DMNDecisionServiceShapeFactory implements ShapeDefFactory<DecisionService, DMNDecisionServiceSVGShapeDef, DMNDecisionServiceSVGMutableShapeImpl> { @Override public DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance, final DMNDecisionServiceSVGShapeDef shapeDef) { final SVGShapeView view = shapeDef.newViewInstance(dmnViewFactory, instance); return new DMNDecisionServiceSVGMutableShapeImpl(shapeDef, (SVGShapeViewImpl) view); } }
DMNDecisionServiceShapeFactory implements ShapeDefFactory<DecisionService, DMNDecisionServiceSVGShapeDef, DMNDecisionServiceSVGMutableShapeImpl> { @Override public DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance, final DMNDecisionServiceSVGShapeDef shapeDef) { final SVGShapeView view = shapeDef.newViewInstance(dmnViewFactory, instance); return new DMNDecisionServiceSVGMutableShapeImpl(shapeDef, (SVGShapeViewImpl) view); } protected  DMNDecisionServiceShapeFactory(); @Inject  DMNDecisionServiceShapeFactory(final DMNDecisionServiceSVGViewFactory dmnViewFactory); }
DMNDecisionServiceShapeFactory implements ShapeDefFactory<DecisionService, DMNDecisionServiceSVGShapeDef, DMNDecisionServiceSVGMutableShapeImpl> { @Override public DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance, final DMNDecisionServiceSVGShapeDef shapeDef) { final SVGShapeView view = shapeDef.newViewInstance(dmnViewFactory, instance); return new DMNDecisionServiceSVGMutableShapeImpl(shapeDef, (SVGShapeViewImpl) view); } protected  DMNDecisionServiceShapeFactory(); @Inject  DMNDecisionServiceShapeFactory(final DMNDecisionServiceSVGViewFactory dmnViewFactory); @Override DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance,
                                                          final DMNDecisionServiceSVGShapeDef shapeDef); }
DMNDecisionServiceShapeFactory implements ShapeDefFactory<DecisionService, DMNDecisionServiceSVGShapeDef, DMNDecisionServiceSVGMutableShapeImpl> { @Override public DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance, final DMNDecisionServiceSVGShapeDef shapeDef) { final SVGShapeView view = shapeDef.newViewInstance(dmnViewFactory, instance); return new DMNDecisionServiceSVGMutableShapeImpl(shapeDef, (SVGShapeViewImpl) view); } protected  DMNDecisionServiceShapeFactory(); @Inject  DMNDecisionServiceShapeFactory(final DMNDecisionServiceSVGViewFactory dmnViewFactory); @Override DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance,
                                                          final DMNDecisionServiceSVGShapeDef shapeDef);  }