rightClick.setVisible(true);
}
}
public void doToolTipPopup(JGraphPane theGraphPane, JPowerGraphMouseEvent e) {
final SWTJGraphPane graphPane = (SWTJGraphPane) theGraphPane;
JPowerGraphPoint point = e.getPoint();
Node node = graphPane.getNodeAtPoint(point);
if (node != null && node != lastNode) {
closeToolTipIfNeeded(graphPane);
if (toolTipListener != null) {
tipShell = new Shell(graphPane.getShell(), SWT.ON_TOP | SWT.TOOL);
tipShell.setBackground(background);
boolean okay = toolTipListener.addNodeToolTipItems(node, tipShell, background);
if (okay) {
tipShell.pack();
setTooltipLocation(tipShell, graphPane.toDisplay(point.x, point.y));
tipShell.setVisible(true);
}
}
}
else if (node == null) {