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

Bug 325457

Summary: Large property values are badly displayed
Product: [Modeling] MoDisco Reporter: Stephane Rousseau <srousseau>
Component: MainAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: fabien.giquel, hugo.bruneliere, modisco.web-inbox, nicolas.bros
Version: 0.8.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.