|
Re: refresh a View from another View [message #438488 is a reply to message #438481] |
Fri, 25 June 2004 16:50 |
Eclipse User |
|
|
|
Originally posted by: wohlgemuth.mpimp-golm.mpg.de
you must add some listener, so take a look on
http://www.eclipse.org/articles/index.html
and you also can access a view by the view name, this method provides the
workbench.. something like getViewSite().getWorkbench(),
or the best way is look on the java doc, provided by eclipse. There stands
all what you need.
cheers,
gert
"Mathias" <Killahcub_Mathias@web.de> wrote in message
news:cbhadp$eoj$1@eclipse.org...
> Hello,
>
> I've created in "eclipse3.0M9" the SampleTreeView. In the
> "createContentProvider" Part I've let him load the Data from a ".txt"
file.
>
> In a other view which is in the same "perspective" I edit the ".txt" file.
> My Problem is, that I no idea how to refresh the SampleView.
>
> I've tried this with "ViewerName.refresh();" the prob was that he cannot
> resolve the "ViewerName" or I can't find the "ViewerName" in the
> "SampleTreeView" folder and I've declared the Viewer already as a
> field-Variable.
>
> thx in advance
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03290 seconds