Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » lightweight label decorator lazy instantiation problem
lightweight label decorator lazy instantiation problem [message #337010] Tue, 21 July 2009 00:09
Will Horn is currently offline Will HornFriend
Messages: 265
Registered: July 2009
Senior Member
I am trying to programmatically access my ILightweightLabelDecorator using

PlatformUI.getWorkbench().getDecoratorManager().getBaseLabel Provider(id)

This returns null sometimes, seemingly because the actual class is lazily
instantiated by the decoration process. Is there a way for me to make this
more deterministic?

I am trying to access the decorator to inform it an IObservableSet of
elements that it is decorating so it can fire LabelProviderChangeEvents
appropriately when the elements change. Is there a better way to do this?

Previous Topic:re-target copy command wtih handler
Next Topic:Which setting files should/must/shouldn't be under version control?
Goto Forum:

Current Time: Thu Jun 21 20:19:26 GMT 2018

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

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

Back to the top