shortWait();
XModel aModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xTextDoc);
XController secondController = aModel1.getCurrentController();
XDispatchProvider aProv = (XDispatchProvider)UnoRuntime.queryInterface(
XDispatchProvider.class,
secondController);
XDispatch getting = null;
log.println("opening DatasourceBrowser");
URL the_url = new URL();
the_url.Complete = ".component:DB/DataSourceBrowser";
getting = aProv.queryDispatch(the_url, "_beamer", 12);
PropertyValue[] noArgs = new PropertyValue[0];
getting.dispatch(the_url, noArgs);
shortWait();
XFrame the_frame1 = the_Desk.getCurrentFrame();
if (the_frame1 == null) {
log.println("Current frame was not found !!!");
}
XFrame the_frame2 = the_frame1.findFrame("_beamer", 4);
XController xCont = the_frame2.getController();
the_frame2.setName("DatasourceBrowser");
final PropertyValue[] params = new PropertyValue[3];
PropertyValue param1 = new PropertyValue();