[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-patch] managedbuilder ui accessibility fix for 61461
|
This removes intermediate composites
so a screen reader can read the group label.
I tried adding an accessibleAdapter
with a getName method to the composite but it didn't do the trick.
Thanks,
TanyaIndex: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.managedbuilder.ui/ChangeLog,v
retrieving revision 1.18
diff -u -r1.18 ChangeLog
--- ChangeLog 16 Mar 2004 22:26:10 -0000 1.18
+++ ChangeLog 15 Jun 2004 19:02:37 -0000
@@ -1,3 +1,6 @@
+2004-06-15 Tanya Wolff
+ Removed intermediate composites to allow groupings to be readable by screenreader in the Manage Configuration dialog.
+
2004-03-16 Tanya Wolff
Marked remaining strings forming keys, directories and filenames untranslatable.
Index: src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java,v
retrieving revision 1.11
diff -u -r1.11 ManageConfigDialog.java
--- src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java 15 Jun 2004 15:40:20 -0000 1.11
+++ src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java 15 Jun 2004 19:02:37 -0000
@@ -240,14 +240,9 @@
deletedConfigLabel.setText(ManagedBuilderUIMessages.getResourceString(DELETED_CONFIGS));
deletedConfigLabel.setLayoutData(new GridData());
- // Create the current config list
- final Composite currentComp = new Composite(configListGroup, SWT.NULL);
- currentComp.setFont(configListGroup.getFont());
- currentComp.setLayout(new GridLayout(1, true));
- currentComp.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- currentConfigList = new List(currentComp, SWT.SINGLE|SWT.V_SCROLL|SWT.H_SCROLL|SWT.BORDER);
- currentConfigList.setFont(currentComp.getFont());
+ // Create the current config List
+ currentConfigList = new List(configListGroup, SWT.SINGLE|SWT.V_SCROLL|SWT.H_SCROLL|SWT.BORDER);
+ currentConfigList.setFont(configListGroup.getFont());
data = new GridData(GridData.FILL_BOTH);
data.widthHint = (IDialogConstants.ENTRY_FIELD_WIDTH / 2);
currentConfigList.setLayoutData(data);
@@ -308,14 +303,9 @@
}
});
- // Create the deleted config list
- final Composite deletedComp = new Composite(configListGroup, SWT.NULL);
- deletedComp.setFont(configListGroup.getFont());
- deletedComp.setLayout(new GridLayout(1, true));
- deletedComp.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- deletedConfigList = new List(deletedComp, SWT.SINGLE|SWT.V_SCROLL|SWT.H_SCROLL|SWT.BORDER);
- deletedConfigList.setFont(deletedComp.getFont());
+ //Create the deleted config list
+ deletedConfigList = new List(configListGroup, SWT.SINGLE|SWT.V_SCROLL|SWT.H_SCROLL|SWT.BORDER);
+ deletedConfigList.setFont(configListGroup.getFont());
data = new GridData(GridData.FILL_BOTH);
data.widthHint = (IDialogConstants.ENTRY_FIELD_WIDTH / 2);
deletedConfigList.setLayoutData(data);