Community
Participate
Working Groups
Created attachment 193057 [details] RCP project with tableviewer and remove functionality Hi, When using JFace TableViewer and calling TableViewer#remove on an object in the viewer, the object is removed from the view. However, when calling refresh, the removed objects reappear in the view. I guess this is a bug. If I am mistaken, how can I remove objects permanently? (preferably without resetting the whole input on my viewer) I ran into that problem when using Comparators on my viewer. I resorted the input by calling refresh on my viewer and saw my deleted items reappear. I created a small RCP project with a view and a remove button to show the problem. If you'd like to reproduce it by yourself, you can create a TableViewer and simply call TableViewer#remove(object) and TableViewer#refresh(). Kind regards, -- artur
No. TableViewer#remove() does not remove it from the input. You also have to remove it from your input-Instance.