use of com.evolveum.midpoint.studio.impl.EnvironmentSettings in project midpoint-studio by Evolveum.
the class EnvironmentsPanel method getFullSettings.
public EnvironmentSettings getFullSettings() {
EnvironmentSettings settings = new EnvironmentSettings();
List<Environment> envts = new ArrayList<>();
getData().forEach(s -> envts.add(s.getObject()));
settings.setEnvironments(envts);
for (Selectable<Environment> e : getData()) {
if (e.isSelected()) {
settings.setSelectedId(e.getObject().getId());
break;
}
}
return settings;
}
Aggregations