use of com.storedobject.vaadin.IncludeField in project SODevelopment by syampillai.
the class SteppedObjectForm method getStepComponent.
@Override
protected final Component getStepComponent(int step) {
ObjectForm<T> of;
of = createObjectForm(step);
if (of == null) {
of = new ObjectForm<>(objectClass);
IncludeField includeField = getIncludeFieldChecker(step);
if (includeField == null) {
StringList list = getFields(step);
if (list != null) {
of.setIncludeFieldChecker(list::contains);
}
} else {
of.setIncludeFieldChecker(includeField);
}
}
of.setView(this);
forms.add(of);
return of.getComponent();
}
Aggregations