Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void runStart() {
- ArrayList<PCObject> paras = new ArrayList<PCObject>();
- // vm.clear();
- // Hier muss das plugin nach datentypen gefragt werden
- // aus dem primitiv
- // typename
- // Graph gr = new Graph(this.runGraph.getAllNodesG(),
- // this.runGraph.getAllConnectionsG());
- paras.add(runObject);
- for (PCObject pseudoObj : pseudoCodeList) {
- // Currently there are two objects in there
- // startnode and end node
- paras.add(pseudoObj);
- }
- vm.setParameter("algo", paras); //$NON-NLS-1$
- // if(this.runGraph.getStartNode() != null)
- // vm.addParameter(gr.getVertexFromGraphic(
- // this.runGraph.getStartNode()));
- // else {
- // for(AlvisGraphNode node : this.runGraph.getAllNodes()) {
- // vm.addParameter(gr.getVertexFromGraphic(node));
- // break;
- // }
- // }
- // if(this.runGraph.getEndNode() != null) {
- // vm.addParameter(gr.getVertexFromGraphic(this.runGraph.getEndNode()));
- // }
- vm.startAlgos();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement