Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312274

Summary: Query and Facet editors: show error message on hover
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gdupe, hugo.bruneliere, modisco.web-inbox
Version: 0.8.0Flags: nicolas.bros: helios+
hugo.bruneliere: review+
Target Milestone: 0.8.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

Description Nicolas Bros CLA 2010-05-10 10:59:04 EDT
The Query and Facet editors now display an error decorator when a marker is set on a model element. But there is currently no way to know what error it is without looking at the Problems view (in which potentially many other unrelated problems are displayed, making it harder to find).

Text editors in Eclipse solve this by displaying the markers as squiggly lines and decorators in the margins.

We should display the error message in a tooltip when hovering over the element or error decorator.
Comment 1 Nicolas Bros CLA 2010-05-11 06:29:13 EDT
Created attachment 167889 [details]
patch

This patch adds tooltips that appear on mouse hover, and show a description of the error.
Comment 2 Hugo Bruneliere CLA 2010-05-11 10:13:08 EDT
Nicolas,

You can go ahead with this patch.

Regards,

Hugo
Comment 3 Nicolas Bros CLA 2010-05-11 10:34:18 EDT
Thank you. I have applied the patch to 0_8_0.
Comment 4 Hugo Bruneliere CLA 2010-10-04 12:56:02 EDT
The patch has been successfully applied.