Revision 41e2f693
Added by Cherian Mathew over 9 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/handler/MoveDescriptionElementsHandler.java | ||
---|---|---|
34 | 34 |
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart; |
35 | 35 |
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.MoveDescriptionElementsOperation; |
36 | 36 |
import eu.etaxonomy.taxeditor.model.FeatureNodeContainer; |
37 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
|
37 | 38 |
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation; |
38 | 39 |
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled; |
39 | 40 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
... | ... | |
104 | 105 |
CdmStore.getService(ITaxonService.class).saveOrUpdate(targetTaxon); |
105 | 106 |
|
106 | 107 |
} catch (NotDefinedException e) { |
107 |
EditorUtil.error(getClass(), e);
|
|
108 |
MessagingUtils.error(getClass(), e);
|
|
108 | 109 |
} |
109 | 110 |
} |
110 | 111 |
|
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