ref #6913 Remove alignment editor
[taxeditor.git] / eu.etaxonomy.taxeditor.molecular / src / main / java / eu / etaxonomy / taxeditor / molecular / editor / e4 / handler / ShowPherogramHandlerE4.java
index 9ce073f7a6d9b4e25295769e6c022f6dcea44fec..acd421205c207cc01af57591b66abd9a229864a2 100644 (file)
@@ -19,8 +19,7 @@ import eu.etaxonomy.cdm.model.media.MediaUtils;
 import eu.etaxonomy.cdm.model.molecular.SingleRead;
 import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.molecular.TaxeditorMolecularPlugin;
-import eu.etaxonomy.taxeditor.molecular.editor.AlignmentEditor;
-import eu.etaxonomy.taxeditor.molecular.editor.PherogramViewPart;
+import eu.etaxonomy.taxeditor.molecular.editor.e4.AlignmentEditorE4;
 import eu.etaxonomy.taxeditor.molecular.editor.e4.PherogramPartE4;
 import eu.etaxonomy.taxeditor.molecular.l10n.Messages;
 import info.bioinfweb.libralign.pherogram.model.PherogramComponentModel;
@@ -28,7 +27,7 @@ import info.bioinfweb.libralign.pherogram.model.PherogramComponentModel;
 
 
 /**
- * Displays an undistorted pherogram with {@link PherogramViewPart}.
+ * Displays an undistorted pherogram with {@link PherogramPartE4}.
  *
  * @author Ben Stöver
  */
@@ -54,7 +53,7 @@ public class ShowPherogramHandlerE4 {
                                MPart part = partService.createPart(eu.etaxonomy.taxeditor.molecular.AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_MOLECULAR_EDITOR_E4_PHEROGRAMPARTE4);
                                part = partService.showPart(part, PartState.ACTIVATE);
                                PherogramPartE4 pherogramPart = (PherogramPartE4) part.getObject();
-                               pherogramPart.init(new PherogramComponentModel(AlignmentEditor.readPherogram(uri)));
+                               pherogramPart.init(new PherogramComponentModel(AlignmentEditorE4.readPherogram(uri)));
                            }
                        }
                catch (Exception e) {