*/
@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;