@Dependent public class DMNShapeFactory extends Object implements ShapeFactory<DMNDefinition,Shape>
ShapeFactory.GlyphConsumer
Constructor and Description |
---|
DMNShapeFactory(SVGShapeFactory svgShapeFactory,
DMNConnectorShapeFactory dmnConnectorShapeFactory,
DMNDecisionServiceShapeFactory dmnDecisionServiceShapeFactory,
DelegateShapeFactory<DMNDefinition,Shape> delegateShapeFactory) |
Modifier and Type | Method and Description |
---|---|
Glyph |
getGlyph(String definitionId) |
Glyph |
getGlyph(String definitionId,
Class<? extends ShapeFactory.GlyphConsumer> consumer) |
void |
init() |
Shape |
newShape(DMNDefinition definition) |
@Inject public DMNShapeFactory(SVGShapeFactory svgShapeFactory, DMNConnectorShapeFactory dmnConnectorShapeFactory, DMNDecisionServiceShapeFactory dmnDecisionServiceShapeFactory, DelegateShapeFactory<DMNDefinition,Shape> delegateShapeFactory)
@PostConstruct public void init()
public Shape newShape(DMNDefinition definition)
newShape
in interface ShapeFactory<DMNDefinition,Shape>
public Glyph getGlyph(String definitionId)
getGlyph
in interface ShapeFactory<DMNDefinition,Shape>
public Glyph getGlyph(String definitionId, Class<? extends ShapeFactory.GlyphConsumer> consumer)
getGlyph
in interface ShapeFactory<DMNDefinition,Shape>
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.