Project

General

Profile

« Previous | Next » 

Revision b9a0d300

Added by Lorna Morris over 12 years ago

Committing changes to definedtermeditor after merge from branch

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NomenclaturalStatusElement.java
14 14

  
15 15
import eu.etaxonomy.cdm.model.name.NomenclaturalStatus;
16 16
import eu.etaxonomy.cdm.model.name.NomenclaturalStatusType;
17
import eu.etaxonomy.taxeditor.ui.combo.TermComboElement;
17 18
import eu.etaxonomy.taxeditor.ui.forms.AbstractFormSection;
18 19
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
19 20
import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
......
21 22
import eu.etaxonomy.taxeditor.ui.forms.ISelectableElement;
22 23
import eu.etaxonomy.taxeditor.ui.forms.SelectionArbitrator;
23 24
import eu.etaxonomy.taxeditor.ui.forms.TextWithLabelElement;
24
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory.TermComboType;
25 25
import eu.etaxonomy.taxeditor.ui.section.supplemental.AbstractReferencedEntityElement;
26
import eu.etaxonomy.taxeditor.ui.term.AbstractTermComboElement;
27 26

  
28 27
/**
29 28
 * <p>NomenclaturalStatusElement class.</p>
......
34 33
 */
35 34
public class NomenclaturalStatusElement extends AbstractReferencedEntityElement<NomenclaturalStatus> implements IEntityElement<NomenclaturalStatus>, ISelectableElement{
36 35

  
37
	private AbstractTermComboElement<NomenclaturalStatusType> nomenclaturalStatusTypeCombo;
36
	private TermComboElement<NomenclaturalStatusType> nomenclaturalStatusTypeCombo;
38 37
	
39 38
	private TextWithLabelElement ruleConsideredText;
40 39
	
......
61 60
	/** {@inheritDoc} */
62 61
	@Override
63 62
	public void createControls(ICdmFormElement element, int style) {
64
		nomenclaturalStatusTypeCombo = formFactory.createTermComboElement(TermComboType.NOMENCLATURALSTATUSTYPE, this, "Nomenclatural Status Type", null, style);
63
		nomenclaturalStatusTypeCombo = formFactory.createTermComboElement(NomenclaturalStatusType.class, this, "Nomenclatural Status Type", null, style);
65 64
		ruleConsideredText = formFactory.createTextWithLabelElement(this, "Rule Considered", "", style);
66 65
		
67 66
		super.createControls(element, style);

Also available in: Unified diff