Updating resource decorators in Package Explorer [message #111418] |
Fri, 15 August 2003 16:33 |
Eclipse User |
|
|
|
Originally posted by: jdundon.persistence.com
I have a plug-in in which I am creating markers for my resources when build
or validation errors occur. The markers show up in the task view, but the
problem decorator is not applied to the resource in the package explorer
unless I do a build-all or stop and restart the package explorer. I am
trying to figure out what API(s) I need to call to refresh the resource
decorators in when I change the markers on my resources. I have seen
references to calling LabelProvider.fireLabelProviderChanged(), but I don't
know what label provider to call it on. Is this the API I need, and if so,
what do I call it on? If not what API should I use to refresh the problem
decorators for my resource in the package explorer when my resource markers
change? Thanks.
Jack
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04407 seconds