Revision b9a0d300
Added by Lorna Morris about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerElement.java | ||
---|---|---|
7 | 7 |
|
8 | 8 |
import eu.etaxonomy.cdm.model.common.Marker; |
9 | 9 |
import eu.etaxonomy.cdm.model.common.MarkerType; |
10 |
import eu.etaxonomy.taxeditor.ui.combo.TermComboElement; |
|
10 | 11 |
import eu.etaxonomy.taxeditor.ui.forms.AbstractFormSection; |
11 | 12 |
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory; |
12 | 13 |
import eu.etaxonomy.taxeditor.ui.forms.CheckboxElement; |
13 | 14 |
import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement; |
14 |
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory.TermComboType; |
|
15 | 15 |
import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement; |
16 |
import eu.etaxonomy.taxeditor.ui.term.AbstractTermComboElement; |
|
17 | 16 |
|
18 | 17 |
/** |
19 | 18 |
* <p>MarkerElement class.</p> |
... | ... | |
38 | 37 |
super(cdmFormFactory, formElement, element, removeListener, null, style); |
39 | 38 |
} |
40 | 39 |
|
41 |
private AbstractTermComboElement<MarkerType> combo_markerType;
|
|
40 |
private TermComboElement<MarkerType> combo_markerType; |
|
42 | 41 |
private CheckboxElement checkbox_markerState; |
43 | 42 |
|
44 | 43 |
|
... | ... | |
49 | 48 |
@Override |
50 | 49 |
public void createControls(ICdmFormElement element, int style) { |
51 | 50 |
checkbox_markerState = formFactory.createCheckbox(this, null, false, style); |
52 |
combo_markerType = formFactory.createTermComboElement(TermComboType.MARKERTYPE, this, null, null, style);
|
|
51 |
combo_markerType = formFactory.createTermComboElement(MarkerType.class, this, null, null, style);
|
|
53 | 52 |
} |
54 | 53 |
|
55 | 54 |
/* (non-Javadoc) |
Also available in: Unified diff
Committing changes to definedtermeditor after merge from branch