diff options
author | Grant Gayed <ggayed> | 2002-03-05 16:14:08 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2002-03-05 16:14:08 +0000 |
commit | bddbaf650c3078694d3b6df21a4481c44310a339 (patch) | |
tree | ea7206deefd1d86e8d9ca73d90e0306d56301e37 /bundles | |
parent | 50a3629f34ae5f997f4d4c200fa433b53db9d6e0 (diff) | |
download | eclipse.platform.swt-bddbaf650c3078694d3b6df21a4481c44310a339.tar.gz eclipse.platform.swt-bddbaf650c3078694d3b6df21a4481c44310a339.tar.xz eclipse.platform.swt-bddbaf650c3078694d3b6df21a4481c44310a339.zip |
*** empty log message ***
Diffstat (limited to 'bundles')
-rwxr-xr-x | bundles/org.eclipse.swt/buildnotes_swt.html | 43 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/os/linux/x86/libswt-gtk-2029.so (renamed from bundles/org.eclipse.swt/os/linux/x86/libswt-gtk-2028.so) | bin | 202203 -> 202203 bytes | |||
-rw-r--r-- | bundles/org.eclipse.swt/os/linux/x86/libswt-pi-gtk-2029.so (renamed from bundles/org.eclipse.swt/os/linux/x86/libswt-pi-gtk-2028.so) | bin | 224177 -> 224177 bytes | |||
-rw-r--r-- | bundles/org.eclipse.swt/os/linux/x86/libswt-pixbuf-gtk-2029.so (renamed from bundles/org.eclipse.swt/os/linux/x86/libswt-pixbuf-gtk-2028.so) | bin | 7121 -> 7121 bytes |
4 files changed, 43 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/buildnotes_swt.html b/bundles/org.eclipse.swt/buildnotes_swt.html index f32173d8de..db7c327eb0 100755 --- a/bundles/org.eclipse.swt/buildnotes_swt.html +++ b/bundles/org.eclipse.swt/buildnotes_swt.html @@ -14,6 +14,49 @@ SWT</h1> SWT Build 2.0 029 - Tuesday March 5, 2002
<h2>
+<a NAME="New APIs"></a>New APIs</h2>
+
+<b>Note:</b> The new Accessibility API is experimental, and will likely change.
+<ul>
+<li>Control.getAccessible() added</li>
+<li>package <b>org.eclipse.swt.accessibility</b> added, containing the following classes:<ul>
+<li>Accessible</li>
+<li>ACC</li>
+<li>AccessibleListener</li>
+<li>AccessibleAdapter</li>
+<li>AccessibleEvent</li>
+<li>AccessibleControlListener</li>
+<li>AccessibleControlAdapter</li>
+<li>AccessibleControlEvent</li>
+</ul></li></ul>
+
+Here are two examples that use the accessibility API:<ul>
+<li>For a control with no child items:
+<code><pre>
+ button.getAccessible().addAccessibleListener(new AccessibleAdapter() {
+ public void getName(AccessibleEvent e) {
+ e.result = "My Button Label";
+ }
+ });
+</pre></code></li>
+
+<li>For a control that has child items:
+<code><pre>
+ list.getAccessible().addAccessibleListener(new AccessibleAdapter() {
+ public void getName(AccessibleEvent e) {
+ if (e.childID == ACC.CHILDID_SELF) {
+ e.result = "My List Label";
+ } else {
+ e.result = "My List Item Label: " + list.getItem(e.childID);
+ }
+ }
+ });
+</pre></code></li></ul>
+<b>Note:</b> The API involving the AccessibleControlXxx classes is more complex, and more likely to change.
+It is unlikely that application code will need to use it.
+It is primarily for the use of custom control implementors.
+
+<h2>
<a NAME="Problem reports fixed"></a>Problem reports fixed</h2>
<blockquote>
4436: Grid Layout Problem (1FOLZZE)
diff --git a/bundles/org.eclipse.swt/os/linux/x86/libswt-gtk-2028.so b/bundles/org.eclipse.swt/os/linux/x86/libswt-gtk-2029.so Binary files differindex 371dd2a750..371dd2a750 100644 --- a/bundles/org.eclipse.swt/os/linux/x86/libswt-gtk-2028.so +++ b/bundles/org.eclipse.swt/os/linux/x86/libswt-gtk-2029.so diff --git a/bundles/org.eclipse.swt/os/linux/x86/libswt-pi-gtk-2028.so b/bundles/org.eclipse.swt/os/linux/x86/libswt-pi-gtk-2029.so Binary files differindex a860f173fd..a860f173fd 100644 --- a/bundles/org.eclipse.swt/os/linux/x86/libswt-pi-gtk-2028.so +++ b/bundles/org.eclipse.swt/os/linux/x86/libswt-pi-gtk-2029.so diff --git a/bundles/org.eclipse.swt/os/linux/x86/libswt-pixbuf-gtk-2028.so b/bundles/org.eclipse.swt/os/linux/x86/libswt-pixbuf-gtk-2029.so Binary files differindex 75b3658faa..75b3658faa 100644 --- a/bundles/org.eclipse.swt/os/linux/x86/libswt-pixbuf-gtk-2028.so +++ b/bundles/org.eclipse.swt/os/linux/x86/libswt-pixbuf-gtk-2029.so |