Revision c9fd6dd7
Added by Katja Luther over 2 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrix.java | ||
---|---|---|
112 | 112 |
import eu.etaxonomy.cdm.api.service.dto.FieldUnitDTO; |
113 | 113 |
import eu.etaxonomy.cdm.api.service.dto.RowWrapperDTO; |
114 | 114 |
import eu.etaxonomy.cdm.api.service.dto.SpecimenRowWrapperDTO; |
115 |
import eu.etaxonomy.cdm.api.service.dto.TaxonRowWrapperDTO; |
|
115 | 116 |
import eu.etaxonomy.cdm.common.monitor.IRemotingProgressMonitor; |
116 | 117 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
117 | 118 |
import eu.etaxonomy.cdm.model.description.DescriptionBase; |
... | ... | |
299 | 300 |
|
300 | 301 |
ILayerCell cell = this.natTable.getCellByPosition(col, row); |
301 | 302 |
if (cell.getConfigLabels().getLabels().contains(CharacterMatrixConfigLabelAccumulator.NOT_EDITABLE)){ |
302 |
return "More than one element available, please check in factual data view."; |
|
303 |
Object o = bodyDataProvider.getRowObject(row); |
|
304 |
String object = ""; |
|
305 |
if (o instanceof TaxonRowWrapperDTO){ |
|
306 |
object = "taxon"; |
|
307 |
}else { |
|
308 |
object = "specimen"; |
|
309 |
} |
|
310 |
|
|
311 |
return "Multiple data exist. Editing only possible in factual data view of " + object; |
|
303 | 312 |
} |
304 | 313 |
return null; |
305 | 314 |
} |
Also available in: Unified diff
ref #9816: adapt tooltip text