public static final String SDD_EXPORT = "SDD_EXPORT";
public static final String DWCA_EXPORT = "DWCA_EXPORT";
- public static final String WFO_EXPORT = "WFO_EXPORT";
+ public static final String WFO_BACKBONE_EXPORT = "WFO_BACKBONE_EXPORT";
public static final String CDM_LIGHT_EXPORT = "CDM_LIGHT(CSV)";
public static final String COL_DP_EXPORT = "COL DP";
public static final String CSV_EXPORT = "CSV_EXPORT";
private Text text_familyString;
+ private Text text_baseUrl;
+
protected ExportToFileDestinationWizardPage(String pageName, String type, String title, String description,
String extension, ExportConfiguratorBase<?, ?, ?> configurator) {
super(pageName);
case DWCA_EXPORT:
dwcaExport = true;
break;
- case WFO_EXPORT:
+ case WFO_BACKBONE_EXPORT:
wfoBackboneExport = true;
break;
default:
"Export the content of the currently selected database into Darwin Core Archive format.", ZIP, config);
}
public static ExportToFileDestinationWizardPage WFO(WfoBackboneExportConfigurator config) {
- return new ExportToFileDestinationWizardPage(WFO_EXPORT, WFO_EXPORT, "WFO Backbone Export",
+ return new ExportToFileDestinationWizardPage(WFO_BACKBONE_EXPORT, WFO_BACKBONE_EXPORT, "WFO Backbone Export",
"Export the content of the currently selected database into WFO Backbone format."
, ZIP, config);
}
text_familyString = new Text(wfoComp, SWT.BORDER);
text_familyString.setText(generateFamilyName(selectedNodes));
text_familyString.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+ Label baseUrlString = new Label(wfoComp, SWT.NONE);
+ baseUrlString.setText("Base url");
+ text_baseUrl = new Text(wfoComp, SWT.BORDER);
+ text_baseUrl.setText("");
+ text_baseUrl.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+ text_baseUrl.setToolTipText("The base url without /cdm_dataportal/taxon/{uuid} e.g. https://portal.cybertaxonomy.org/salvador");
+
+
}
}else if (wfoBackboneExport) {
return text_exportFileName.getText();
}
- /**
- * @return the familyString
- */
public String getFamilyString() {
return text_familyString.getText();
}
return text_folder.getText();
}
+ public String get_baseUrl() {
+ return text_baseUrl.getText();
+ }
+
public Text getFolderComposite() {
return text_folder;
}