Project

General

Profile

« Previous | Next » 

Revision 2cc1a60e

Added by Cherian Mathew almost 10 years ago

added new constructor with mode argument for wizard pages and deprecated the old constructor.
CdmDataSourceWizard and CdmDataSourceTypeSelectionWizardPage now call the new constructor.

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/datasource/wizard/CdmDataSourcePostgreSQLServerWizardPage.java
27 27

  
28 28
	private int port;
29 29
	
30
	@Deprecated
30 31
	protected CdmDataSourcePostgreSQLServerWizardPage(ICdmDataSource dataSource) {
31 32
		super("PostgreSQL Server", dataSource);
32 33
		setTitle("PostgreSQL Server");
33 34
		setDescription("Enter credentials for PostgreSQL Server database");
34 35

  
35 36
	}
37
	
38
	/**
39
	 * <p>Constructor for CdmDataSourcePostgreSQLServerWizardPage.</p>
40
	 *
41
	 * @param dataSource a {@link eu.etaxonomy.cdm.database.ICdmDataSource} object.
42
	 * @param mode a {@link eu.etaxonomy.taxeditor.datasource.wizard.CdmDataSourceWizard.Mode} enum type.
43
	 */
44
	protected CdmDataSourcePostgreSQLServerWizardPage(ICdmDataSource dataSource, CdmDataSourceWizard.Mode mode) {
45
		super("PostgreSQL Server", dataSource, mode);
46
		setTitle("PostgreSQL Server");
47
		setDescription("Enter credentials for PostgreSQL Server database");
48

  
49
	}
36 50

  
37 51
	/* (non-Javadoc)
38 52
	 * @see eu.etaxonomy.taxeditor.datasource.wizard.CdmDataSourceCredentialsWizardPage#createDatabaseForm()

Also available in: Unified diff