Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343999 - ListResult columns are not translated
Summary: ListResult columns are not translated
Status: RESOLVED FIXED
Alias: None
Product: MAT
Classification: Tools
Component: Core (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Andrew Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 269608
  Show dependency tree
 
Reported: 2011-04-27 13:18 EDT by Andrew Johnson CLA
Modified: 2011-06-29 10:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Johnson CLA 2011-04-27 13:18:42 EDT
For the Leak Suspects report, the column headings for Accumulated Objects by Class are not translated

tools.mat562107:Accumulated Objects by Class
Label Number Of Objects Used Heap Size Retained Heap Size 

ListResult.fixName() converts the attributes to readable names which is not translated.

Also
tools.mat562223:Biggest Top-Level Dominator Classes
Label Number Of Objects Used Heap Size Retained Heap Size tools.mat562231:Retained Heap, % 

 tools.mat562225:Biggest Top-Level Dominator Class Loaders
Label Number Of Objects Used Heap Size Retained Heap Size tools.mat562231:Retained Heap, %
Comment 1 Andrew Johnson CLA 2011-05-27 09:21:13 EDT
One solution would be do use PropertyDescriptor.getDisplayName if available and different from getName for both ListResult and PropertyResult, and to define a BeanInfo to supply this information when using a ListResult.
Comment 2 Andrew Johnson CLA 2011-06-29 08:49:30 EDT
Solution is to add BeanInfo for HistogramRecord and TextEntry, modify ListResult and PropertyResult.
Comment 3 Andrew Johnson CLA 2011-06-29 10:32:33 EDT
Fix applied - we need a Babel pseudo-translation file to test.
Comment 4 Andrew Johnson CLA 2011-06-29 10:32:55 EDT
Fixed.