Project

General

Profile

Revision 8d33320b

ID8d33320bb1578570ef611020b3db6b729387ff04
Parent d74515be
Child ddecba6a

Added by Katja Luther 2 months ago

ref #9199: continue adapt editor to singleSourcedEntities

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NomenclaturalStatusElement.java
25 25
import eu.etaxonomy.taxeditor.ui.element.IEntityElement;
26 26
import eu.etaxonomy.taxeditor.ui.element.ISelectableElement;
27 27
import eu.etaxonomy.taxeditor.ui.element.SelectionArbitrator;
28
import eu.etaxonomy.taxeditor.ui.section.supplemental.AbstractReferencedEntityElement;
28
import eu.etaxonomy.taxeditor.ui.section.supplemental.AbstractSourcedEntityElement;
29 29

  
30 30
/**
31 31
 * @author n.hoffmann
32 32
 * @created Nov 5, 2009
33 33
 */
34
public class NomenclaturalStatusElement extends AbstractReferencedEntityElement<NomenclaturalStatus> implements IEntityElement<NomenclaturalStatus>, ISelectableElement{
34
public class NomenclaturalStatusElement extends AbstractSourcedEntityElement<NomenclaturalStatus> implements IEntityElement<NomenclaturalStatus>, ISelectableElement{
35 35

  
36 36
	private TermComboElement<NomenclaturalStatusType> nomenclaturalStatusTypeCombo;
37 37

  
......
119 119
			getEntity().setType(nomenclaturalStatusTypeCombo.getSelection());
120 120
		}
121 121

  
122
		else if(eventSource == selection_reference){
123
			getEntity().setCitation(selection_reference.getSelection());
124
		}
125
		else if(eventSource == text_referenceDetail){
126
			getEntity().setCitationMicroReference(text_referenceDetail.getText());
127
		}
122
//		else if(eventSource == selection_reference){
123
//			getEntity().setCitation(selection_reference.getSelection());
124
//		}
125
//		else if(eventSource == text_referenceDetail){
126
//			getEntity().setCitationMicroReference(text_referenceDetail.getText());
127
//		}
128 128
	}
129 129
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)