Project

General

Profile

« Previous | Next » 

Revision 22f2d1a4

Added by Patrick Plitzner over 6 years ago

ref #6913 Remove org.eclipse.ui dependency from NavigationUtil

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyListEditor.java
47 47
import eu.etaxonomy.taxeditor.editor.key.KeyEditor;
48 48
import eu.etaxonomy.taxeditor.editor.l10n.Messages;
49 49
import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
50
import eu.etaxonomy.taxeditor.model.MessagingUtils;
51 50

  
52 51
/**
53 52
 * @author n.hoffmann
......
99 98
		        if (selectedColumn == 5) {
100 99
		            Taxon taxon = getItemTaxon(node);
101 100
		            if (taxon != null) {
102
		                try {
103
		                    EditorUtil.openTaxonBaseE4((taxon).getUuid());
104
		                } catch (PartInitException e) {
105
		                    MessagingUtils.error(getClass(), e);
106
		                }
101
		                EditorUtil.openTaxonBaseE4((taxon).getUuid());
107 102
		            }
108 103
		        }
109 104
		    }

Also available in: Unified diff