Package org.cytoscape.work

Examples of org.cytoscape.work.TaskIterator


    this.listener = listener;
  }

  public TaskIterator createTaskIterator()
  {
    return new TaskIterator(new Task[] { new AnalyzeTask(this.network, this.analyze, this.resultId, this.alg, this.mcodeUtil, this.listener) });
  }
View Full Code Here


    this.analyzeAction = analyzeAction;
  }

  public TaskIterator createTaskIterator()
  {
    return new TaskIterator(new Task[] { new MCODEOpenTask(this.swingApplication, this.registrar, this.mcodeUtil, this.analyzeAction) });
  }
View Full Code Here

    this.mcodeUtil = mcodeUtil;
  }

  public TaskIterator createTaskIterator()
  {
    TaskIterator taskIterator = new TaskIterator(new Task[0]);
    Collection resultPanels = this.mcodeUtil.getResultPanels();
    MCODECloseAllResultsTask closeResultsTask = new MCODECloseAllResultsTask(this.swingApplication, this.mcodeUtil);

    if (resultPanels.size() > 0) {
      taskIterator.append(closeResultsTask);
    }
    taskIterator.append(new MCODECloseTask(closeResultsTask, this.registrar, this.mcodeUtil));

    return taskIterator;
  }
View Full Code Here

TOP

Related Classes of org.cytoscape.work.TaskIterator

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.