import eu.etaxonomy.taxeditor.datasource.CdmDataSourceRepository;
/**
+ * <p>CdmDataSourceTypeSelectionWizardPage class.</p>
+ *
* @author n.hoffmann
* @created 18.05.2009
* @version 1.0
private CdmDataSourceCredentialsWizardPage credentialsWizardPage;
+ /**
+ * <p>Constructor for CdmDataSourceTypeSelectionWizardPage.</p>
+ *
+ * @param dataSource a {@link eu.etaxonomy.cdm.database.ICdmDataSource} object.
+ */
public CdmDataSourceTypeSelectionWizardPage(ICdmDataSource dataSource) {
super("DataSourceWizardPage");
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
*/
+ /** {@inheritDoc} */
public void createControl(Composite parent) {
setPageComplete(false);
/* (non-Javadoc)
* @see org.eclipse.jface.wizard.WizardPage#getNextPage()
*/
+ /** {@inheritDoc} */
@Override
public IWizardPage getNextPage() {
return nextPage;
/* (non-Javadoc)
* @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
*/
+ /** {@inheritDoc} */
public void modifyText(ModifyEvent e) {
String name = datasourceNameText.getText();
/* (non-Javadoc)
* @see org.eclipse.jface.wizard.WizardPage#canFlipToNextPage()
*/
+ /**
+ * <p>checkPageComplete</p>
+ */
public void checkPageComplete() {
boolean complete = isDataBaseTypeSelected();
complete &= isDataSourceNameSet();
}
/**
- * @return
+ * <p>Getter for the field <code>dataSourceName</code>.</p>
+ *
+ * @return a {@link java.lang.String} object.
*/
public String getDataSourceName() {
return dataSourceName;
}
/**
+ * <p>Getter for the field <code>credentialsWizardPage</code>.</p>
+ *
* @return the credentialsWizardPage
*/
public CdmDataSourceCredentialsWizardPage getCredentialsWizardPage() {
}
/**
+ * <p>isDataBaseTypeSelected</p>
+ *
* @return the dataBaseTypeSelected
*/
public boolean isDataBaseTypeSelected() {
}
/**
+ * <p>Setter for the field <code>dataBaseTypeSelected</code>.</p>
+ *
* @param dataBaseTypeSelected the dataBaseTypeSelected to set
*/
public void setDataBaseTypeSelected(boolean dataBaseTypeSelected) {
}
/**
+ * <p>isDataSourceNameSet</p>
+ *
* @return the dataSourceNameSet
*/
public boolean isDataSourceNameSet() {
}
/**
+ * <p>Setter for the field <code>dataSourceNameSet</code>.</p>
+ *
* @param dataSourceNameSet the dataSourceNameSet to set
*/
public void setDataSourceNameSet(boolean dataSourceNameSet) {
}
/**
+ * <p>Getter for the field <code>nomenclaturalCode</code>.</p>
+ *
* @return the nomenclaturalCode
*/
public NomenclaturalCode getNomenclaturalCode() {