Revision 41e2f693
Added by Cherian Mathew over 9 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/SynonymRelationshipDetailElement.java | ||
---|---|---|
14 | 14 |
|
15 | 15 |
import eu.etaxonomy.cdm.model.taxon.SynonymRelationship; |
16 | 16 |
import eu.etaxonomy.cdm.model.taxon.SynonymRelationshipType; |
17 |
import eu.etaxonomy.taxeditor.model.AbstractUtility;
|
|
17 |
import eu.etaxonomy.taxeditor.model.MessagingUtils;
|
|
18 | 18 |
import eu.etaxonomy.taxeditor.ui.combo.TermComboElement; |
19 | 19 |
import eu.etaxonomy.taxeditor.ui.element.AbstractFormSection; |
20 | 20 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
... | ... | |
86 | 86 |
getEntity().setType(combo_relationshipType.getSelection()); |
87 | 87 |
} |
88 | 88 |
else if(eventSource == selection_toName){ |
89 |
AbstractUtility.error(getClass(), "No API call available.", null);
|
|
89 |
MessagingUtils.error(getClass(), "No API call available.", null);
|
|
90 | 90 |
} |
91 | 91 |
else if(eventSource == checkPartial){ |
92 | 92 |
getEntity().setPartial(checkPartial.getSelection()); |
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