AggregationWizardPage_SUBTREE=Aggregiere ausgewählten Teilbaum/-bäume
AggregationWizardPage_SINGLE_TAXON=Aggregation nur für
SetAggregationConfiguration_Title=Aggregationskonfiguration
-StructuredDescriptionAggregationWizardPage_SELECT_SUBTREE=Aggregiere über den ausgewählten Teilbaum
+StructuredDescriptionAggregationWizardPage_SELECT_SUBTREE=Aggregiere über den/die ausgewählten Taxa/Teilbaum
StructuredDescriptionAggregationWizardPage_TOOLTIP_SELECT_SUBTREE=Wenn nicht alle Teilbäume des Descriptive Datasets in die Aggregation einfließen sollen, dann wählen Sie die zu verwendenden Teilbäume aus.
StructuredDescriptionAggregationWizardPage_SELECT_ALL_SUBTREES=Aggregiere alle Taxa des Descriptive Datasets
StructuredDescriptionAggregationWizardPage_SELECT_SELECTED_TAXA_ONLY=Aggregiere nur ausgewählte(s) Taxa/Taxon
-StructuredDescriptionAggregationWizardPage_SELECT_UNPUBLISHED_TAXA=Beschreibungen von unpublizierten Taxa
-StructuredDescriptionAggregationWizardPage_SELECT_DEFINE_SCOPE=Zu aggregierende Daten:
+StructuredDescriptionAggregationWizardPage_SELECT_UNPUBLISHED_TAXA=Unpublizierten Taxa
+StructuredDescriptionAggregationWizardPage_SELECT_DEFINE_SCOPE=Bei Aggregation einschließen:
StructuredDescriptionAggregationWizardPage_SELECT_DEFAULT_DESCRIPTION=Default Beschreibungen
StructuredDescriptionAggregationWizardPage_SELECT_LITERATURE_DESCRIPTION=Literatur Beschreibungen
CommonNameLanguages_Title=Sprachen für Trivialnamen
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Listener;
+import org.eclipse.ui.forms.widgets.TableWrapData;
import eu.etaxonomy.cdm.api.application.CdmApplicationState;
import eu.etaxonomy.cdm.api.service.description.AggregationMode;
protected Button checkIncludeDefaultDescriptions;
protected Button checkIncludeLiteratureDescriptions;
+
+ private Label selectSubtreeLabel;
protected StructuredDescriptionAggregationConfigurationWizardPage(StructuredDescriptionAggregationConfiguration configurator, List<TaxonNodeDto> nodes) {
super(Messages.DistributionAggregationWizardPage_TITLE);
@Override
public void handleEvent(Event e) {
subTreeSelectionViewer.getTable().setEnabled(!checkUseHigherLevel.getSelection());
+ selectSubtreeLabel.setEnabled(!checkUseHigherLevel.getSelection());
updateHigherRankCombo();
if (checkUseHigherLevel.getSelection()){
setPageComplete(true);
@Override
public void handleEvent(Event e) {
subTreeSelectionViewer.getTable().setEnabled(checkUseSelectedSubtree.getSelection());
+ selectSubtreeLabel.setEnabled(checkUseHigherLevel.getSelection());
if (checkUseSelectedSubtree.getSelection() && subTreeSelectionViewer.getCheckedElements().length == 0){
setPageComplete(false);
}else{
@Override
public void handleEvent(Event e) {
subTreeSelectionViewer.getTable().setEnabled(checkUseSelectedTaxonNode.getSelection());
+ selectSubtreeLabel.setEnabled(!checkUseHigherLevel.getSelection());
if (checkUseSelectedTaxonNode.getSelection() && subTreeSelectionViewer.getCheckedElements().length == 0){
setPageComplete(false);
}else{
checkUseSelectedSubtree.setSelection(hasTaxonFilter);
//subtree selection
- Label selectSubtreeLabel = new Label(control, SWT.NULL);
+ selectSubtreeLabel = new Label(control, SWT.NULL);
selectSubtreeLabel.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_SUBTREE);
selectSubtreeLabel.setToolTipText(Messages.StructuredDescriptionAggregationWizardPage_TOOLTIP_SELECT_SUBTREE);
+
+ GridData gridData = new GridData();
+ gridData.horizontalIndent = 5;
+ selectSubtreeLabel.setLayoutData(gridData);
+
subTreeSelectionViewer = CheckboxTableViewer.newCheckList(control, SWT.BORDER | SWT.SINGLE);
subTreeSelectionViewer.setContentProvider(new ArrayContentProvider());
subTreeSelectionViewer.setLabelProvider(new LabelProvider(){
}
});
- GridLayoutFactory.fillDefaults();
+// GridLayoutFactory.fillDefaults();
//scope (published taxa, literature + default descriptions)
- GridData gridDataScopeComposite = new GridData();
- gridDataScopeComposite.horizontalSpan = 2;
- GridLayout gridLayoutScopeComposite = new GridLayout();
- gridLayoutScopeComposite.numColumns = 1;
- Composite scopeComposite = new Composite(control, SWT.NULL);
- scopeComposite.setLayoutData(gridDataScopeComposite);
- scopeComposite.setLayout(gridLayoutScopeComposite);
-
- Label scopeLabel = new Label(scopeComposite, SWT.NULL);
+ Label scopeLabel = new Label(control, SWT.NULL);
scopeLabel.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_DEFINE_SCOPE);
-
+
+ Composite scopeComposite = new Composite(control, SWT.NULL);
+ GridLayout gridDataScopeComposite = new GridLayout();
+ gridDataScopeComposite.numColumns = 1;
+ scopeComposite.setLayout(gridDataScopeComposite);
+
+// GridLayoutFactory.fillDefaults();
+
checkIncludeUnpublishedTaxa = new Button(scopeComposite, SWT.CHECK);
checkIncludeUnpublishedTaxa.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_UNPUBLISHED_TAXA);
checkIncludeUnpublishedTaxa.setSelection(configurator.getTaxonNodeFilter().isIncludeUnpublished());
checkIncludeLiteratureDescriptions = new Button(scopeComposite, SWT.CHECK);
checkIncludeLiteratureDescriptions.setText(Messages.StructuredDescriptionAggregationWizardPage_SELECT_LITERATURE_DESCRIPTION);
checkIncludeLiteratureDescriptions.setSelection(configurator.isIncludeLiterature());
-
+ GridLayoutFactory.fillDefaults();
//ranks
Label higherRankLabel = new Label(control, SWT.NULL);
higherRankLabel.setText(Messages.DistributionAggregationWizardPage_HIGHEST_RANK);