ref #8631: remove nomenclatural code selection page for file import
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / io / e4 / in / ImportFromFileDataSourceWithReferenceWizardPage.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.taxeditor.io.e4.in;
11
12 import javax.inject.Inject;
13
14 import org.eclipse.swt.SWT;
15 import org.eclipse.swt.layout.GridData;
16 import org.eclipse.swt.widgets.Composite;
17 import org.eclipse.swt.widgets.Label;
18 import org.eclipse.swt.widgets.Text;
19
20 /**
21 *
22 * @author pplitzner
23 * @since Oct 5, 2017
24 *
25 */
26 public class ImportFromFileDataSourceWithReferenceWizardPage extends ImportFromFileDataSourceWizardPage {
27
28 private Text textReferenceString;
29
30 protected Text text_source;
31
32 @Inject
33 public ImportFromFileDataSourceWithReferenceWizardPage() {
34 super();
35 }
36
37 /** {@inheritDoc} */
38 @Override
39 public void createControl(Composite parent) {
40 super.createControl(parent);
41
42 Label labelRef = new Label(composite, SWT.NONE);
43 labelRef.setText("Default import source reference");
44 new Label(composite, SWT.NONE);
45 textReferenceString = new Text(composite, SWT.NONE);
46 textReferenceString.setEnabled(true);
47 textReferenceString.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, true, 1, 1));
48 new Label(composite, SWT.NONE);
49 }
50
51 public Text getTextReferenceString() {
52 return textReferenceString;
53 }
54
55 public void setTextReferenceString(Text textReferenceString) {
56 this.textReferenceString = textReferenceString;
57 }
58
59 }