Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » TableViewer refresh
TableViewer refresh [message #690811] Thu, 30 June 2011 09:02
MarcoGT  is currently offline 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
Previous Topic:Trouble exporting product using export wizard
Next Topic:Multiple Selection Providers
Goto Forum:
  


Current Time: Wed Sep 17 19:51:56 GMT 2014

Powered by FUDForum. Page generated in 0.10615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software