|Label decoration in e4 [message #1749404]
||Tue, 06 December 2016 10:02
| Roman Zimmer
Registered: November 2010
we have a pure e4 RCP application, which has a lot TreeViewers displaying domain items. We wanted to visualize validation issues on these items using label decorations. Essentially, we want to show the some overlay icons, which the Eclipse IDE displays, when some compilation unit has an error and/or warning.
The only resource we found in the e4 context was a wiki article.
Unfortunately, PlatformUI.getWorkbench() throws an IllegalStateException: Workbench has not been created yet. on e4. As I understand, this is intended as this method is only valid in e3. But then, how to display item decorations in e4?
Any help is really appreciated, thank you in advance!
Powered by FUDForum
. Page generated in 0.26900 seconds