Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JFace DecorationField and JASW issue!!!! Follow up(Field decoration text not accessible to screen readers.)
JFace DecorationField and JASW issue!!!! Follow up [message #487120] Tue, 22 September 2009 02:43
Chen Yang is currently offline Chen YangFriend
Messages: 1
Registered: September 2009
Junior Member
Hi All :

I have faced a JFace and JASW issue.
The scenario is that FieldedDecoration can not be read by screen reader(JASW)

Please see my testing code following :


DecoratedField field = new DecoratedField(shell, styles, new TextCreator());
Text i_fromText = (Text)field.getControl();
FieldDecoration contentAssist =getContentAssistDecoration();
field.addFieldDecoration(contentAssist, getContentAssistDecorationLocation(), false);

private static FieldDecoration getContentAssistDecoration()

FieldDecorationRegistry registry = FieldDecorationRegistry.getDefault();
String decorationId = FieldDecorationRegistry.DEC_CONTENT_PROPOSAL;
FieldDecoration c_contentAssistDecoration = registry.getFieldDecoration(decorationId);
c_contentAssistDecoration.setDescription("Content assist is available for this field. Type a '$' to open the content assist popup."); //$NON-NLS-1$
return c_contentAssistDecoration;


Please see the attachment .
Previous Topic:Remote Help
Next Topic:String variable expansion
Goto Forum:

Current Time: Sat May 26 16:02:14 GMT 2018

Powered by FUDForum. Page generated in 0.01280 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top