Project

General

Profile

« Previous | Next » 

Revision 41e2f693

Added by Cherian Mathew over 9 years ago

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

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/operation/DeleteDescriptionElementOperation.java
17 17

  
18 18
import eu.etaxonomy.cdm.model.description.DescriptionBase;
19 19
import eu.etaxonomy.cdm.model.description.DescriptionElementBase;
20
import eu.etaxonomy.taxeditor.model.MessagingUtils;
20 21
import eu.etaxonomy.taxeditor.operation.AbstractPostTaxonOperation;
21 22
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
22
import eu.etaxonomy.taxeditor.store.StoreUtil;
23 23

  
24 24
/**
25 25
 * <p>DeleteDescriptionElementOperation class.</p>
......
62 62
		
63 63
		// Remove element from description
64 64
		if (description == null) {
65
			StoreUtil.error(this.getClass(), "Couldn't find element's description!", null);
65
			MessagingUtils.error(this.getClass(), "Couldn't find element's description!", null);
66 66
		} else {
67 67
			description.removeElement(element);
68 68
		}

Also available in: Unified diff