de.knightsoftnet.mtwidgets.client.ui.widget.AdminNavigationSearchCriteria_SimpleBeanEditorDelegate 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.SearchCriteriaSearch;
import de.knightsoftnet.validators.client.editor.ValueBoxEditor_SearchFieldDefinition_SimpleBeanEditorDelegate;
import de.knightsoftnet.validators.client.editor.ValueBoxEditor_SearchOperation_SimpleBeanEditorDelegate;
import de.knightsoftnet.validators.client.editor.ValueBoxEditor_String_SimpleBeanEditorDelegate;
import java.lang.Object;
import java.lang.Override;
import org.gwtproject.editor.client.Editor;
import org.gwtproject.editor.client.EditorVisitor;
import org.gwtproject.editor.client.impl.SimpleBeanEditorDelegate;
public class AdminNavigationSearchCriteria_SimpleBeanEditorDelegate extends SimpleBeanEditorDelegate {
private AdminNavigationSearchCriteria editor;
private SearchCriteriaSearch object;
private SimpleBeanEditorDelegate keyDelegate;
private SimpleBeanEditorDelegate keyDelegate0;
private SimpleBeanEditorDelegate operationDelegate;
private SimpleBeanEditorDelegate operationDelegate0;
private SimpleBeanEditorDelegate valueDelegate;
private SimpleBeanEditorDelegate valueDelegate0;
@Override
protected AdminNavigationSearchCriteria getEditor() {
return editor;
}
@Override
protected void setEditor(Editor editor) {
this.editor = (AdminNavigationSearchCriteria) editor;
}
@Override
public SearchCriteriaSearch getObject() {
return object;
}
@Override
protected void setObject(Object object) {
this.object = (SearchCriteriaSearch) object;
}
@Override
protected void initializeSubDelegates() {
if (editor.key.asEditor() != null) {
keyDelegate = new ValueBoxEditor_SearchFieldDefinition_SimpleBeanEditorDelegate();
addSubDelegate(keyDelegate, appendPath("key"), editor.key.asEditor());
}
if (editor.key != null) {
keyDelegate0 = new SearchFieldListBox_SimpleBeanEditorDelegate();
addSubDelegate(keyDelegate0, appendPath("key"), editor.key);
}
if (editor.operation.asEditor() != null) {
operationDelegate = new ValueBoxEditor_SearchOperation_SimpleBeanEditorDelegate();
addSubDelegate(operationDelegate, appendPath("operation"), editor.operation.asEditor());
}
if (editor.operation != null) {
operationDelegate0 = new SearchOperationListBox_SimpleBeanEditorDelegate();
addSubDelegate(operationDelegate0, appendPath("operation"), editor.operation);
}
if (editor.value.asEditor() != null) {
valueDelegate = new ValueBoxEditor_String_SimpleBeanEditorDelegate();
addSubDelegate(valueDelegate, appendPath("value"), editor.value.asEditor());
}
if (editor.value != null) {
valueDelegate0 = new DynamicInputWidget_SimpleBeanEditorDelegate();
addSubDelegate(valueDelegate0, appendPath("value"), editor.value);
}
}
@Override
public void accept(EditorVisitor visitor) {
if (keyDelegate != null) {
AdminNavigationSearchCriteria_key_Context ctx = new AdminNavigationSearchCriteria_key_Context(getObject(), editor.key.asEditor(), appendPath("key"));
ctx.setEditorDelegate(keyDelegate);
ctx.traverse(visitor, keyDelegate);
}
if (keyDelegate0 != null) {
AdminNavigationSearchCriteria_key_Context ctx = new AdminNavigationSearchCriteria_key_Context(getObject(), editor.key, appendPath("key"));
ctx.setEditorDelegate(keyDelegate0);
ctx.traverse(visitor, keyDelegate0);
}
if (operationDelegate != null) {
AdminNavigationSearchCriteria_operation_Context ctx = new AdminNavigationSearchCriteria_operation_Context(getObject(), editor.operation.asEditor(), appendPath("operation"));
ctx.setEditorDelegate(operationDelegate);
ctx.traverse(visitor, operationDelegate);
}
if (operationDelegate0 != null) {
AdminNavigationSearchCriteria_operation_Context ctx = new AdminNavigationSearchCriteria_operation_Context(getObject(), editor.operation, appendPath("operation"));
ctx.setEditorDelegate(operationDelegate0);
ctx.traverse(visitor, operationDelegate0);
}
if (valueDelegate != null) {
AdminNavigationSearchCriteria_value_Context ctx = new AdminNavigationSearchCriteria_value_Context(getObject(), editor.value.asEditor(), appendPath("value"));
ctx.setEditorDelegate(valueDelegate);
ctx.traverse(visitor, valueDelegate);
}
if (valueDelegate0 != null) {
AdminNavigationSearchCriteria_value_Context ctx = new AdminNavigationSearchCriteria_value_Context(getObject(), editor.value, appendPath("value"));
ctx.setEditorDelegate(valueDelegate0);
ctx.traverse(visitor, valueDelegate0);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy