Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/datasource/wizard/CdmDataSourceTypeSelectionWizardPage.java | ||
---|---|---|
33 | 33 |
import eu.etaxonomy.taxeditor.datasource.CdmDataSourceRepository; |
34 | 34 |
|
35 | 35 |
/** |
36 |
* <p>CdmDataSourceTypeSelectionWizardPage class.</p> |
|
37 |
* |
|
36 | 38 |
* @author n.hoffmann |
37 | 39 |
* @created 18.05.2009 |
38 | 40 |
* @version 1.0 |
... | ... | |
60 | 62 |
|
61 | 63 |
private CdmDataSourceCredentialsWizardPage credentialsWizardPage; |
62 | 64 |
|
65 |
/** |
|
66 |
* <p>Constructor for CdmDataSourceTypeSelectionWizardPage.</p> |
|
67 |
* |
|
68 |
* @param dataSource a {@link eu.etaxonomy.cdm.database.ICdmDataSource} object. |
|
69 |
*/ |
|
63 | 70 |
public CdmDataSourceTypeSelectionWizardPage(ICdmDataSource dataSource) { |
64 | 71 |
super("DataSourceWizardPage"); |
65 | 72 |
|
... | ... | |
73 | 80 |
/* (non-Javadoc) |
74 | 81 |
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite) |
75 | 82 |
*/ |
83 |
/** {@inheritDoc} */ |
|
76 | 84 |
public void createControl(Composite parent) { |
77 | 85 |
|
78 | 86 |
setPageComplete(false); |
... | ... | |
173 | 181 |
/* (non-Javadoc) |
174 | 182 |
* @see org.eclipse.jface.wizard.WizardPage#getNextPage() |
175 | 183 |
*/ |
184 |
/** {@inheritDoc} */ |
|
176 | 185 |
@Override |
177 | 186 |
public IWizardPage getNextPage() { |
178 | 187 |
return nextPage; |
... | ... | |
181 | 190 |
/* (non-Javadoc) |
182 | 191 |
* @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent) |
183 | 192 |
*/ |
193 |
/** {@inheritDoc} */ |
|
184 | 194 |
public void modifyText(ModifyEvent e) { |
185 | 195 |
String name = datasourceNameText.getText(); |
186 | 196 |
|
... | ... | |
201 | 211 |
/* (non-Javadoc) |
202 | 212 |
* @see org.eclipse.jface.wizard.WizardPage#canFlipToNextPage() |
203 | 213 |
*/ |
214 |
/** |
|
215 |
* <p>checkPageComplete</p> |
|
216 |
*/ |
|
204 | 217 |
public void checkPageComplete() { |
205 | 218 |
boolean complete = isDataBaseTypeSelected(); |
206 | 219 |
complete &= isDataSourceNameSet(); |
... | ... | |
209 | 222 |
} |
210 | 223 |
|
211 | 224 |
/** |
212 |
* @return |
|
225 |
* <p>Getter for the field <code>dataSourceName</code>.</p> |
|
226 |
* |
|
227 |
* @return a {@link java.lang.String} object. |
|
213 | 228 |
*/ |
214 | 229 |
public String getDataSourceName() { |
215 | 230 |
return dataSourceName; |
216 | 231 |
} |
217 | 232 |
|
218 | 233 |
/** |
234 |
* <p>Getter for the field <code>credentialsWizardPage</code>.</p> |
|
235 |
* |
|
219 | 236 |
* @return the credentialsWizardPage |
220 | 237 |
*/ |
221 | 238 |
public CdmDataSourceCredentialsWizardPage getCredentialsWizardPage() { |
... | ... | |
223 | 240 |
} |
224 | 241 |
|
225 | 242 |
/** |
243 |
* <p>isDataBaseTypeSelected</p> |
|
244 |
* |
|
226 | 245 |
* @return the dataBaseTypeSelected |
227 | 246 |
*/ |
228 | 247 |
public boolean isDataBaseTypeSelected() { |
... | ... | |
230 | 249 |
} |
231 | 250 |
|
232 | 251 |
/** |
252 |
* <p>Setter for the field <code>dataBaseTypeSelected</code>.</p> |
|
253 |
* |
|
233 | 254 |
* @param dataBaseTypeSelected the dataBaseTypeSelected to set |
234 | 255 |
*/ |
235 | 256 |
public void setDataBaseTypeSelected(boolean dataBaseTypeSelected) { |
... | ... | |
237 | 258 |
} |
238 | 259 |
|
239 | 260 |
/** |
261 |
* <p>isDataSourceNameSet</p> |
|
262 |
* |
|
240 | 263 |
* @return the dataSourceNameSet |
241 | 264 |
*/ |
242 | 265 |
public boolean isDataSourceNameSet() { |
... | ... | |
244 | 267 |
} |
245 | 268 |
|
246 | 269 |
/** |
270 |
* <p>Setter for the field <code>dataSourceNameSet</code>.</p> |
|
271 |
* |
|
247 | 272 |
* @param dataSourceNameSet the dataSourceNameSet to set |
248 | 273 |
*/ |
249 | 274 |
public void setDataSourceNameSet(boolean dataSourceNameSet) { |
... | ... | |
251 | 276 |
} |
252 | 277 |
|
253 | 278 |
/** |
279 |
* <p>Getter for the field <code>nomenclaturalCode</code>.</p> |
|
280 |
* |
|
254 | 281 |
* @return the nomenclaturalCode |
255 | 282 |
*/ |
256 | 283 |
public NomenclaturalCode getNomenclaturalCode() { |
Also available in: Unified diff
performed javacscript:fix and worked on documentation