Revision b2beda87
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/SetSecundumConfiguratorWizardPage.java | ||
---|---|---|
96 | 96 |
IObservableValue overwriteExistingConfiguratorObserveValue = PojoProperties.value("overwriteExisting").observe(configurator); |
97 | 97 |
bindingContext.bindValue(observeSelectionBtnOverwriteExisting, overwriteExistingConfiguratorObserveValue, null, null); |
98 | 98 |
|
99 |
// IObservableValue observeSelectionBtnOverwriteExistingSynonyms = WidgetProperties.selection().observe(btnOverwriteExistingSynonyms); |
|
100 |
// IObservableValue overwriteExistingSynonymsConfiguratorObserveValue = PojoProperties.value("overwriteExistingSynonyms").observe(configurator); |
|
101 |
// bindingContext.bindValue(observeSelectionBtnOverwriteExistingSynonyms, overwriteExistingSynonymsConfiguratorObserveValue, null, null); |
|
102 |
// |
|
103 |
// IObservableValue observeSelectionBtnOverwriteExistingRelations = WidgetProperties.selection().observe(btnOverwriteExistingRelations); |
|
104 |
// IObservableValue overwriteExistingRelationsConfiguratorObserveValue = PojoProperties.value("overwriteExistingRelations").observe(configurator); |
|
105 |
// bindingContext.bindValue(observeSelectionBtnOverwriteExistingRelations, overwriteExistingRelationsConfiguratorObserveValue, null, null); |
|
106 |
|
|
107 | 99 |
IObservableValue observeSelectionBtnEmptySecundumDetail = WidgetProperties.selection().observe(btnEmptySecundumDetail); |
108 | 100 |
IObservableValue emptySecundumDetailConfiguratorObserveValue = PojoProperties.value("emptySecundumDetail").observe(configurator); |
109 | 101 |
bindingContext.bindValue(observeSelectionBtnEmptySecundumDetail, emptySecundumDetailConfiguratorObserveValue, null, null); |
... | ... | |
118 | 110 |
public void createControl(Composite parent) { |
119 | 111 |
|
120 | 112 |
final Composite composite = new Composite(parent, SWT.NULL); |
121 |
|
|
113 |
GridData gridComp = new GridData(SWT.BEGINNING, SWT.BEGINNING, true, true); |
|
114 |
gridComp.minimumWidth = 200; |
|
122 | 115 |
GridLayout gridLayout = new GridLayout(); |
123 |
gridLayout.numColumns = 1; |
|
124 | 116 |
|
117 |
gridLayout.numColumns = 1; |
|
118 |
composite.setLayoutData(gridComp); |
|
125 | 119 |
composite.setLayout(gridLayout); |
126 | 120 |
final Composite compositeRef = new Composite(composite, SWT.NULL); |
127 | 121 |
|
128 | 122 |
GridLayout gridLayoutRef = new GridLayout(); |
129 | 123 |
gridLayoutRef.numColumns = 4; |
130 | 124 |
|
125 |
|
|
131 | 126 |
compositeRef.setLayout(gridLayoutRef); |
132 |
compositeRef.setLayoutData(new GridData(SWT.BEGINNING, SWT.BEGINNING, true, true)); |
|
127 |
GridData gridRef = new GridData(SWT.BEGINNING, SWT.BEGINNING, true, true); |
|
128 |
compositeRef.setLayoutData(gridRef); |
|
133 | 129 |
Label label = new Label(compositeRef, SWT.WRAP); |
134 | 130 |
label.setText(Messages.SetSecundumConfiguration_NewSecundum_Label); |
135 | 131 |
label.setLayoutData(new GridData(SWT.BEGINNING, SWT.BEGINNING, false, false)); |
... | ... | |
140 | 136 |
// textReference.setTextLimit(Text.LIMIT); |
141 | 137 |
textReference.setBackground(StoreUtil |
142 | 138 |
.getColor(Resources.COLOR_TEXT_DISABLED_BACKGROUND)); |
143 |
|
|
139 |
GridData gridTextReference = new GridData(SWT.FILL, SWT.FILL, true, true); |
|
140 |
gridTextReference.widthHint = 20; |
|
141 |
gridTextReference.grabExcessHorizontalSpace = true; |
|
142 |
textReference.setLayoutData(gridTextReference); |
|
144 | 143 |
|
145 | 144 |
btnBrowseReference = new Button(compositeRef, SWT.NONE); |
146 | 145 |
btnBrowseReference.setImage(ResourceManager.getPluginImage("eu.etaxonomy.taxeditor.store", "icons/prj_obj.gif")); |
... | ... | |
264 | 263 |
} |
265 | 264 |
}); |
266 | 265 |
|
266 |
Label space = new Label(control, SWT.NONE); |
|
267 | 267 |
btnIncludeSharedTaxa = new Button(control, SWT.CHECK); |
268 |
GridData gd_btnOverwriteExistingRelations = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1); |
|
269 |
gd_btnOverwriteExistingRelations.verticalIndent = 5; |
|
270 |
btnIncludeSharedTaxa.setLayoutData(gd_btnOverwriteExistingRelations); |
|
271 | 268 |
btnIncludeSharedTaxa.setText(Messages.SetSecundumConfiguration_IncludeSharedtaxa); |
272 | 269 |
btnIncludeSharedTaxa.setSelection(configurator.isIncludeSharedTaxa()); |
273 | 270 |
|
Also available in: Unified diff
ref #9611: more space between the specific and the general flags