Mercurial > hg > truffle
diff visualizer/Graph/src/com/sun/hotspot/igv/graph/Connection.java @ 4573:24d9f3310ed6
Visualizer: Fix edge tooltip showing wrong node ids. GraalEdgeColorFilter: Don't change style of dashed lines.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Sun, 12 Feb 2012 23:21:54 +0100 |
parents | 015fb895586b |
children |
line wrap: on
line diff
--- a/visualizer/Graph/src/com/sun/hotspot/igv/graph/Connection.java Sat Feb 11 23:35:44 2012 +0100 +++ b/visualizer/Graph/src/com/sun/hotspot/igv/graph/Connection.java Sun Feb 12 23:21:54 2012 +0100 @@ -32,7 +32,7 @@ import java.util.List; /** - * + * * @author Thomas Wuerthinger */ public class Connection implements Source.Provider, Link { @@ -112,7 +112,7 @@ outputSlot.getFigure().removeSuccessor(inputSlot.getFigure()); outputSlot.connections.remove(this); } - + public String getToolTipText() { StringBuilder builder = new StringBuilder(); if (label != null) { @@ -120,9 +120,9 @@ } else { builder.append("From "); } - builder.append(getOutputSlot().getFigure()); + builder.append(getOutputSlot().getFigure().getSource().getSourceNodes().get(0).getId()); builder.append(" to "); - builder.append(getInputSlot().getFigure()); + builder.append(getInputSlot().getFigure().getSource().getSourceNodes().get(0).getId()); return builder.toString(); }