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

Bug 430980

Summary: MarkUp support for MessageBox text
Product: [RT] RAP Reporter: John Gymer <jgymer>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.2   
Target Milestone: 3.2 M3   
Hardware: All   
OS: All   
Whiteboard:

Description John Gymer CLA 2014-03-24 05:44:16 EDT
Consider supporting RAP MarkUp in MessageBox.

In particular, the message text itself, but perhaps also the title.

API for the main text could be the same as other MarkUp support:
myMsgBox.setData(RWT.MARKUP_ENABLED, true);

Not sure about the API for the Title. Perhaps another RWT constant, RWT.TITLE_MARKUP_ENABLED, or similar?
Comment 1 Ivan Furnadjiev CLA 2014-03-24 06:39:27 EDT
MessageBox is a Dialog and there is no set/getData API. If we enable the markup for message label by default, than we will have problems with single-sourcing - <> will need escaping in RAP .
Comment 2 John Gymer CLA 2014-03-24 06:42:14 EDT
Hi Ivan, yes, understand, setData is missing.
Any chance you could invent a new SWT.MarkUp style for the MessageBox instead?
Comment 3 Ivan Furnadjiev CLA 2016-10-18 02:56:05 EDT
Fixed with change https://git.eclipse.org/r/#/c/83349/