Package org.geomajas.gwt.client.map.workflow

Examples of org.geomajas.gwt.client.map.workflow.WorkflowException


      MapModelWorkflowContext mmContext = (MapModelWorkflowContext) context;
      FeatureTransaction ft = mmContext.getFeatureTransaction();
      if (ft.getNewFeatures() != null) {
        for (Feature feature : ft.getNewFeatures()) {
          if (!feature.getGeometry().isValid()) {
            throw new WorkflowException(I18nProvider.getGlobal().validationActivityError());
          }
        }
      }
    }
    return context;
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.map.workflow.WorkflowException

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.