Community
Participate
Working Groups
while ((element = this.table.getTableViewer().getElementAt(0)) != null) { this.table.getTableViewer().remove(element); } ends up in a endless-loop problem is in TableViewer: private void internalRemove(final Object[] elements) { ... // use remove(int[]) rather than repeated TableItem.dispose() calls // to allow SWT to optimize multiple removals int[] indices = new int[elements.length]; int count = 0; for (int i = 0; i < elements.length; ++i) { Widget w = findItem(elements[i]); ... ^ IS NULL! a convinient thing would be TableViewer.removeAll(); and TableViewer.remove(int index); that act as a proxy for the methods in Table.
Do you have a snippet that demonstrates this problem?
Hitesh is now responsible for watching bugs in the [Viewers] component area.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.