3 * Copyright (C) 2013 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.dataimport
;
12 import org
.eclipse
.core
.runtime
.CoreException
;
13 import org
.eclipse
.ui
.IEditorInput
;
15 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
16 import eu
.etaxonomy
.taxeditor
.annotatedlineeditor
.AnnotatedLineEditor
;
23 public class DataImportEditor
extends AnnotatedLineEditor
{
25 /** Constant <code>ID="bulkeditor.input.nameRelationship"</code> */
26 public static final String ID
= "eu.etaxonomy.taxeditor.dataimport.DataImportEditor";
29 * Constructs a new DataImportEditor with a new {@link ConversationHolder}
31 public DataImportEditor() {
36 * @see org.eclipse.ui.editors.text.TextEditor#initializeEditor()
40 protected void initializeEditor() {
41 super.initializeEditor();
42 setLineDisplayStrategy(new DataImportEditorLineDisplayStrategy());
46 * @see eu.etaxonomy.taxeditor.annotatedlineeditor.AnnotatedLineEditor#doSetInput(org.eclipse.ui.IEditorInput)
49 protected void doSetInput(IEditorInput input
) throws CoreException
{
50 super.doSetInput(input
);
51 setPartName(input
.getName());
52 setTitleToolTip(input
.getName());