Project

General

Profile

« Previous | Next » 

Revision 30c956e4

Added by Katja Luther about 6 years ago

smaller changes for updating editor when changing taxon in misapplied name relationship

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonRelationshipDetailElement.java
55 55

  
56 56
	private TaxonDetailSection taxonElement;
57 57

  
58
	public TaxonRelationshipDetailElement(CdmFormFactory formFactory,
58
	public TaxonDetailSection getTaxonElement() {
59
        return taxonElement;
60
    }
61

  
62
    public TaxonRelationshipDetailElement(CdmFormFactory formFactory,
59 63
			ICdmFormElement formElement) {
60 64
		super(formFactory, formElement);
61 65
	}
......
123 127

  
124 128
	@Override
125 129
	public void handleEvent(Object eventSource) {
126
		if (getEntity().getType().isMisappliedNameOrInvalidDesignation()){
130
		if (getEntity().getType().isAnyMisappliedName()){
127 131
			 if (eventSource == secReference) {
128 132
				getEntity().setCitation(secReference.getSelection());
129 133
			} else if (eventSource == text_secundum_microreference) {
......
182 186

  
183 187
	}
184 188

  
189

  
190

  
185 191
}

Also available in: Unified diff