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/e4/PolytomousKeyListEditorE4.java
34 34
import org.eclipse.swt.widgets.Composite;
35 35
import org.eclipse.swt.widgets.Table;
36 36
import org.eclipse.swt.widgets.TableItem;
37
import org.eclipse.ui.PartInitException;
38 37

  
39 38
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
40 39
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled;
......
54 53
import eu.etaxonomy.taxeditor.model.DataChangeBridge;
55 54
import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
56 55
import eu.etaxonomy.taxeditor.model.IPartContentHasDetails;
57
import eu.etaxonomy.taxeditor.model.MessagingUtils;
58 56
import eu.etaxonomy.taxeditor.workbench.part.IE4SavablePart;
59 57

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

Also available in: Unified diff