Kaydet (Commit) 3b8d895a authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS qadev21 (1.8.14); FILE MERGED

2005/02/15 10:45:24 cn 1.8.14.2: #i42822# debug version of printAccessibleTree continues only if debug=true
2005/02/15 10:44:50 cn 1.8.14.1: #i42822# debug version of printAccessibleTree continues only if debug=true
üst d77a8e5c
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: AccessibilityTools.java,v $ * $RCSfile: AccessibilityTools.java,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change:$Date: 2004-11-02 11:47:31 $ * last change:$Date: 2005-02-24 17:22:34 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -328,7 +328,7 @@ public class AccessibilityTools { ...@@ -328,7 +328,7 @@ public class AccessibilityTools {
public static void printAccessibleTree(PrintWriter log, XAccessible xacc, boolean debugIsActive) { public static void printAccessibleTree(PrintWriter log, XAccessible xacc, boolean debugIsActive) {
debug = debugIsActive; debug = debugIsActive;
printAccessibleTree(log, xacc, ""); if (debug) printAccessibleTree(log, xacc, "");
} }
public static void printAccessibleTree(PrintWriter log, XAccessible xacc) { public static void printAccessibleTree(PrintWriter log, XAccessible xacc) {
...@@ -337,6 +337,7 @@ public class AccessibilityTools { ...@@ -337,6 +337,7 @@ public class AccessibilityTools {
protected static void printAccessibleTree(PrintWriter log, protected static void printAccessibleTree(PrintWriter log,
XAccessible xacc, String indent) { XAccessible xacc, String indent) {
XAccessibleContext ac = xacc.getAccessibleContext(); XAccessibleContext ac = xacc.getAccessibleContext();
logging(log,indent + ac.getAccessibleRole() + "," + logging(log,indent + ac.getAccessibleRole() + "," +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment