XAccessible xRoot = at.getAccessibleObject(xWindow);
XAccessibleContext InputLine = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL,"Input line");
try {
oObj = InputLine.getAccessibleChild(0);
XAccessibleEditableText et = (XAccessibleEditableText) UnoRuntime.queryInterface(XAccessibleEditableText.class, oObj);
et.setText("AccessibleEditablePara");
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
}
at.printAccessibleTree(log, xRoot, Param.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
log.println("ImplementationName " + utils.getImplName(oObj));
TestEnvironment tEnv = new TestEnvironment(oObj);
final XAccessibleEditableText edText = (XAccessibleEditableText)
UnoRuntime.queryInterface(XAccessibleEditableText.class,oObj) ;
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
try {
int l = new String("AccessibleEditablePara").length();
edText.deleteText(0, l);
edText.setText("Event");
edText.setText("AccessibleEditablePara");
}catch(com.sun.star.lang.IndexOutOfBoundsException e) {}
}
});
return tEnv;