[TreeViewer] Force update [message #446692] |
Tue, 30 November 2004 12:46  |
Eclipse User |
|
|
|
Hi !
I have a treeviewer in my RCP app that lists all the files from a given
directory.
I allow users to create new files in this directory, but I don't know how
to force the treeviewer to update its contentprovider. So, till I restart
the app, the created files are not shown in the treeviewer.
TIA,
Arnaud
|
|
|
|
Re: [TreeViewer] Force update [message #446757 is a reply to message #446692] |
Thu, 02 December 2004 08:59  |
Eclipse User |
|
|
|
Hi Arnaud,
you have to call TreeViewer.add if you insert some items in your
contentprovider. Have a look at the javadoc for detailed information.
Bye Stefan
"Arnaud" <mags75@club-internet.fr> schrieb im Newsbeitrag
news:coibkv$a3f$1@www.eclipse.org...
> Hi !
>
> I have a treeviewer in my RCP app that lists all the files from a given
> directory.
>
> I allow users to create new files in this directory, but I don't know how
> to force the treeviewer to update its contentprovider. So, till I restart
> the app, the created files are not shown in the treeviewer.
>
> TIA,
>
> Arnaud
>
|
|
|
Powered by
FUDForum. Page generated in 0.03569 seconds