diff options
author | sb <sb@openoffice.org> | 2010-02-26 17:03:57 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-02-26 17:03:57 +0100 |
commit | b9129478ddb10059fef0a3934e45529eebcb0cfe (patch) | |
tree | 0becfbdfb09f8796a4e16db4c7e973b7abe2c7e1 /qadevOOo/runner | |
parent | sb118: #i109125# change source file copyright notice from Sun Microsystems to... (diff) | |
download | core-b9129478ddb10059fef0a3934e45529eebcb0cfe.tar.gz core-b9129478ddb10059fef0a3934e45529eebcb0cfe.zip |
sb118: improved tests (no getActiveTopWindow etc.)
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/util/UITools.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/qadevOOo/runner/util/UITools.java b/qadevOOo/runner/util/UITools.java index 1a639d18b252..c9562949632f 100644 --- a/qadevOOo/runner/util/UITools.java +++ b/qadevOOo/runner/util/UITools.java @@ -674,26 +674,6 @@ public class UITools { } } - - /** - * fetch the active window which is on the top of the X-desktop - * @return the active window - * @throws java.lang.Exception if something fail - */ - public XWindow getActiveTopWindow() throws java.lang.Exception - { - XInterface xToolKit = null; - try { - xToolKit = (XInterface) mMSF.createInstance("com.sun.star.awt.Toolkit") ; - } catch (com.sun.star.uno.Exception e) { - throw new Exception("Could not toolkit: " + e.toString()); - } - XExtendedToolkit tk = (XExtendedToolkit) - UnoRuntime.queryInterface(XExtendedToolkit.class, xToolKit); - Object atw = tk.getActiveTopWindow(); - return (XWindow) UnoRuntime.queryInterface(XWindow.class, atw); - } - /** * fetch the window which is equal to the given <CODE>WindowName</CODE> * @return the named window |