Revision eeaf651a
Added by Katja Luther almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ImportFromFileDataSourceWizardPage.java | ||
---|---|---|
39 | 39 |
private String[] extensions = {"*.xml"}; |
40 | 40 |
|
41 | 41 |
private FileDialog fileDialog; |
42 |
|
|
43 |
|
|
42 |
private Text textReferenceString; |
|
44 | 43 |
|
45 | 44 |
protected ImportFromFileDataSourceWizardPage(String title, String description, String[] extensions) { |
46 | 45 |
super(PAGE_NAME); |
... | ... | |
95 | 94 |
|
96 | 95 |
}); |
97 | 96 |
|
98 |
|
|
97 |
Label labelRef = new Label(composite, SWT.NONE); |
|
98 |
labelRef.setText("Default import souce reference"); |
|
99 |
labelRef.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false, 3, 1)); |
|
100 |
textReferenceString = new Text(composite, SWT.NONE); |
|
101 |
textReferenceString.setEnabled(true); |
|
102 |
GridData gd_textReferenceString = new GridData(SWT.LEFT, SWT.CENTER, true, true, 3, 1); |
|
103 |
gd_textReferenceString.widthHint = 229; |
|
104 |
textReferenceString.setLayoutData(gd_textReferenceString); |
|
99 | 105 |
setControl(composite); |
100 | 106 |
} |
101 | 107 |
|
102 | 108 |
public File getFile() { |
103 | 109 |
return new File(text_source.getText()); |
104 | 110 |
} |
111 |
|
|
112 |
public Text getTextReferenceString() { |
|
113 |
return textReferenceString; |
|
114 |
} |
|
115 |
|
|
116 |
public void setTextReferenceString(Text textReferenceString) { |
|
117 |
this.textReferenceString = textReferenceString; |
|
118 |
} |
|
119 |
|
|
105 | 120 |
|
106 | 121 |
@Override |
107 | 122 |
public URI getUri() { |
Also available in: Unified diff
ref #6390: fix display of misapplied names in name editor