Revision ed33cbd7
Added by Katja Luther almost 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/handler/DeleteHandler.java | ||
---|---|---|
102 | 102 |
|
103 | 103 |
// TODO use undo context specific to editor |
104 | 104 |
MediaDeletionConfigurator config = new MediaDeletionConfigurator(); |
105 |
config.setDeleteIfUsedInTaxonDescription(true); |
|
106 |
config.setOnlyRemoveFromGallery(false); |
|
105 | 107 |
|
106 | 108 |
if (!DeleteConfiguratorDialog.openConfirmWithConfigurator(config, HandlerUtil.getActiveShell(event), Messages.DeleteHandler_CONFIRM_DELETION, Messages.DeleteHandler_CONFIRM_DELETION_MESSAGE)){ |
107 | 109 |
return null; |
Also available in: Unified diff
ref #6527: change the labels for media deletion config and remove undeletable media from gallery