Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312274 - Query and Facet editors: show error message on hover
Summary: Query and Facet editors: show error message on hover
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 10:59 EDT by Nicolas Bros CLA
Modified: 2010-10-04 12:56 EDT (History)
3 users (show)

See Also:
nicolas.bros: helios+
hugo.bruneliere: review+


Attachments
patch (8.94 KB, patch)
2010-05-11 06:29 EDT, Nicolas Bros CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.