Project

General

Profile

« Previous | Next » 

Revision 08ef23e2

Added by Katja Luther almost 6 years ago

adapt non-editable part of proparte/partial synonyms in name editor and adapt icons

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsViewerE4.java
56 56
import eu.etaxonomy.cdm.model.reference.Reference;
57 57
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
58 58
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
59
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
60 59
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
61 60
import eu.etaxonomy.taxeditor.editor.IDistributionEditor;
62 61
import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants;
......
356 355
        } else if (input instanceof Group) {
357 356
            createGroupSection(rootElement);
358 357
        } else if (input instanceof TaxonRelationship && ((TaxonRelationship)input).getType()!=null
359
                && (((TaxonRelationship)input).getType().isAnyMisappliedName() || ((TaxonRelationship)input).getType().equals(TaxonRelationshipType.PRO_PARTE_SYNONYM_FOR()))) {
358
                && (((TaxonRelationship)input).getType().isAnyMisappliedName() || ((TaxonRelationship)input).getType().isAnySynonym())){
360 359
            createMisappliedNameSection(rootElement);
361 360
        }else if (input instanceof TaxonRelationship ) {
362 361
            createTaxonRelationshipSection(rootElement);

Also available in: Unified diff