Project

General

Profile

« Previous | Next » 

Revision 23783f7a

Added by Niels Hoffmann about 12 years ago

Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/GeneralWizardPage.java
16 16
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
17 17
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage;
18 18
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
19
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
20 19
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.DetailType;
20
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
21 21
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
22 22

  
23 23
/**
......
50 50
	 * @see eu.etaxonomy.taxeditor.forms.AbstractCdmEntityWizardPage#createElement(eu.etaxonomy.taxeditor.forms.ICdmFormElement)
51 51
	 */
52 52
	@Override
53
	public AbstractCdmDetailElement createElement(ICdmFormElement rootElement) {
53
	public AbstractCdmDetailElement<DerivedUnitFacade> createElement(ICdmFormElement rootElement) {
54 54
		GeneralDetailElement detailElement = (GeneralDetailElement) formFactory.createCdmDetailElement(DetailType.DERIVED_UNIT_GENERAL, rootElement, SWT.NULL);
55 55
		detailElement.setEntity(getEntity());
56 56
		checkComplete();

Also available in: Unified diff