use of org.kie.workbench.common.services.datamodeller.driver.model.AnnotationParseRequest in project kie-wb-common by kiegroup.
the class AdvancedAnnotationListEditor method doValuePairChange.
protected void doValuePairChange(final ValuePairEditorPopup valuePairEditor, final Object value) {
if (valuePairEditor.isGenericEditor()) {
String strValue = value != null ? value.toString() : null;
modelerService.call(getValuePairChangeSuccessCallback(valuePairEditor)).resolveParseRequest(new AnnotationParseRequest(valuePairEditor.getAnnotationClassName(), elementType, valuePairEditor.getValuePairDefinition().getName(), strValue), module);
} else {
applyValuePairChange(valuePairEditor, value);
}
}
Aggregations