Package org.openetcs.datadictionary.transform

Examples of org.openetcs.datadictionary.transform.ITransformer.transform()


    if (files != null && files.length > 0) {
      Job job = new Job("Generating DataDictionary") {
        protected IStatus run(IProgressMonitor monitor) {
          Arrays.sort(files);         
          ITransformer transformer = TransformServiceFactory.createTransformer();
          boolean res = transformer.transform(dialog.getProjectName(), dialog.getModelName(), files, monitor, ITransformer.LOG_WARN);
          return res ? Status.OK_STATUS : Status.CANCEL_STATUS;
        }
      };
      job.setPriority(Job.SHORT);
      job.schedule();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.