Revision 8b8b9b2e
Added by Katja Luther almost 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/SpecimenAdminPreferences.java | ||
---|---|---|
12 | 12 |
import org.eclipse.swt.events.SelectionAdapter; |
13 | 13 |
import org.eclipse.swt.events.SelectionEvent; |
14 | 14 |
import org.eclipse.swt.layout.GridData; |
15 |
import org.eclipse.swt.layout.GridLayout; |
|
15 | 16 |
import org.eclipse.swt.widgets.Button; |
16 | 17 |
import org.eclipse.swt.widgets.Composite; |
17 | 18 |
import org.eclipse.swt.widgets.Control; |
... | ... | |
45 | 46 |
@Override |
46 | 47 |
protected Control createContents(Composite parent) { |
47 | 48 |
Composite composite = new Composite(parent, SWT.NULL); |
48 |
|
|
49 |
GridLayout gridLayout = new GridLayout(); |
|
50 |
composite.setLayout(gridLayout); |
|
49 | 51 |
final Button showCollectingAreaInGeneralSectionButton = new Button(composite, SWT.CHECK); |
50 | 52 |
|
51 | 53 |
showCollectingAreaInGeneralSectionButton.setText(Messages.DatabasePreferncesPage_Show_Collecting_Areas_in_general_section); |
Also available in: Unified diff
some changes for the admin preferences