1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2013 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
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.
|
9
|
*/
|
10
|
package eu.etaxonomy.taxeditor.dataimport;
|
11
|
|
12
|
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
|
13
|
import eu.etaxonomy.taxeditor.annotatedlineeditor.AnnotatedLineEditor;
|
14
|
|
15
|
/**
|
16
|
* @author pplitzner
|
17
|
* @date 20.09.2013
|
18
|
*
|
19
|
*/
|
20
|
public class DataImportEditor extends AnnotatedLineEditor {
|
21
|
|
22
|
/** Constant <code>ID="bulkeditor.input.nameRelationship"</code> */
|
23
|
public static final String ID = "eu.etaxonomy.taxeditor.dataimport.DataImportEditor";
|
24
|
|
25
|
/**
|
26
|
* Constructs a new DataImportEditor with a new {@link ConversationHolder}
|
27
|
*/
|
28
|
public DataImportEditor() {
|
29
|
super(null);
|
30
|
}
|
31
|
|
32
|
/* (non-Javadoc)
|
33
|
* @see org.eclipse.ui.editors.text.TextEditor#initializeEditor()
|
34
|
*/
|
35
|
/** {@inheritDoc} */
|
36
|
@Override
|
37
|
protected void initializeEditor() {
|
38
|
super.initializeEditor();
|
39
|
String editorTitle = "Data Import Editor";
|
40
|
setPartName(editorTitle);
|
41
|
setTitleToolTip(editorTitle);
|
42
|
setLineDisplayStrategy(new DataImportEditorLineDisplayStrategy());
|
43
|
}
|
44
|
|
45
|
}
|