Revision 231c6260
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/handler/DeleteHandlerE4.java | ||
---|---|---|
87 | 87 |
@Named(IServiceConstants.ACTIVE_PART)MPart activePart, |
88 | 88 |
@Named(IServiceConstants.ACTIVE_SHELL)Shell shell) { |
89 | 89 |
|
90 |
boolean delete = MessageDialog.openQuestion(null, |
|
91 |
"Really delete", "Do you really want to delete the selected element?"); |
|
92 |
if (!delete) { |
|
93 |
return ; |
|
94 |
} |
|
95 |
|
|
90 | 96 |
BulkEditorE4 editor= (BulkEditorE4) activePart.getObject(); |
91 | 97 |
|
92 | 98 |
DeleteConfiguratorBase config = null; |
Also available in: Unified diff
ref #6932 Ask before permanent delete