Revision 2cc1a60e
Added by Cherian Mathew almost 10 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/datasource/wizard/CdmDataSourceTypeSelectionWizardPage.java | ||
---|---|---|
162 | 162 |
|
163 | 163 |
|
164 | 164 |
if(type == DatabaseTypeEnum.H2){ |
165 |
credentialsWizardPage = new CdmDataSourceH2WizardPage(dataSource); |
|
165 |
credentialsWizardPage = new CdmDataSourceH2WizardPage(dataSource,CdmDataSourceWizard.Mode.CREATE);
|
|
166 | 166 |
} |
167 | 167 |
else if(type == DatabaseTypeEnum.MySQL){ |
168 |
credentialsWizardPage = new CdmDataSourceMySQLWizardPage(dataSource); |
|
168 |
credentialsWizardPage = new CdmDataSourceMySQLWizardPage(dataSource, CdmDataSourceWizard.Mode.CREATE);
|
|
169 | 169 |
} |
170 | 170 |
else if(type == DatabaseTypeEnum.PostgreSQL){ |
171 |
credentialsWizardPage = new CdmDataSourcePostgreSQLServerWizardPage(dataSource); |
|
171 |
credentialsWizardPage = new CdmDataSourcePostgreSQLServerWizardPage(dataSource, CdmDataSourceWizard.Mode.CREATE);
|
|
172 | 172 |
} |
173 | 173 |
|
174 | 174 |
// else if(type == DatabaseTypeEnum.SqlServer2005){ |
Also available in: Unified diff
added new constructor with mode argument for wizard pages and deprecated the old constructor.
CdmDataSourceWizard and CdmDataSourceTypeSelectionWizardPage now call the new constructor.