222223224225226227228229230231232
if (treeItem == null || treeItem.isDisposed() || !sbEntry.swt_isVisible()) { return; } Tree parent = treeItem.getParent(); parent.redraw(hitArea.x, hitArea.y + treeItem.getBounds().y, hitArea.width, hitArea.height, true); parent.update(); } } });
532533534535536537538539540541542
tree.getVerticalBar().addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { if (e.detail == SWT.NONE) { tree.redraw(); } } }); getTreeViewer().addCheckStateListener(new ICheckStateListener() {