Package edu.neu.ccs.task

Examples of edu.neu.ccs.task.DecompositionType


   
    TaskType task = getModelSet().getTaskType(name);
    if (task != null)
      dot = task.decompositionGraph();
    else {
      DecompositionType decomp = getModelSet().getDecompositionType(name);
      if (decomp != null)
        dot = decomp.decompositionGraph();
    }
   
    if (dot == null)
      out.println("Unknown ID: " + arg);
    else if (args.length < 2)
View Full Code Here


      "http://www.graphviz.org for visualization tools which process\n" +
      "this format.")
  public void _dotbindings(String arg) throws IOException, InterruptedException {
    String[] args = arg.trim().split("\\s+", 2);
    QName name = XMLUtil.parseQName(getModelSet(), args[0]);
    DecompositionType type = getModelSet().getDecompositionType(name);
   
    if (type == null)
      out.println("Unknown ID: " + arg);
    else if (args.length < 2)
      DotUtils.showGraph(type.bindingGraph());
    else {
      PrintWriter w = new PrintWriter(args[1]);
      try {
        type.bindingGraph().printDot(w);
      } finally {
        w.close();
      }
    }
  }
View Full Code Here

TOP

Related Classes of edu.neu.ccs.task.DecompositionType

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.