Revision 41e2f693
Added by Cherian Mathew over 9 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementDetailSection.java | ||
---|---|---|
19 | 19 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
20 | 20 |
import eu.etaxonomy.cdm.model.description.DescriptionElementBase; |
21 | 21 |
import eu.etaxonomy.cdm.model.description.TextData; |
22 |
import eu.etaxonomy.taxeditor.model.MessagingUtils; |
|
22 | 23 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
23 | 24 |
import eu.etaxonomy.taxeditor.store.StoreUtil; |
24 | 25 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
... | ... | |
70 | 71 |
*/ |
71 | 72 |
@Override |
72 | 73 |
public void run() { |
73 |
boolean confirmed = StoreUtil.confirmDialog("Confirmation", "Do you really want to change to "
|
|
74 |
boolean confirmed = MessagingUtils.confirmDialog("Confirmation", "Do you really want to change to "
|
|
74 | 75 |
+ destinationString + "? Current data will be lost."); |
75 | 76 |
if (confirmed) { |
76 | 77 |
// FIXME |
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