// guess node connection
DBConnectionInfo nodeInfo = preferredDataSource();
String nodeKey = preferredDataSourceLabel(nodeInfo);
// connect
ConnectionWizard connectWizard = new ConnectionWizard(
getProjectController(),
"Reengineer DB Schema: Connect to Database",
nodeKey,
nodeInfo);
if (!connectWizard.startupAction()) {
// canceled
return;
}
Connection connection = connectWizard.getConnection();
DbAdapter adapter = connectWizard.getAdapter();
DBConnectionInfo dataSourceInfo = connectWizard.getConnectionInfo();
// from here pass control to DbLoaderHelper, running it from a thread separate
// from EventDispatch
final DbLoaderHelper helper = new DbLoaderHelper(