Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355861 - Support for markup in widgets
Summary: Support for markup in widgets
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: Demo (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 1.5 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: plan-version=1.5 plan-theme=web-like ...
Keywords:
Depends on: 358227
Blocks:
  Show dependency tree
 
Reported: 2011-08-25 11:27 EDT by Ralf Sternberg CLA
Modified: 2012-03-15 04:18 EDT (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 Ralf Sternberg CLA 2011-08-25 11:27:59 EDT
The SWT API does not allow for markup in widget texts. However, since the RAP client in rendered in the browser, it would be desirable and relatively simple to support certain HTML tags. Examples include striked through text, embedded HTML links, emphasized font, images, and colors.
We'll need to come up with some addional API to do so.
Comment 1 Ivan Furnadjiev CLA 2012-03-14 03:55:39 EDT
Added markup support for Label widget.
Comment 2 Ivan Furnadjiev CLA 2012-03-14 11:14:32 EDT
Added markup support for CLabel widget too.
Comment 3 Ralf Sternberg CLA 2012-03-14 17:42:30 EDT
I think with markup support for these widget in place, most use cases we had in mind can now be addressed, so I'm going to close this bug.
If there's a need to extend markup support to more widgets, we should open separate enhancement requests.