tEnv.addObjRelation("XWindow.ControlShape", aShape);
// Adding relation for XTextListener
ifc.awt._XTextListener.TestTextListener listener =
new ifc.awt._XTextListener.TestTextListener();
XTextComponent textComp = (XTextComponent) UnoRuntime.queryInterface(
XTextComponent.class, oObj);
textComp.addTextListener(listener);
tEnv.addObjRelation("TestTextListener", listener);
FormTools.switchDesignOf(((XMultiServiceFactory) Param.getMSF()), xTextDoc);
shortWait();