|JFace ListViewer-Update in an Editor-Part? [message #464068]
||Fri, 23 February 2007 13:50
Originally posted by: unidad.gmx.net|
I'm trying to adapt the following JFace-ListViewer-example
to work in an editor-page of a RCP-application.
i.e. I have a ListViewer and three buttons
(new item, edit item and remove item).
The view of the list shall be updated after a button-click.
I tried following update-code in the
New item -> listViewer.refresh(false);
Edit item -> listViewer.update(item, null);
Remove item -> listViewer.refresh(false);
In the SWT-example the ListViewer is updated well.
In my Editor, it is not.
Any idea, what I'm missing?
Powered by FUDForum
. Page generated in 0.01582 seconds