Revision 41e2f693
Added by Cherian Mathew over 9 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/dnd/NameEditorDropTargetListener.java | ||
---|---|---|
24 | 24 |
import eu.etaxonomy.taxeditor.editor.name.operation.ChangeConceptToSynonymOperation; |
25 | 25 |
import eu.etaxonomy.taxeditor.editor.name.operation.ChangeHomotypicGroupOperation; |
26 | 26 |
import eu.etaxonomy.taxeditor.editor.name.operation.ChangeSynonymToMisapplicationOperation; |
27 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
|
27 | 28 |
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation; |
28 | 29 |
|
29 | 30 |
/** |
... | ... | |
77 | 78 |
|
78 | 79 |
// Execute operation if it has been initiated |
79 | 80 |
if (operation == null) { |
80 |
EditorUtil.warn(getClass(), "User unsuccessfully tried to drop: " + taxonBase.getClass() +
|
|
81 |
MessagingUtils.warn(getClass(), "User unsuccessfully tried to drop: " + taxonBase.getClass() +
|
|
81 | 82 |
". Target: " + target); |
82 | 83 |
dropTargetEvent.detail = DND.DROP_NONE; |
83 | 84 |
} else { |
Also available in: Unified diff
Moved all logging and dialog functionality to the new class MessagingUtils.
Refactoring code to adapt to above change.
Added new custom error dialog - CdmErrorDialog
Added runtime exception handling to the ApplicationWorkbenchAdvisor by adding a custom status handler