Project

General

Profile

Download (1.44 KB) Statistics
| Branch: | Tag: | Revision:
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
 * @author pplitzner
22
 * @since Oct 5, 2017
23
 */
24
public class ImportFromFileDataSourceWithReferenceWizardPage extends ImportFromFileDataSourceWizardPage {
25

    
26
	private Text textReferenceString;
27

    
28
    @Inject
29
	public ImportFromFileDataSourceWithReferenceWizardPage() {
30
        super();
31
	}
32

    
33
	@Override
34
    public void createControl(Composite parent) {
35
		super.createControl(parent);
36

    
37
		Label labelRef = new Label(composite, SWT.NONE);
38
		labelRef.setText("Default import source reference");
39
        new Label(composite, SWT.NONE);
40
        textReferenceString = new Text(composite, SWT.NONE);
41
        textReferenceString.setEnabled(true);
42
        textReferenceString.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, true, 1, 1));
43
		new Label(composite, SWT.NONE);
44
	}
45

    
46
	public Text getTextReferenceString() {
47
		return textReferenceString;
48
	}
49

    
50
	public void setTextReferenceString(Text textReferenceString) {
51
		this.textReferenceString = textReferenceString;
52
	}
53
}
(5-5/7)