All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.knightsoftnet.mtwidgets.client.ui.widget.AdminNavigationSearchCriteria_operation_Context Maven / Gradle / Ivy

Go to download

A set of widgets and handlers using server calls for gwt applications using gwt-bean-validators-spring-gwtp.

There is a newer version: 2.3.2
Show newest version
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