Package org.geomajas.command.dto

Examples of org.geomajas.command.dto.SearchFeatureResponse


  @Autowired
  private VectorLayerService layerService;

  public SearchFeatureResponse getEmptyCommandResponse() {
    return new SearchFeatureResponse();
  }
View Full Code Here


      command.setCommandRequest(request);
      commandService.execute(command, new CommandCallback() {

        public void onSuccess(CommandResponse response) {
          if (response instanceof SearchFeatureResponse) {
            SearchFeatureResponse sfr = (SearchFeatureResponse) response;
            List<Feature> features = new ArrayList<Feature>();
            for (org.geomajas.layer.feature.Feature feature : sfr.getFeatures()) {
              features.add(new FeatureImpl(feature, layer));
            }
            callback.execute(features);
          }
        }
View Full Code Here

TOP

Related Classes of org.geomajas.command.dto.SearchFeatureResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.