de.knightsoftnet.mtwidgets.client.ui.widget.AdminNavigationSearch_AbstractBeanValidationEditorDelegate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-mt-widgets-spring-gwtp Show documentation
Show all versions of gwt-mt-widgets-spring-gwtp Show documentation
A set of widgets and handlers using server calls for gwt applications using gwt-bean-validators-spring-gwtp.
package de.knightsoftnet.mtwidgets.client.ui.widget;
import de.knightsoftnet.gwtp.spring.shared.search.SearchRequest;
import de.knightsoftnet.validators.client.editor.impl.AbstractBeanValidationEditorDelegate;
import de.knightsoftnet.validators.client.editor.impl.ListValidationEditor_SearchCriteriaSearch_AdminNavigationSearchCriteria_AbstractBeanValidationEditorDelegate;
import java.lang.Object;
import java.lang.Override;
import org.gwtproject.editor.client.Editor;
import org.gwtproject.editor.client.EditorVisitor;
public class AdminNavigationSearch_AbstractBeanValidationEditorDelegate extends AbstractBeanValidationEditorDelegate {
private AdminNavigationSearch editor;
private SearchRequest object;
private AbstractBeanValidationEditorDelegate searchCriteriasDelegate;
private AbstractBeanValidationEditorDelegate searchCriteriasDelegate0;
@Override
protected AdminNavigationSearch getEditor() {
return editor;
}
@Override
protected void setEditor(Editor editor) {
this.editor = (AdminNavigationSearch) editor;
}
@Override
public SearchRequest getObject() {
return object;
}
@Override
protected void setObject(Object object) {
this.object = (SearchRequest) object;
}
@Override
protected void initializeSubDelegates() {
if (editor.searchCriterias.asEditor() != null) {
searchCriteriasDelegate = new ListValidationEditor_SearchCriteriaSearch_AdminNavigationSearchCriteria_AbstractBeanValidationEditorDelegate();
addSubDelegate(searchCriteriasDelegate, appendPath("searchCriterias"), editor.searchCriterias.asEditor());
}
if (editor.searchCriterias != null) {
searchCriteriasDelegate0 = new AdminNavigationSearchCriteriaListEditor_AbstractBeanValidationEditorDelegate();
addSubDelegate(searchCriteriasDelegate0, appendPath("searchCriterias"), editor.searchCriterias);
}
}
@Override
public void accept(EditorVisitor visitor) {
if (searchCriteriasDelegate != null) {
AdminNavigationSearch_searchCriterias_Context ctx = new AdminNavigationSearch_searchCriterias_Context(getObject(), editor.searchCriterias.asEditor(), appendPath("searchCriterias"));
ctx.setEditorDelegate(searchCriteriasDelegate);
ctx.traverse(visitor, searchCriteriasDelegate);
}
if (searchCriteriasDelegate0 != null) {
AdminNavigationSearch_searchCriterias_Context ctx = new AdminNavigationSearch_searchCriterias_Context(getObject(), editor.searchCriterias, appendPath("searchCriterias"));
ctx.setEditorDelegate(searchCriteriasDelegate0);
ctx.traverse(visitor, searchCriteriasDelegate0);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy