use of org.kie.dmn.model.v1_3.dmndi.Style.IDREFStubStyle 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);
}
}
use of org.kie.dmn.model.v1_3.dmndi.Style.IDREFStubStyle 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