Revision 22f2d1a4
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyListItem.java | ||
---|---|---|
16 | 16 |
import org.eclipse.swt.widgets.Composite; |
17 | 17 |
import org.eclipse.swt.widgets.Label; |
18 | 18 |
import org.eclipse.swt.widgets.Link; |
19 |
import org.eclipse.ui.PartInitException; |
|
20 | 19 |
import org.eclipse.ui.PlatformUI; |
21 | 20 |
import org.eclipse.ui.forms.IFormPart; |
22 | 21 |
import org.eclipse.ui.forms.IManagedForm; |
... | ... | |
98 | 97 |
Object data = e.widget.getData(); |
99 | 98 |
|
100 | 99 |
if (data instanceof Taxon) { |
101 |
try { |
|
102 |
EditorUtil.openTaxonBaseE4(((Taxon) data).getUuid()); |
|
103 |
} catch (PartInitException e1) { |
|
104 |
// TODO Auto-generated catch block |
|
105 |
e1.printStackTrace(); |
|
106 |
} |
|
100 |
EditorUtil.openTaxonBaseE4(((Taxon) data).getUuid()); |
|
107 | 101 |
} |
108 | 102 |
} |
109 | 103 |
}; |
Also available in: Unified diff
ref #6913 Remove org.eclipse.ui dependency from NavigationUtil