Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » lightweight label decorator lazy instantiation problem
lightweight label decorator lazy instantiation problem [message #337010] Mon, 20 July 2009 20:09
Eclipse UserFriend
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?

Thanks,
Will
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: Mon May 05 07:20:24 EDT 2025

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

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

Back to the top