Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. public void runStart() {
  2. ArrayList<PCObject> paras = new ArrayList<PCObject>();
  3. // vm.clear();
  4.  
  5. // Hier muss das plugin nach datentypen gefragt werden
  6. // aus dem primitiv
  7. // typename
  8. // Graph gr = new Graph(this.runGraph.getAllNodesG(),
  9. // this.runGraph.getAllConnectionsG());
  10.  
  11. paras.add(runObject);
  12. for (PCObject pseudoObj : pseudoCodeList) {
  13. // Currently there are two objects in there
  14. // startnode and end node
  15. paras.add(pseudoObj);
  16. }
  17. vm.setParameter("algo", paras); //$NON-NLS-1$
  18. // if(this.runGraph.getStartNode() != null)
  19. // vm.addParameter(gr.getVertexFromGraphic(
  20. // this.runGraph.getStartNode()));
  21. // else {
  22. // for(AlvisGraphNode node : this.runGraph.getAllNodes()) {
  23. // vm.addParameter(gr.getVertexFromGraphic(node));
  24. // break;
  25. // }
  26. // }
  27. // if(this.runGraph.getEndNode() != null) {
  28. // vm.addParameter(gr.getVertexFromGraphic(this.runGraph.getEndNode()));
  29. // }
  30.  
  31. vm.startAlgos();
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement