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