Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to remove a previously added decorator on a resource([org.eclipse.ui])
How to remove a previously added decorator on a resource [message #835781] Tue, 03 April 2012 17:03 Go to next message
Fabrice Marcelin is currently offline Fabrice MarcelinFriend
Messages: 15
Registered: February 2011
Location: USA
Junior Member

Hello,

Does anyone here knows how to remove a particular decorator on a resource? I extended org.eclipse.ui.decorators to my project and created a class that implements ILightweightLabelDecorator. In the decorator class I tested if the entry was a project and other test before calling decorator.addOverlay(). I did not implemented the other functions such as removeListener, isLabelProperty, dispose, addListener since I do not see the use.
Any idea, resources, comment on how to proceed would greatly help.

Best,

[Updated on: Tue, 03 April 2012 17:18]

Report message to a moderator

Re: How to remove a previously added decorator on a resource [message #836956 is a reply to message #835781] Thu, 05 April 2012 04:58 Go to previous message
Fabrice Marcelin is currently offline Fabrice MarcelinFriend
Messages: 15
Registered: February 2011
Location: USA
Junior Member

For anyone who is looking for an answer to that problem, it can be fixed with LabelProviderChangedEvent.
Previous Topic:Eclipse crash on startup
Next Topic:Activities extensions and extension parsing
Goto Forum:
  


Current Time: Sun Nov 23 20:21:14 GMT 2014

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

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