Revision 2b50eebb
Added by Andreas Müller about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/CurrentSampleDesignationDetailSection.java | ||
---|---|---|
40 | 40 |
internalUpdateSection(false); |
41 | 41 |
} |
42 | 42 |
|
43 |
/* (non-Javadoc) |
|
44 |
* @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection#getCollection(java.lang.Object) |
|
45 |
*/ |
|
46 | 43 |
@Override |
47 | 44 |
public Collection<Identifier> getCollection(IdentifiableEntity<?> entity) { |
48 | 45 |
Identifier currentSampleDesignation = DerivateLabelProvider.getCurrentSampleDesignation(entity); |
... | ... | |
59 | 56 |
return new DefaultCdmBaseComparator<>(); |
60 | 57 |
} |
61 | 58 |
|
62 |
/* (non-Javadoc) |
|
63 |
* @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#getTooltipString() |
|
64 |
*/ |
|
65 | 59 |
/** {@inheritDoc} */ |
66 | 60 |
@Override |
67 | 61 |
protected String getTooltipString() { |
68 | 62 |
return "Create new current sample designation"; |
69 | 63 |
} |
70 | 64 |
|
71 |
/* (non-Javadoc) |
|
72 |
* @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#addElement(eu.etaxonomy.cdm.model.common.IVersionableEntity) |
|
73 |
*/ |
|
74 | 65 |
/** {@inheritDoc} */ |
75 | 66 |
@Override |
76 | 67 |
public void addElement(Identifier sampleDesignation) { |
Also available in: Unified diff
cleanup