Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Icon decorators in Package Explorer
Icon decorators in Package Explorer [message #124624] Mon, 08 September 2003 19:17 Go to next message
Eclipse UserFriend
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 #124900 is a reply to message #124624] Tue, 09 September 2003 04:48 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Icon decorators in Package Explorer [message #126108 is a reply to message #124900] Tue, 09 September 2003 17:21 Go to previous message
Eclipse UserFriend
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
Previous Topic:Design question - Dialog? Preference? Property Page? Properties View?
Next Topic:Eclipse supports the JBuilder OT API?
Goto Forum:
  


Current Time: Mon Jun 02 20:21:08 EDT 2025

Powered by FUDForum. Page generated in 0.05136 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top