Package org.cishell.framework.algorithm

Examples of org.cishell.framework.algorithm.ProgressTrackable


        .getService(serviceReference);

    Algorithm algo = factory.createAlgorithm(inputData, parameters,
        Activator.getCiShellContext());
    if (algo instanceof ProgressTrackable) {
      ProgressTrackable pt = (ProgressTrackable) algo;
      pt.setProgressMonitor(new AlgorithmProgressMonitor());
    }
    try {

      Data[] data = algo.execute();
      return data;
View Full Code Here


      CIShellContext ciShellContext)
        throws AlgorithmExecutionException {
      Algorithm algorithm = algorithmFactory.createAlgorithm(data, parameters, ciShellContext);

      if ((progressMonitor != null) && (algorithm instanceof ProgressTrackable)) {
        ProgressTrackable progressTrackable = (ProgressTrackable)algorithm;
        progressTrackable.setProgressMonitor(progressMonitor);
      }

      Data[] result = algorithm.execute();

      return result;
View Full Code Here

      new Data[] { new BasicData(file.getPath(), String.class.getName()) };
    Algorithm algorithm = validator.createAlgorithm(
      validationData, new Hashtable<String, Object>(), ciShellContext);

    if ((progressMonitor != null) && (algorithm instanceof ProgressTrackable)) {
      ProgressTrackable progressTrackable = (ProgressTrackable)algorithm;
      progressTrackable.setProgressMonitor(progressMonitor);
    }

    Data[] validatedData = algorithm.execute();

    if (validatedData != null) {
View Full Code Here

TOP

Related Classes of org.cishell.framework.algorithm.ProgressTrackable

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.