Revision 0ac4c430
Added by Katja Luther about 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/DistributionEditor.java | ||
---|---|---|
141 | 141 |
private Text searchText; |
142 | 142 |
|
143 | 143 |
Button button3; |
144 |
Button button2; |
|
144 | 145 |
|
145 | 146 |
EventList<TaxonDistributionDTO> taxonList; |
146 | 147 |
String actualNameCache = null; |
... | ... | |
291 | 292 |
|
292 | 293 |
button3.setBackground(EditorUtil.getColor(Resources.COLOR_CONTROL_SELECTED)); |
293 | 294 |
button3.setEnabled(false); |
295 |
button2.setText(Messages.ChecklistEditor_DEFAULT_SOURCE); |
|
294 | 296 |
} |
295 | 297 |
|
296 | 298 |
}); |
... | ... | |
500 | 502 |
} |
501 | 503 |
}); |
502 | 504 |
|
503 |
Button button2 = new Button(parent, SWT.PUSH );
|
|
505 |
button2 = new Button(parent, SWT.PUSH ); |
|
504 | 506 |
GridData gridData3 = new GridData(); |
505 | 507 |
gridData3.horizontalAlignment = SWT.RIGHT; |
506 | 508 |
|
... | ... | |
523 | 525 |
button2.setBackground(EditorUtil.getColor(Resources.COLOR_CONTROL_SELECTED)); |
524 | 526 |
// EventUtility.postEvent(WorkbenchEventConstants.REFRESH_DETAILS, true); |
525 | 527 |
button3.setEnabled(true); |
528 |
button2.setText(Messages.ChecklistEditor_SWITCH_DEFAULT_SOURCE); |
|
526 | 529 |
} |
527 | 530 |
|
528 | 531 |
}); |
Also available in: Unified diff
ref #8047: switch button label depending of existing default source