Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How should I call fireLabelProviderChanged
How should I call fireLabelProviderChanged [message #267718] Thu, 19 August 2004 10:33 Go to next message
Tal Abir is currently offline Tal AbirFriend
Messages: 56
Registered: July 2009
Member
Hi,
I'm using light decoration.
I read the article about decorations and implemented its redecorate code.
I have compilation error - I don't know which class
fireLabelProviderChanged I should call.


Tal.
Re: How should I call fireLabelProviderChanged [message #765821 is a reply to message #267718] Wed, 14 December 2011 18:21 Go to previous messageGo to next message
valentin Mising name is currently offline valentin Mising nameFriend
Messages: 38
Registered: December 2011
Member
This is a good question. There are plenty of guidelines and tutorials that tell you that you must call it, but it seems that nobody knows how.
Re: How should I call fireLabelProviderChanged [message #766244 is a reply to message #765821] Thu, 15 December 2011 12:49 Go to previous message
valentin Mising name is currently offline valentin Mising nameFriend
Messages: 38
Registered: December 2011
Member
Ok, I have enabled the solution for the people:

Display.getDefault().asyncExec(new Runnable() {
    public void run() {
	IDecoratorManager idm = PlatformUI.getWorkbench().getDecoratorManager();
	idm.update("your decorator ID that you specified in plugin.xml"); 
						       }
						});
Previous Topic:[CommonNavigator][RCP][GMF]: "Text editor does not have a document provider"
Next Topic:Updating resource decorators in Package Explorer
Goto Forum:
  


Current Time: Thu Apr 25 12:18:26 GMT 2024

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

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

Back to the top