Revision 41e2f693
Added by Cherian Mathew over 9 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/annotatedlineeditor/LineAnnotationModel.java | ||
---|---|---|
26 | 26 |
import org.eclipse.jface.text.source.AnnotationModel; |
27 | 27 |
import org.eclipse.jface.text.source.AnnotationModelEvent; |
28 | 28 |
|
29 |
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditorUtil;
|
|
29 |
import eu.etaxonomy.taxeditor.model.MessagingUtils;
|
|
30 | 30 |
|
31 | 31 |
/** |
32 | 32 |
* An <code>AnnotationModel</code> which holds <code>LineAnnotation</code>'s. |
... | ... | |
181 | 181 |
* <p>printAnnotations</p> |
182 | 182 |
*/ |
183 | 183 |
public void printAnnotations() { |
184 |
Logger logger = BulkEditorUtil.getLog4JLogger(getClass());
|
|
184 |
Logger logger = MessagingUtils.getLog4JLogger(getClass());
|
|
185 | 185 |
logger.debug("------------------------"); |
186 | 186 |
logger.debug("Active annotations"); |
187 | 187 |
logger.debug("------------------------"); |
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