Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334035 - improve textual representation of attribute values in tooltips and notifications
Summary: improve textual representation of attribute values in tooltips and notifications
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 16:09 EST by Benjamin Muskalla CLA
Modified: 2011-01-11 19:02 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2011-01-11 16:09:19 EST
It would be great to intercep the generation of diffs for taskdata that are shown as notifications. Especially interesting is the interception of the value representation. Imagine you have HTML as description attribute which is nicely formatted with the corresponding attribute editor. In the notication, you see the raw value (eg. html tags). It would be good to have a hook that allows to provide a "textual" representation of the attribute values (maybe as callback on TaskAttributeMapper).
Comment 1 Steffen Pingel CLA 2011-01-11 17:42:41 EST
Have you tried overriding getValueLabel() in TaskAttributeMapper?
Comment 2 Benjamin Muskalla CLA 2011-01-11 18:39:46 EST
Thanks for the hint. In the end, it is getValueLabels (plural) you need to override to get the expected results for the notifications. I'm just not yet sure if this doesn't influence other parts of the system. From my side, this solution would be sufficent and we can close this as WORKSFORME.
Comment 3 Steffen Pingel CLA 2011-01-11 19:02:25 EST
Thanks. Feel free to reopen if the current API is not sufficient.