use of org.kie.dmn.model.v1_3.dmndi.DiagramElement in project drools by kiegroup.
the class DMNDI method replaceSharedStyleIfStubbed.
private void replaceSharedStyleIfStubbed(DiagramElement element, Map<String, DMNStyle> styleById) {
if (element.getSharedStyle() instanceof IDREFStubStyle) {
DMNStyle locatedStyle = styleById.get(element.getSharedStyle().getId());
element.setSharedStyle(locatedStyle);
}
}
Aggregations