Kaydet (Commit) 4e694b5b authored tarafından Stephan Wunderlich's avatar Stephan Wunderlich

CHG: wait after menu is activated to ensure that it is visible

üst 017824fc
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: AccessibleMenuItem.java,v $ * $RCSfile: AccessibleMenuItem.java,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Date: 2003-03-26 12:24:26 $ * last change: $Date: 2003-03-26 12:49:28 $
* *
* 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
...@@ -157,9 +157,10 @@ public class AccessibleMenuItem extends TestCase { ...@@ -157,9 +157,10 @@ public class AccessibleMenuItem extends TestCase {
XAccessibleAction act = (XAccessibleAction) UnoRuntime.queryInterface(XAccessibleAction.class, Menu); XAccessibleAction act = (XAccessibleAction) UnoRuntime.queryInterface(XAccessibleAction.class, Menu);
act.doAccessibleAction(0); act.doAccessibleAction(0);
//get a menue-item shortWait();
oObj = Menu.getAccessibleContext().getAccessibleChild(6);
//get a menue-item
oObj = Menu.getAccessibleContext().getAccessibleChild(9);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) { } catch (com.sun.star.lang.IndexOutOfBoundsException e) {
} }
......
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