Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Query on creating Controls using the SWT Accessibility API
Query on creating Controls using the SWT Accessibility API [message #176081] Wed, 02 August 2006 05:20
Eclipse UserFriend
Originally posted by:


I am trying to develop controls which is compatible and readable by IBM
HomePageReader(Desktop Reader),
Firstly i used SWT Accessibility API (org.eclipse.swt.*) to create
controls such as Checkbox and Labels.

For eg : Consider wizard having 2 controls

Label Control Type
===== ===========
COA unchecked Checkbox
OfferLetter combobox

The desktop reader reads the message as follows ( COA --- unchecked
checkbox ---- COA ----Offerletter )
COA is read twice instead of once at the start.

It is reading the label ,checkbox and again the name of the first label
and then the other label...

Here,the first label is read twice...
So,as to fix this issue,I tried creating the label in the following way...

final Label label_15 = new Label(container, SWT.NONE);
final FormData formData_34 = new FormData();
formData_34.bottom = new FormAttachment(0, 395);
formData_34.right = new FormAttachment(label_13, 135,
SWT.LEFT); = new FormAttachment(0, 375);
formData_34.left = new FormAttachment(label_13, 0,
access.addAccessibleListener(new AccessibleAdapter(){
public void getName(AccessibleEvent arg0) {

//Control lab=access.getControl();



GcpsClientCustomerWizardMessages.getString("CustomerPanel.OL_BSP "));


Similarly,i tried creating the checkbox also.,

Are there any alternate ways of doing this to make it work correctly .

I appreciate if u could please look into this and do any help in this

Thanks & Regards.,
Meenakshi E

IBM India Pvt. Ltd.,
Prestige Towers,Level 2,
#99,Residency Road,

Ph.No.: +91-80-4007-2137
E-Mail :
Previous Topic:WTP 1.5 New Navigator Query ?
Next Topic:Converting a project to a dynamic web project in webtools
Goto Forum:

Current Time: Sat Feb 24 08:38:47 GMT 2018

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

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