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

Bug 274213

Summary: [Text] SWT.SEARCH and get/setMessage() are missing
Product: [RT] RAP Reporter: Elias Volanakis <elias>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: Michal.Tkacz
Version: 1.1   
Target Milestone: 1.3 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Elias Volanakis CLA 2009-04-28 20:42:04 EDT
This is not critical, just annoying when single sourcing.

RWT's Text implementation does not support this API added in 3.3:

SWT.SEARCH style bit
void setMessage(String)
String getMessage()

This is used to show an "info message" (usually in a light gray color) in the text field, when it is empty. 

Refer to "Text SEARCH style" in the 3.3 N&N:
http://www.eclipse.org/swt/R3_3/new_and_noteworthy.html
Comment 1 Ivan Furnadjiev CLA 2010-02-09 03:31:00 EST
Fixed in CVS HEAD. SWT.ICON_SEARCH and SWT.ICON_CANCEL style flags are implemented as noop.