Project

General

Profile

« Previous | Next » 

Revision 181a8a0b

Added by Katja Luther 12 months ago

ref #10335: add UUID and id to supplemental data of termnodeDtos

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
132 132
import eu.etaxonomy.cdm.persistence.dto.AbstractTermDto;
133 133
import eu.etaxonomy.cdm.persistence.dto.AnnotationDto;
134 134
import eu.etaxonomy.cdm.persistence.dto.FeatureStateDto;
135
import eu.etaxonomy.cdm.persistence.dto.ICdmBaseDto;
135 136
import eu.etaxonomy.cdm.persistence.dto.MarkerDto;
136 137
import eu.etaxonomy.cdm.persistence.dto.TermCollectionDto;
137 138
import eu.etaxonomy.cdm.persistence.dto.TermDto;
......
355 356
import eu.etaxonomy.taxeditor.ui.section.supplemental.AnnotationDtoSection;
356 357
import eu.etaxonomy.taxeditor.ui.section.supplemental.AnnotationElement;
357 358
import eu.etaxonomy.taxeditor.ui.section.supplemental.AnnotationSection;
359
import eu.etaxonomy.taxeditor.ui.section.supplemental.CdmBaseDtoElement;
360
import eu.etaxonomy.taxeditor.ui.section.supplemental.CdmBaseDtoSection;
358 361
import eu.etaxonomy.taxeditor.ui.section.supplemental.CdmBaseElement;
359 362
import eu.etaxonomy.taxeditor.ui.section.supplemental.CdmBaseSection;
360 363
import eu.etaxonomy.taxeditor.ui.section.supplemental.CreditElement;
......
1476 1479
        return element;
1477 1480
    }
1478 1481

  
1482
    public CdmBaseDtoElement createCdmBaseDtoElement(ICdmFormElement parentElement, ICdmBaseDto entity, int style) {
1483
        CdmBaseDtoElement element = new CdmBaseDtoElement(this, parentElement, entity, style);
1484
        adapt(element);
1485
        parentElement.addElement(element);
1486
        return element;
1487
    }
1488

  
1479 1489
    public VersionSection createVersionSection(ICdmFormElement parentElement, int style) {
1480 1490
        VersionSection section = new VersionSection(this, parentElement, style);
1481 1491
        parentElement.addElement(section);
......
1489 1499
        adapt(section);
1490 1500
        return section;
1491 1501
    }
1502
    public CdmBaseDtoSection createCdmBaseDtoSection(ICdmFormElement parentElement, int style) {
1503
        CdmBaseDtoSection section = new CdmBaseDtoSection(this, parentElement, style);
1504
        parentElement.addElement(section);
1505
        adapt(section);
1506
        return section;
1507
    }
1492 1508

  
1493 1509
    public EmptyElement createEmptyElement(ICdmFormElement parentElement, String emptyText) {
1494 1510
        EmptyElement element = new EmptyElement(this, parentElement, emptyText, SWT.NULL);

Also available in: Unified diff