Revision 70946cb4
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/DistributionAggregationWizardPage.java | ||
---|---|---|
106 | 106 |
super("Set Publish Flag Configuration"); |
107 | 107 |
this.configurator = configurator; |
108 | 108 |
|
109 |
this.setDescription(Messages.SetPublishConfiguration_Description_Configurator);
|
|
109 |
this.setDescription("Configure the aggregation");
|
|
110 | 110 |
|
111 | 111 |
} |
112 | 112 |
|
... | ... | |
159 | 159 |
}); |
160 | 160 |
} |
161 | 161 |
checkUseSelectedClassification= new Button(composite, SWT.RADIO); |
162 |
checkUseSelectedClassification.setText("Export selected classification");
|
|
162 |
checkUseSelectedClassification.setText("Aggregate selected classification");
|
|
163 | 163 |
checkUseSelectedClassification.addListener(SWT.Selection, new Listener() { |
164 | 164 |
@Override |
165 | 165 |
public void handleEvent(Event e) { |
... | ... | |
228 | 228 |
control.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, true)); |
229 | 229 |
|
230 | 230 |
Label higherRankLabel = new Label(control, SWT.NULL); |
231 |
higherRankLabel.setText("Higher rank");
|
|
231 |
higherRankLabel.setText("Highest rank");
|
|
232 | 232 |
comboHigherRank = new Combo(control, SWT.BORDER | SWT.READ_ONLY); |
233 | 233 |
updateHigherRankCombo(); |
234 | 234 |
comboHigherRank.addListener(SWT.Selection, this); |
235 | 235 |
Label lowerRankLabel = new Label(control, SWT.NULL); |
236 |
lowerRankLabel.setText("Lower rank");
|
|
236 |
lowerRankLabel.setText("Lowest rank");
|
|
237 | 237 |
comboLowerRank = new Combo(control, SWT.BORDER | SWT.READ_ONLY); |
238 | 238 |
updateLowerRankCombo(); |
239 | 239 |
comboLowerRank.addListener(SWT.Selection, this); |
... | ... | |
254 | 254 |
public String getText(Object element){ |
255 | 255 |
if (element instanceof AggregationMode){ |
256 | 256 |
if (((AggregationMode)element).equals(AggregationMode.ToParent)){ |
257 |
return "from child to parent";
|
|
257 |
return "From child to parent taxon";
|
|
258 | 258 |
} |
259 | 259 |
if (((AggregationMode)element).equals(AggregationMode.WithinTaxon)){ |
260 |
return "from sub area to super area";
|
|
260 |
return "From sub area to super area";
|
|
261 | 261 |
} |
262 | 262 |
} |
263 | 263 |
return null; |
... | ... | |
350 | 350 |
List<String> typeStrings = new ArrayList<>(); |
351 | 351 |
Arrays.stream(OriginalSourceType.values()).forEach(p ->typeMap.put(p.getMessage(), p)); |
352 | 352 |
Arrays.stream(OriginalSourceType.values()).forEach(p ->typeStrings.add(p.getMessage())); |
353 |
// typeStrings.sort(new OriginalSourceTypeComparator(null)); |
|
353 | 354 |
sourceTypeViewer.setInput(typeStrings); |
354 | 355 |
sourceTypeViewer.setChecked(OriginalSourceType.PrimaryMediaSource.getMessage(), true); |
355 | 356 |
sourceTypeViewer.setChecked(OriginalSourceType.PrimaryTaxonomicSource.getMessage(), true); |
Also available in: Unified diff
ref #8677: layout and labeling in aggregation config wizard