|
|
|
@ -362,7 +362,6 @@ public class ComponentTree extends JTree {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseMoved(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
Point p = e.getPoint(); |
|
|
|
|
int selRow = tree.getRowForLocation(p.x, p.y); |
|
|
|
|
TreeCellRenderer r = tree.getCellRenderer(); |
|
|
|
@ -371,12 +370,12 @@ public class ComponentTree extends JTree {
|
|
|
|
|
Point point = tree.getPathBounds(path).getLocation(); |
|
|
|
|
SwingUtilities.convertPointToScreen(point, tree); |
|
|
|
|
XCreator comp = (XCreator) path.getLastPathComponent(); |
|
|
|
|
if (comp.getXCreatorBaseOperate().supportSelected()){ |
|
|
|
|
if (comp.getXCreatorBaseOperate().supportSelected()) { |
|
|
|
|
popupPreviewPane(point.y, comp); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
hidePreviewPane(); |
|
|
|
|
} |
|
|
|
|
hidePreviewPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|