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/DescriptionElementDropAdapter.java
22 22
import eu.etaxonomy.cdm.model.description.TaxonDescription;
23 23
import eu.etaxonomy.taxeditor.editor.EditorUtil;
24 24
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.MoveDescriptionElementsOperation;
25
import eu.etaxonomy.taxeditor.model.MessagingUtils;
25 26
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
26
import eu.etaxonomy.taxeditor.store.StoreUtil;
27 27

  
28 28
/**
29 29
 * @author n.hoffmann
......
54 54
		// cannot drop a feature node onto itself
55 55
		for (Object droppedElement : droppedElements) {			
56 56
			if (droppedElement == null){
57
				StoreUtil.warningDialog("Operation not supported yet", this, "We are currently unable to drag and drop a newly created element. Please save the editor to make this work.");
57
				MessagingUtils.warningDialog("Operation not supported yet", this, "We are currently unable to drag and drop a newly created element. Please save the editor to make this work.");
58 58
				return false;
59 59
			}
60 60
			if(! (droppedElement instanceof DescriptionElementBase)){

Also available in: Unified diff