select(rect, sgc.getSelectionRectangle(), sgc.getMouseClicks());
} else
doPaint(gc, rect);
}
private void doPaint(Graphics2D gc, Rectangle rect) {
<BUG>if (!(gc instanceof SelectionGraphics) && type != TYPE.ATTRIBUTES)
selectEdgesAbove();</BUG>
if (previousRectangle == null || !rect.equals(previousRectangle)) {
previousRectangle = rect;
fitToRectangle(treeView, rect);

select(rect, sgc.getSelectionRectangle(), sgc.getMouseClicks());
} else
doPaint(gc, rect);
}
private void doPaint(Graphics2D gc, Rectangle rect) {
if (!(gc instanceof SelectionGraphics))
selectEdgesAbove();
if (previousRectangle == null || !rect.equals(previousRectangle)) {
previousRectangle = rect;
fitToRectangle(treeView, rect);
