Revision 8d9c5176
Added by Patrick Plitzner almost 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixBottomToolbar.java | ||
---|---|---|
119 | 119 |
toRemove.add((RowWrapperDTO) rowObject); |
120 | 120 |
} |
121 | 121 |
} |
122 |
toRemove.forEach(rowToRemove->{
|
|
122 |
toRemove.forEach(rowToRemove -> {
|
|
123 | 123 |
matrix.getDescriptions().remove(rowToRemove); |
124 |
matrix.getDescriptiveDataSet().removeDescription(rowToRemove.getDescription());
|
|
125 |
matrix.setDirty();
|
|
124 |
CdmStore.getService(IDescriptiveDataSetService.class).removeDescription(
|
|
125 |
rowToRemove.getDescription().getUuid(), matrix.getDescriptiveDataSet().getUuid());
|
|
126 | 126 |
}); |
127 | 127 |
} |
128 | 128 |
}); |
Also available in: Unified diff
ref #7589 Move description deletion to service layer