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 :


int styles = SWT.BORDER | SWT.WRAP | SWT.V_SCROLL |
SWT.H_SCROLL | SWT.MULTI;

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:Ideas for navigation from table cells?
Goto Forum:
  


Current Time: Tue Mar 19 08:10:59 GMT 2024

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

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

Back to the top