Initial implementation of CDM data reading and writing in AlignmentEditor.
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / handler / OpenAlignmentEditor.java
index 5fb415c8e9a875320c3a476dd5998992af99aa66..69c9d3456ff41dbea7afc005ccf5701f7d0f4ebf 100644 (file)
@@ -34,10 +34,11 @@ public class OpenAlignmentEditor extends AbstractHandler {
      */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
-        AlignmentEditorInput input = new AlignmentEditorInput();
+        AlignmentEditorInput input = new AlignmentEditorInput(null);  //TODO Does it make sense to start an empty editor?
         try {
             EditorUtil.open(input);
-        } catch (PartInitException e) {
+        } 
+        catch (PartInitException e) {
             MessagingUtils.error(OpenAlignmentEditor.class, "Could not open AlignmentEditor", e);
         }
         return null;