added new constructor with mode argument for wizard pages and deprecated the old...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / datasource / wizard / CdmDataSourceTypeSelectionWizardPage.java
index b646478a0c5a20a8cb334f9d31e4dffe7c284c53..87be82e146e18e0629f577b6afe7035dfe1995c4 100644 (file)
@@ -162,13 +162,13 @@ public class CdmDataSourceTypeSelectionWizardPage extends WizardPage implements
                
                
                if(type == DatabaseTypeEnum.H2){
-                       credentialsWizardPage = new CdmDataSourceH2WizardPage(dataSource);
+                       credentialsWizardPage = new CdmDataSourceH2WizardPage(dataSource,CdmDataSourceWizard.Mode.CREATE);
                }
                else if(type == DatabaseTypeEnum.MySQL){
-                       credentialsWizardPage = new CdmDataSourceMySQLWizardPage(dataSource);
+                       credentialsWizardPage = new CdmDataSourceMySQLWizardPage(dataSource, CdmDataSourceWizard.Mode.CREATE);
                }
                else if(type == DatabaseTypeEnum.PostgreSQL){
-                       credentialsWizardPage = new CdmDataSourcePostgreSQLServerWizardPage(dataSource);
+                       credentialsWizardPage = new CdmDataSourcePostgreSQLServerWizardPage(dataSource, CdmDataSourceWizard.Mode.CREATE);
                }
                
 //             else if(type == DatabaseTypeEnum.SqlServer2005){