- Timestamp:
- 10/17/12 13:06:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.ui/src/org/modelica/mdt/ui/view/CrossUtil.java
r1661 r1662 100 100 for(int index = startInt; index < nodes.size(); index++) { 101 101 //System.out.println("Create node " + nodes.get(index).getName() + " with int " + index ); 102 GraphNode tempGraphNode = new GraphNode(graph, SWT.NONE, nodes.get(index).getName()); 102 MyNode tempMyNode = nodes.get(index); 103 GraphNode tempGraphNode = new GraphNode(graph, SWT.NONE, tempMyNode.getName()); 103 104 tempGraphNode.setBackgroundColor(graph.getDisplay().getSystemColor(nodes.get(index).getColor())); 104 tempGraphNode.setTooltip(new Label("Hello")); 105 ArrayList<String> toolTipList = tempMyNode.getToolTipInfo(); 106 tempGraphNode.setTooltip(new Label( 107 "Type: " + toolTipList.get(0) + "\n" + 108 "Name: " + toolTipList.get(1) + "\n" + 109 "Descripton: " + toolTipList.get(2) + "\n" + 110 "Position: " + toolTipList.get(3) + "\n" + 111 "Path: " + toolTipList.get(4) + "\n" 112 )); 105 113 graphNodes.add(tempGraphNode); 106 114 }
Note: See TracChangeset
for help on using the changeset viewer.