X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/52198e036c623ac9913d3af540774ac1bb6122fd..a9f32ef0d94675a7ebc7160dcef25cff8a3b3a15:/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerSection.java diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerSection.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerSection.java index ffc3f10a2..9d7dba456 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerSection.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/supplemental/MarkerSection.java @@ -1,6 +1,3 @@ -/** - * - */ package eu.etaxonomy.taxeditor.ui.section.supplemental; import java.util.Collection; @@ -8,9 +5,9 @@ import java.util.Collection; import eu.etaxonomy.cdm.api.conversation.ConversationHolder; import eu.etaxonomy.cdm.model.common.AnnotatableEntity; import eu.etaxonomy.cdm.model.common.Marker; -import eu.etaxonomy.taxeditor.ui.campanula.compatibility.ICdmFormElement; import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; -import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection; +import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; +import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AbstractUnboundEntityCollectionSection; /** *

MarkerSection class.

@@ -18,7 +15,7 @@ import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection; * @author nho * @version $Id: $ */ -public class MarkerSection extends AbstractEntityCollectionSection { +public class MarkerSection extends AbstractUnboundEntityCollectionSection { /** *

Constructor for MarkerSection.

@@ -38,12 +35,6 @@ public class MarkerSection extends AbstractEntityCollectionSection getCollection(AnnotatableEntity entity) { - return entity.getMarkers(); - } - /** {@inheritDoc} */ @Override public String getEmptyString() { @@ -68,4 +59,9 @@ public class MarkerSection extends AbstractEntityCollectionSection getEntityCollection(AnnotatableEntity entity) { + return entity.getMarkers(); + } + }