Icon decorators in Package Explorer [message #124624] |
Mon, 08 September 2003 19:17  |
Eclipse User |
|
|
|
Originally posted by: jdundon.persistence.com
I am having a problem with error decorators on my resource and project in
the Package Explorer. When I build or validate my project, and there are
errors, I create problem markers on my resource. If I manually close and
re-open my project, the resource and project icons in the package explorer
will have error decorators. If I fix the errors and rebuild, the error
decorators do not go away unless I again manually close and open my project.
My question is how do I programmatically control when the error decorators
are applied in the package explorer?
Thanks.
--Jack
|
|
|
|
Re: Icon decorators in Package Explorer [message #126108 is a reply to message #124900] |
Tue, 09 September 2003 17:21  |
Eclipse User |
|
|
|
Originally posted by: jdundon.persistence.com
Yes, I delete all the old markers and then add any new markers following the
rebuild. However, in the case where there are no new markers (i.e. no
errors), the error decorator is not removed from my project and resource in
the package explorer. Note this only occurs when I do a "rebuild project".
When I do a "rebuild all", the problem marker is removed automatically.
Also, if I close and re-open my project the problem markers go away (if
there are no markers).
Deleting all of the problem markers does not seem to be sufficient to clear
the error decorator in all cases. I was thinking that there might be an API
that I need to call to refresh the icon decorators for my project (in the
package explorer), but I have not been able to find any such API.
Thanks.
--Jack
"aj" <andre.jagusch@sap.com> wrote in message
news:bjk42p$efk$1@eclipse.org...
> Do you delete your old problem markers before the rebuild is done?
> My builders usually delete all there associated problem markers as
> fist step before they rebuild.
>
> Rgds,
>
> Andr
|
|
|
Powered by
FUDForum. Page generated in 0.05136 seconds