use of com.evolveum.midpoint.studio.impl.trace.Options in project midpoint-studio by Evolveum.
the class TraceOptionsPanel method createOptions.
private Options createOptions() {
Options rv = new Options();
for (Map.Entry<OpType, JCheckBox> e : opTypesChecks.entrySet()) {
if (e.getValue().isSelected()) {
rv.getTypesToShow().add(e.getKey());
}
}
for (Map.Entry<PerformanceCategory, JCheckBox> e : categoriesChecks.entrySet()) {
if (e.getValue().isSelected()) {
rv.getCategoriesToShow().add(e.getKey());
}
}
rv.setShowAlsoParents(alsoParentsCheck.isSelected());
columnsChecks.entrySet().stream().filter(e -> e.getValue().isSelected()).map(Map.Entry::getKey).forEach(column -> rv.getColumnsToShow().add(column));
return rv;
}
use of com.evolveum.midpoint.studio.impl.trace.Options in project midpoint-studio by Evolveum.
the class TraceOptionsPanel method applyPerformed.
private void applyPerformed() {
Options options = createOptions();
traceManager.setOptions(options);
}
Aggregations