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/CdmDataSourceSQLServerWizardPage.java
42 42
	 *
43 43
	 * @param dataSource a {@link eu.etaxonomy.cdm.database.ICdmDataSource} object.
44 44
	 */
45
	@Deprecated
45 46
	public CdmDataSourceSQLServerWizardPage(ICdmDataSource dataSource) {
46 47
		super("SQL Server", dataSource);
47 48
		setTitle("SQL Server");
......
49 50
		this.setDataSource(dataSource);
50 51
	}
51 52
	
53
	/**
54
	 * <p>Constructor for CdmDataSourceSQLServerWizardPage.</p>
55
	 *
56
	 * @param dataSource a {@link eu.etaxonomy.cdm.database.ICdmDataSource} object.
57
	 * param mode a {@link eu.etaxonomy.taxeditor.datasource.wizard.CdmDataSourceWizard.Mode} enum type.
58
	 */
59
	public CdmDataSourceSQLServerWizardPage(ICdmDataSource dataSource, CdmDataSourceWizard.Mode mode) {
60
		super("SQL Server", dataSource, mode);
61
		setTitle("SQL Server");
62
		setDescription("Enter credentials for SQL Server database");
63
		this.setDataSource(dataSource);
64
	}
65
	
52 66
	/* (non-Javadoc)
53 67
	 * @see eu.etaxonomy.taxeditor.store.datasource.CdmDataSourceCredentialsWizardPage#createDatabaseForm()
54 68
	 */

Also available in: Unified diff