/**
+ * <p>Abstract CdmDataSourceCredentialsWizardPage class.</p>
+ *
* @author n.hoffmann
* @created 19.05.2009
* @version 1.0
protected NomenclaturalCode nomenclaturalCode;
/**
- * @param pageName
+ * <p>Constructor for CdmDataSourceCredentialsWizardPage.</p>
+ *
+ * @param pageName a {@link java.lang.String} object.
*/
protected CdmDataSourceCredentialsWizardPage(String pageName) {
super(pageName);
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
*/
+ /** {@inheritDoc} */
public void createControl(Composite parent) {
this.parent = parent;
init();
}
+ /**
+ * <p>createAuthenticationForm</p>
+ */
protected void createAuthenticationForm(){
// Create group composite for authentication data
authenticationGroup = new Group(composite, SWT.NONE);
/**
- * Tries to open a connection to the given dataSource. Generates a message on either
- * failure or success
- *
- * @param dataSource
+ * Tries to open a connection to the given dataSource. Generates a message on either
+ * failure or success
*/
public void testDbConfiguration(){
try{
*/
public abstract void createDatabaseForm();
+ /**
+ * <p>updateLocation</p>
+ */
public abstract void updateLocation();
+ /**
+ * <p>updateDataSource</p>
+ */
public abstract void updateDataSource();
+ /**
+ * <p>checkPageComplete</p>
+ */
public void checkPageComplete(){
boolean complete = database.length() != 0;
// complete &= username.length() != 0;
}
/**
- * Initialize text fields
+ * Initialize text fields
*/
public void init() {
if(getDataSource() != null){
/* (non-Javadoc)
* @see org.eclipse.jface.wizard.WizardPage#getNextPage()
*/
+ /** {@inheritDoc} */
@Override
public IWizardPage getNextPage() {
return null;
}
/**
+ * <p>Setter for the field <code>dataSource</code>.</p>
+ *
* @param dataSource the dataSource to set
*/
public void setDataSource(ICdmDataSource dataSource) {
}
/**
+ * <p>Getter for the field <code>dataSource</code>.</p>
+ *
* @return the dataSource
*/
public ICdmDataSource getDataSource() {
}
/**
- * @return
+ * <p>getDataSourceName</p>
+ *
+ * @return a {@link java.lang.String} object.
*/
public String getDataSourceName() {
if(dataSource instanceof CdmPersistentDataSource){
/* (non-Javadoc)
* @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
*/
+ /** {@inheritDoc} */
public void modifyText(ModifyEvent e) {
updateLocation();
updateAuthentication();
}
/**
- *
- * @param text
- * @param listener
- * @param string
+ * <p>modifyTextWithoutTriggeringListeners</p>
+ *
+ * @param text a {@link org.eclipse.swt.widgets.Text} object.
+ * @param listener a {@link org.eclipse.swt.events.ModifyListener} object.
+ * @param string a {@link java.lang.String} object.
*/
protected void modifyTextWithoutTriggeringListeners(Text text, ModifyListener listener, String string){
text.removeModifyListener(listener);