Revision c42c7bec
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/matrix/CharacterMatrix.java | ||
---|---|---|
293 | 293 |
//register quantitative editor |
294 | 294 |
configRegistry.registerConfigAttribute( |
295 | 295 |
EditConfigAttributes.CELL_EDITOR, |
296 |
new QuantitativeDataCellEditor(feature.getRecommendedStatisticalMeasures()), |
|
296 |
new QuantitativeDataCellEditor(feature.getRecommendedStatisticalMeasures(), this),
|
|
297 | 297 |
DisplayMode.EDIT, |
298 | 298 |
getProperty(feature)); |
299 | 299 |
} |
... | ... | |
320 | 320 |
} |
321 | 321 |
return states; |
322 | 322 |
} |
323 |
}, 5); |
|
323 |
}, 5, this);
|
|
324 | 324 |
//register editor |
325 | 325 |
configRegistry.registerConfigAttribute(EditConfigAttributes.CELL_EDITOR, |
326 | 326 |
comboBoxCellEditor, |
... | ... | |
350 | 350 |
return feature.getLabel(); |
351 | 351 |
} |
352 | 352 |
|
353 |
public void setDirty() { |
|
354 |
this.dirty.setDirty(true); |
|
355 |
} |
|
356 |
|
|
353 | 357 |
@Persist |
354 | 358 |
@Override |
355 | 359 |
public void save(IProgressMonitor monitor) { |
Also available in: Unified diff
ref #7095 Handle dirty state of character matrix when editing