Index: graph/lib/apichanges.xml
===================================================================
RCS file: /cvs/graph/lib/apichanges.xml,v
retrieving revision 1.23
diff -u -r1.23 apichanges.xml
--- graph/lib/apichanges.xml 25 Jun 2007 14:10:16 -0000 1.23
+++ graph/lib/apichanges.xml 18 Jul 2007 12:47:14 -0000
@@ -330,6 +330,20 @@
+
+
+
+ Widget implements javax.accessibility.Accessible interface
+
+
+
+
+
+ The Widget implements javax.accessibility.Accessible interface.
+
+
+
+
Index: graph/lib/manifest.mf
===================================================================
RCS file: /cvs/graph/lib/manifest.mf,v
retrieving revision 1.13
diff -u -r1.13 manifest.mf
--- graph/lib/manifest.mf 25 Jun 2007 14:10:16 -0000 1.13
+++ graph/lib/manifest.mf 18 Jul 2007 12:47:14 -0000
@@ -1,4 +1,4 @@
Manifest-Version: 1.0
OpenIDE-Module: org.netbeans.api.visual
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/visual/resources/Bundle.properties
-OpenIDE-Module-Specification-Version: 2.5
+OpenIDE-Module-Specification-Version: 2.6
Index: graph/lib/src/org/netbeans/api/visual/widget/Widget.java
===================================================================
RCS file: /cvs/graph/lib/src/org/netbeans/api/visual/widget/Widget.java,v
retrieving revision 1.58
diff -u -r1.58 Widget.java
--- graph/lib/src/org/netbeans/api/visual/widget/Widget.java 21 Jun 2007 12:42:04 -0000 1.58
+++ graph/lib/src/org/netbeans/api/visual/widget/Widget.java 18 Jul 2007 12:47:15 -0000
@@ -28,6 +28,7 @@
import org.openide.util.Lookup;
import javax.accessibility.AccessibleContext;
+import javax.accessibility.Accessible;
import java.awt.*;
import java.awt.geom.AffineTransform;
import java.util.ArrayList;
@@ -59,10 +60,12 @@
* notifyStateChanged is called to notify about it. The state is automatically updated by high-level scenes
* and actions. Yherefore you can define your own look and feel directly in the that method.
*
+ * Since version 2.6 Widget class implements Accessible interface.
+ *
* @author David Kaspar
*/
// TODO - Should Widget be an abstract class?
-public class Widget {
+public class Widget implements Accessible {
static final String MESSAGE_NULL_BOUNDS = "Scene.validate was not called after last change. Widget is not validated. See first Q/A at http://graph.netbeans.org/faq.html page.";