Own Project View does not refresh [message #274614] |
Tue, 26 October 2004 14:28 |
Eclipse User |
|
|
|
Originally posted by: ijaja.gmx.de
I have implemented an own project view (rather similar to the navigator
view)
It uses also the import/export actions which are used in the navigator
view. Also it is all working fine. But there is a problem i could not
solve till now:
If i call the import action and try to import projects from a cvs
repository, the viewer does not refresh! The project is really checked
out and i found out that a simple refresh on the tree viewer correctly
refreshes the view. But obviously there is not resource change event
called at the correct time. All listeners i added, where called too
early, or never. Can anybody help me? Where is the problem?
Is there another listener i do not know, or do i have to treat the
problem in a completely other way?
Daniel
|
|
|
Re: Own Project View does not refresh [message #274721 is a reply to message #274614] |
Wed, 27 October 2004 21:10 |
Eclipse User |
|
|
|
Originally posted by: john.eclipsefaq.org
So you have added your own IResourceChangeListener that listens for
resource creations and updates the tree viewer accordingly? See the
class WorkbenchContentProvider for an example of this.
--
Daniel Sommer wrote:
> I have implemented an own project view (rather similar to the navigator
> view)
>
> It uses also the import/export actions which are used in the navigator
> view. Also it is all working fine. But there is a problem i could not
> solve till now:
> If i call the import action and try to import projects from a cvs
> repository, the viewer does not refresh! The project is really checked
> out and i found out that a simple refresh on the tree viewer correctly
> refreshes the view. But obviously there is not resource change event
> called at the correct time. All listeners i added, where called too
> early, or never. Can anybody help me? Where is the problem?
> Is there another listener i do not know, or do i have to treat the
> problem in a completely other way?
|
|
|
Powered by
FUDForum. Page generated in 0.04140 seconds