Revision b3c4ed9d
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/ExportToFileDestinationWizardPage.java | ||
---|---|---|
114 | 114 |
private Button checkUseSelectedtaxonNode; |
115 | 115 |
|
116 | 116 |
private Button checkUseSelectedClassification; |
117 |
private Button checkUseAllClassification; |
|
117 | 118 |
|
118 | 119 |
protected ExportToFileDestinationWizardPage(String pageName, String type, |
119 | 120 |
String title, String description, String extension, ExportConfiguratorBase configurator) { |
... | ... | |
284 | 285 |
} |
285 | 286 |
}); |
286 | 287 |
checkUseSelectedtaxonNode.setSelection(true); |
288 |
} |
|
289 |
if(outputModelExport || dwcaExport){ |
|
290 |
if (dwcaExport){ |
|
291 |
checkUseAllClassification= new Button(selectNodeOrClassification, SWT.RADIO); |
|
292 |
checkUseAllClassification.setText("Export all classifications"); |
|
293 |
checkUseAllClassification.addListener(SWT.Selection, new Listener() { |
|
294 |
@Override |
|
295 |
public void handleEvent(Event e) { |
|
296 |
Button b = (Button) e.widget; |
|
297 |
GridData data = (GridData) classificationSelectionCombo.getLayoutData(); |
|
298 |
data.exclude = b.getSelection(); |
|
299 |
classificationSelectionCombo.setVisible(!data.exclude); |
|
300 |
} |
|
301 |
}); |
|
302 |
} |
|
287 | 303 |
checkUseSelectedClassification= new Button(selectNodeOrClassification, SWT.RADIO); |
288 |
checkUseSelectedClassification.setText("Export complete classification");
|
|
304 |
checkUseSelectedClassification.setText("Export selected classification");
|
|
289 | 305 |
checkUseSelectedClassification.addListener(SWT.Selection, new Listener() { |
290 | 306 |
@Override |
291 | 307 |
public void handleEvent(Event e) { |
... | ... | |
297 | 313 |
} |
298 | 314 |
}); |
299 | 315 |
} |
316 |
|
|
300 | 317 |
if (node!= null){ |
301 | 318 |
selectedClassification = node.getClassification(); |
302 | 319 |
} |
Also available in: Unified diff
ref #6800: add configuration possibility to export all classifications in DwC-A export