summaryrefslogtreecommitdiff
path: root/toolkit/test/accessibility/AccessibilityTreeModel.java
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2002-04-26 11:26:43 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2002-04-26 11:26:43 +0000
commit8d47fec2ff417ee67c24e3bc13a61fbae537ae7a (patch)
tree608a88be2454a92132261dcd3663221bdd9cf355 /toolkit/test/accessibility/AccessibilityTreeModel.java
parent8c7d773975a32dead44baf2aadead07fc275d06e (diff)
added support for XAccessibleRelation interface
Diffstat (limited to 'toolkit/test/accessibility/AccessibilityTreeModel.java')
-rw-r--r--toolkit/test/accessibility/AccessibilityTreeModel.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java
index d2c18fb2b3a6..b8fa8d1756f3 100644
--- a/toolkit/test/accessibility/AccessibilityTreeModel.java
+++ b/toolkit/test/accessibility/AccessibilityTreeModel.java
@@ -52,6 +52,7 @@ public class AccessibilityTreeModel
private static NodeHandler maHypertextHandler = new AccessibleHypertextHandler();
private static NodeHandler maHyperlinkHandler = new AccessibleHyperlinkHandler();
private static NodeHandler maSelectionHandler = new AccessibleSelectionHandler();
+ private static NodeHandler maRelationHandler = new AccessibleRelationHandler();
private static NodeHandler maTreeHandler = new AccessibleTreeHandler();
private Canvas maCanvas;
@@ -542,6 +543,7 @@ public class AccessibilityTreeModel
aNode.addHandler (maHypertextHandler.createHandler (xContext));
aNode.addHandler (maHyperlinkHandler.createHandler (xContext));
aNode.addHandler (maSelectionHandler.createHandler (xContext));
+ aNode.addHandler (maRelationHandler.createHandler (xContext));
aNode.addHandler (maTreeHandler.createHandler (xContext));
}
else
@@ -567,6 +569,7 @@ public class AccessibilityTreeModel
aNode.addHandler (maActionHandler.createHandler (xContext));
aNode.addHandler (maImageHandler.createHandler (xContext));
aNode.addHandler (maTableHandler.createHandler (xContext));
+ aNode.addHandler (maRelationHandler.createHandler (xContext));
aNode.addHandler (maCellHandler.createHandler (xContext));
aNode.addHandler (maSelectionHandler.createHandler (xContext));
aNode.addHandler (maTreeHandler.createHandler (xContext));
@@ -688,6 +691,7 @@ public class AccessibilityTreeModel
"TABLE_SUMMARY_CHANGED", "TEXT", "VALUE", "VISIBLE_DATA",
"CONTROLLED_BY_PROPERTY", "CONTROLLER_FOR_PROPERTY",
"LABEL_FOR_PROPERTY", "LABELED_BY_PROPERTY", "MEMBER_OF_PROPERTY",
+ "CONTENT_FLOWS_FROM", "CONTENT_FLOWS_TO",
"[UNKNOWN]"
};