So I have built up a ModelProvider which gives me back, in a form of Array the content of the .properties file.
These data are now displayed inside the table, it works fine with sorting and search inside it.
Now one problem arises
This .properties file is filled up by a method called when user chooses different files from a FileDialog (org.eclipse.swt.widgets.FileDialog). Method takes these files and saves filename into .properties file.
If the menu item is called a second time, files change. The .properties file is updated correctly but at the moment the TableViewer is not updated.
I wanted to implement the Observable-Observer model using this tutorial
You'll need a notification mechanism that notices when the file has changed. The easy way for now is to use a thread that regularly checks the file's lastModified() value. Or, if you can wait a short while, Java 7 will come out with its WatchService.