TableViewer refresh [message #690811] |
Thu, 30 June 2011 09:02 |
MarcoGT Messages: 77 Registered: May 2011 |
Member |
|
|
Hi all,
I explain what I did so far.
I have created a new menu with you can choose different XML files.
The path of these XML files are saved to a .properties file.
This .properties file will be used to build a ModelProvider for my TableViewer.
The table is filled correctly and so on; it works fine.
The fact is this one: the table (which is inside a view) reads data when Eclipse starts, but if just after having loaded Eclipse the user selects new XML files these are correctly saved inside .properties file but at the moment does not update.
How can I do it?
So, in practice, every time the .properties file is updated, a new ModelProvider must be built up and then the table updated.
I followed this tutorial:
http://www.vogella.de/articles/EclipseJFaceTable/article.html
http://www.vogella.de/articles/EclipseJFaceTableAdvanced/article.html
Thanks
Marco
|
|
|
Powered by
FUDForum. Page generated in 0.01270 seconds