Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325457 - Large property values are badly displayed
Summary: Large property values are badly displayed
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Main (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.9.0 M2   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 08:58 EDT by Stephane Rousseau CLA
Modified: 2010-10-18 08:40 EDT (History)
4 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Rousseau CLA 2010-09-16 08:58:41 EDT
Hi,

In the MoDisco model browser, large property values are badly displayed and are cut because the are is not long enough and can't be enlarge.

Regards

Stéphane Rousseau
Comment 1 Nicolas Bros CLA 2010-09-16 09:29:32 EDT
Are you referring to the attributes that appear inline in the model browser's treeview, or in the Properties view?

Attribute values displayed in the treeview are truncated after 100 characters or the first newline. This is to avoid long lines and ridiculously large scrollbars.
Comment 2 Stephane Rousseau CLA 2010-09-16 09:39:44 EDT
I'm talking about the model browser's treeview.

I understand the reason why it works this way but it would be nice if we can navigate thru the value to display it in a area with a predefined size.

In my case, I can't see the name of the Java class (the most important part of the value) used in the contributionURI property of an handler except usi ng the Properties view.

Stéphane Rousseau
Comment 3 Nicolas Bros CLA 2010-09-16 11:25:45 EDT
In revision 3149, I added a tooltip that shows the full text when the displayed text is truncated.
Also the text is now truncated in the middle instead of at the end, so that when the end is the most valuable part, it appears directly.
I also increased the length after which the strings are truncated.
Comment 4 Hugo Bruneliere CLA 2010-10-05 05:11:47 EDT
Bug fixed.