|Showing Problem Indiators and Problem Descriptions for a TreeViewer [message #1693015]
||Tue, 21 April 2015 09:03
| Simon BBBBBBB
Registered: March 2015
i have a treeViewer that displays an EMFModel of mine. I use a ValidateAction to validate this model and this creates all the problem indicators that i need. i can see these in the Problem view.
But how can i mark my elements in the treeViewer with the red-error sign? and i need the description when i hover over the error-element.
i just dont know how to start
thanks for any help
PS: i tryed the following:
DiagnosticDecorator decorator = new DiagnosticDecorator(resourceSet, treeViewer);
DecoratingLabelProvider decoratorLabelProvider = new DecoratingLabelProvider(labelProvider, decorator);
[Updated on: Tue, 21 April 2015 09:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01793 seconds