Revision 9e7b1ef9
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/ChecklistEditorGeneralPreference.java | ||
---|---|---|
75 | 75 |
child = new Composite(composite, SWT.NULL); |
76 | 76 |
child.setLayout(new GridLayout()); |
77 | 77 |
child.setVisible(isEditorActivated); |
78 |
|
|
79 |
|
|
80 |
|
|
78 | 81 |
final CLabel label = new CLabel(child, SWT.NULL); |
79 | 82 |
label.setText(Messages.ChecklistEditorGeneralPreference_open_wizard + Messages.ChecklistEditorGeneralPreference_2); |
83 |
|
|
84 |
|
|
85 |
|
|
80 | 86 |
final CommandHandlerButton button_openWizard = new CommandHandlerButton(child, SWT.PUSH, |
81 | 87 |
Messages.ChecklistEditorGeneralPreference_3); |
82 | 88 |
|
83 | 89 |
button_openWizard.setText(Messages.ChecklistEditorGeneralPreference_open_distribution_selection); |
90 |
|
|
91 |
// Table table = new Table |
|
92 |
|
|
84 | 93 |
final Button showIdInVocabulary = new Button(child, SWT.CHECK); |
85 | 94 |
pref = PreferencesUtil.getPreferenceFromDB(PreferencePredicate.ShowIdInVocabulary); |
86 | 95 |
if (pref != null){ |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/databaseAdmin/preferencePage/NameDetailsViewConfiguration.java | ||
---|---|---|
53 | 53 |
final CLabel description = new CLabel(parent, SWT.NULL); |
54 | 54 |
description.setText(Messages.NameDetailsViewConfiguration_description); |
55 | 55 |
NameDetailsConfigurator nameDetailsConfig = PreferencesUtil.setPreferredNameDetailsConfiguration(false); |
56 |
|
|
57 |
|
|
56 |
if (nameDetailsConfig == null){ |
|
57 |
nameDetailsConfig = new NameDetailsConfigurator(false); |
|
58 |
} |
|
58 | 59 |
final Button activateCheckButton = new Button(parent, SWT.CHECK); |
59 | 60 |
activateCheckButton.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, true, 1, 1)); |
60 | 61 |
activateCheckButton.setText(Messages.NameDetailsViewConfiguration_activateSimpleDetailsView); |
Also available in: Unified diff
minor in admin prefs