Revision 4d745c9e
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/graph/e4/ConceptGraphViewE4.java | ||
---|---|---|
11 | 11 |
import org.eclipse.jface.viewers.Viewer; |
12 | 12 |
import org.eclipse.swt.SWT; |
13 | 13 |
import org.eclipse.swt.widgets.Composite; |
14 |
import org.eclipse.ui.IEditorInput; |
|
15 | 14 |
import org.eclipse.zest.core.viewers.GraphViewer; |
16 | 15 |
import org.eclipse.zest.core.widgets.ZestStyles; |
17 | 16 |
import org.eclipse.zest.layouts.LayoutAlgorithm; |
... | ... | |
19 | 18 |
import org.eclipse.zest.layouts.algorithms.TreeLayoutAlgorithm; |
20 | 19 |
|
21 | 20 |
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor; |
21 |
import eu.etaxonomy.taxeditor.editor.e4.TaxonEditorInputE4; |
|
22 | 22 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
23 | 23 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4; |
24 | 24 |
import eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphContentProvider; |
... | ... | |
71 | 71 |
|
72 | 72 |
|
73 | 73 |
if(partObject instanceof TaxonNameEditorE4){ |
74 |
IEditorInput input = ((TaxonNameEditorE4) partObject).getEditorInput();
|
|
74 |
TaxonEditorInputE4 input = ((TaxonNameEditorE4) partObject).getEditorInput();
|
|
75 | 75 |
showViewer(new StructuredSelection(input), activePart, viewer); |
76 | 76 |
} |
77 | 77 |
|
Also available in: Unified diff
ref #6913 Remove IEditorInput dependency from taxon editor input