use of org.pentaho.platform.dataaccess.datasource.wizard.controllers.WizardRelationalDatasourceController in project data-access by pentaho.
the class QueryPhysicalStep method init.
@Bindable
public void init(IWizardModel wizardModel) throws XulException {
// $NON-NLS-1$
datasourceNameTextBox = (XulTextbox) document.getElementById("datasourceName");
wizardConnectionController = new WizardConnectionController(document);
wizardConnectionController.setDatasourceModel(datasourceModel);
// wizardConnectionController.setConnectionService(connectionService);
getXulDomContainer().addEventHandler(wizardConnectionController);
wizardConnectionController.init();
databaseConnectionController = new ConnectionController(document);
databaseConnectionController.setDatasourceModel(datasourceModel);
// databaseConnectionController.setService(connectionService);
databaseConnectionController.reloadConnections();
WizardRelationalDatasourceController relationalDatasourceController = new WizardRelationalDatasourceController();
relationalDatasourceController.setService(datasourceService);
getXulDomContainer().addEventHandler(relationalDatasourceController);
relationalDatasourceController.init(datasourceModel);
initialize();
datasourceModel.clearModel();
super.init(wizardModel);
}
Aggregations