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.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/ProtologueElement.java
22 22
import eu.etaxonomy.cdm.model.media.MediaRepresentationPart;
23 23
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
24 24
import eu.etaxonomy.cdm.model.reference.Reference;
25
import eu.etaxonomy.taxeditor.store.StoreUtil;
25
import eu.etaxonomy.taxeditor.model.MessagingUtils;
26 26
import eu.etaxonomy.taxeditor.ui.element.AbstractFormSection;
27 27
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
28 28
import eu.etaxonomy.taxeditor.ui.element.CdmPropertyChangeEvent;
......
127 127
			try {
128 128
				mediaRepresentationPart.setUri(new URI(protologueUriText.getText()));
129 129
			} catch (URISyntaxException e) {
130
				StoreUtil.warningDialog("Could not parse URI", getClass(), e.getMessage());
130
				MessagingUtils.warningDialog("Could not parse URI", getClass(), e.getMessage());
131 131
			}
132 132
		}	
133 133
	}

Also available in: Unified diff