DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape);
XModel aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xDrawDoc);
AccessibilityTools at = new AccessibilityTools();
XWindow xWindow = at.getCurrentWindow (
(XMultiServiceFactory)Param.getMSF(),aModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
//com.sun.star.accessibility.AccessibleRole
at.getAccessibleObjectForRole(xRoot, AccessibleRole.DOCUMENT);
oObj = AccessibilityTools.SearchedContext;
log.println("ImplementationName "+utils.getImplName(oObj));
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
TestEnvironment tEnv = new TestEnvironment(oObj);
final XDrawView xView = (XDrawView) UnoRuntime.queryInterface
(XDrawView.class, aModel.getCurrentController()) ;