"Export the content of the currently selected database into Darwin Core Archive format.", ZIP, config);
}
public static ExportToFileDestinationWizardPage WFO(WfoExportConfigurator config) {
- return new ExportToFileDestinationWizardPage(WFO_EXPORT, WFO_EXPORT, "WFO Export",
- "Export the content of the currently selected database into WFO "
+ return new ExportToFileDestinationWizardPage(WFO_EXPORT, WFO_EXPORT, "WFO Backbone Export",
+ "Export the content of the currently selected database into WFO Backbone format."
, ZIP, config);
}
gridDataSep.horizontalSpan = 2;
separator.setLayoutData(gridDataSep);
}
- if (classifications == null) {
+ if (classifications == null && !wfoExport) {
classifications = CdmStore.getService(IClassificationService.class).list(null, null, null, null, null);
Collections.sort(classifications, (o1, o2) -> {
if (o1.equals(o2)) {
}
}else if (wfoExport) {
-
Label label = new Label(composite, SWT.NONE);
- label.setText("WFO export is only available for subtrees, not for classifications");
+ label.setText("WFO Backbone export is only available for subtrees, not for classifications");
GridData gridData = new GridData();
gridData.horizontalSpan = 2;
gridData.grabExcessHorizontalSpace = true;
});
}
- if (node != null) {
+ if (node != null && !wfoExport) {
selectedClassification = node.getClassification();
}
if (!wfoExport) {