Bug 97660 - New plug-in from Jar list not labelled
Summary: New plug-in from Jar list not labelled
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: Konrad Kolosowski CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2005-05-31 14:59 EDT by Tod Creasey CLA
Modified: 2005-06-04 13:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2005-05-31 14:59:27 EDT
RC1

There is no label for the list of JAR achives in the New plug-in from Jar
wizard. There is a label but it is not picked up by accessibility tools becuase

1) It is not the sibling of the list previous in the z order. By default widget
z order is determined by creation order

2) There is no mnemonic for the label. As a result you cannot get there by the
mouse to check.

If you ix the mnemonic selecting Alt-mnemonic should get you to the list.
Comment 1 Konrad Kolosowski CLA 2005-06-04 13:50:18 EDT
Tod,
I have added the mnemonic.  That takes care about 2).

I am not sure about problem 1).
Now the Alt+j puts a foucs inside the list.  Placing a focus in the list by 
mouse causes Windows Narrator to read the label first and then the entry from 
the list, and the code looks like:
Label l = new Label(control, SWT.WRAP);
l.setText(PDEUIMessages.LibraryPluginJarsPage_label); //$NON-NLS-1$
GridData data = new GridData(GridData.FILL_HORIZONTAL);
data.horizontalSpan = 2;
l.setLayoutData(data);
fTableViewer = new TableViewer(control, SWT.MULTI | SWT.BORDER);
So the table viewer is  a sibling of label, no?

Please verify or point me at what is wrong there.