Commit 69062c11 authored by Thomas Huster's avatar Thomas Huster
Browse files

[22205] add checkbox and date icons for findings templates

parent 3a75eb0b
Pipeline #22656 passed with stages
in 4 minutes and 12 seconds
......@@ -11,6 +11,8 @@ import org.slf4j.LoggerFactory;
import ch.elexis.core.findings.templates.model.FindingsTemplate;
import ch.elexis.core.findings.templates.model.FindingsTemplates;
import ch.elexis.core.findings.templates.model.InputDataBoolean;
import ch.elexis.core.findings.templates.model.InputDataDate;
import ch.elexis.core.findings.templates.model.InputDataGroup;
import ch.elexis.core.findings.templates.model.InputDataGroupComponent;
import ch.elexis.core.findings.templates.model.InputDataNumeric;
......@@ -30,6 +32,10 @@ public class FindingsTemplateUtil {
return Images.IMG_DOCUMENT.getImage();
} else if (findingsTemplate.getInputData() instanceof InputDataText) {
return Images.IMG_DOCUMENT.getImage();
} else if (findingsTemplate.getInputData() instanceof InputDataBoolean) {
return Images.IMG_CHECKBOX.getImage();
} else if (findingsTemplate.getInputData() instanceof InputDataDate) {
return Images.IMG_CALENDAR.getImage();
}
} else if (object instanceof FindingsTemplates) {
return Images.IMG_FOLDER.getImage();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment