Revision 23783f7a
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/user/UserDetailWizardPage.java | ||
---|---|---|
9 | 9 |
import eu.etaxonomy.cdm.model.common.User; |
10 | 10 |
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage; |
11 | 11 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
12 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
|
13 | 12 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.DetailType; |
13 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
|
14 | 14 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement; |
15 | 15 |
|
16 | 16 |
/** |
... | ... | |
29 | 29 |
* @see eu.etaxonomy.taxeditor.ui.forms.AbstractCdmEntityWizardPage#createElement(eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement) |
30 | 30 |
*/ |
31 | 31 |
@Override |
32 |
public AbstractCdmDetailElement createElement(ICdmFormElement rootElement) { |
|
32 |
public AbstractCdmDetailElement<User> createElement(ICdmFormElement rootElement) {
|
|
33 | 33 |
UserDetailElement userElement = (UserDetailElement) formFactory.createCdmDetailElement(DetailType.USER, rootElement, SWT.NULL); |
34 | 34 |
userElement.setEntity(getEntity()); |
35 | 35 |
return userElement; |
Also available in: Unified diff
Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)