Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Query on creating Controls using the SWT Accessibility API
Query on creating Controls using the SWT Accessibility API [message #600938] Tue, 01 August 2006 12:48
Meenakshi is currently offline MeenakshiFriend
Messages: 2
Registered: July 2009
Junior Member

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:Designing UI
Next Topic:sharing same object among multiple views
Goto Forum:

Current Time: Wed Feb 21 12:35:03 GMT 2024

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

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

Back to the top