de.knightsoftnet.mtwidgets.client.ui.widget.AdminNavigationSearch_searchCriterias_Context 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.gwtp.spring.shared.search.SearchRequest;
import java.lang.Class;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.util.List;
import org.gwtproject.editor.client.Editor;
import org.gwtproject.editor.client.impl.AbstractEditorContext;
public class AdminNavigationSearch_searchCriterias_Context extends AbstractEditorContext> {
private final SearchRequest parent;
public AdminNavigationSearch_searchCriterias_Context(SearchRequest parent,
Editor> editor, String path) {
super(editor, path);
this.parent = parent;
}
@Override
public boolean canSetInModel() {
return parent != null && true && true;
}
@Override
public List checkAssignment(Object value) {
return (List) value;
}
@Override
public Class getEditedType() {
return java.util.List.class;
}
@Override
public List getFromModel() {
return (parent != null && true) ? parent.getSearchCriterias() : null;
}
@Override
public void setInModel(List data) {
parent.setSearchCriterias(data);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy