Revision 581e5401
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java | ||
---|---|---|
682 | 682 |
public static String DatabasePreferncesPage_NamedAreaSearchField; |
683 | 683 |
|
684 | 684 |
public static String Preference_allow_override; |
685 |
public static String Preference_override_allowed; |
|
685 | 686 |
public static String Delete; |
686 | 687 |
|
687 | 688 |
|
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties | ||
---|---|---|
368 | 368 |
AbcdImportPreference_reuse_existing_taxa=Reuse existing taxa when possible |
369 | 369 |
AbcdImportPreference_reuse_existing_taxa_tooltip=Reuse existing taxa when the name matches the identified name of the specimen |
370 | 370 |
Preference_allow_override=Allow override |
371 |
Preference_override_allowed=Override allowed |
|
371 | 372 |
AbcdImportPreference_allow_override_tooltip=It is allowed to change this preference locally. |
372 | 373 |
AbcdImportPreference_override=Use local preference |
373 | 374 |
AbcdImportPreference_override_tooltip=Use local preference for ABCD import configurator. |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties | ||
---|---|---|
368 | 368 |
AbcdImportPreference_reuse_existing_taxa=Existierende Taxa wieder verwenden |
369 | 369 |
AbcdImportPreference_reuse_existing_taxa_tooltip=Wenn Taxa schon existieren, dann werden die Individual Associations an diese angeh?ngt. |
370 | 370 |
Preference_allow_override=Erlaube ?berschreiben |
371 |
Preference_override_allowed=?berschreiben erlaubt |
|
371 | 372 |
AbcdImportPreference_allow_override_tooltip=Es d?rfen lokale ?nderungen an den Pr?ferenzen vorgenommen werden. |
372 | 373 |
AbcdImportPreference_override=Nutze lokale Pr?ferenzen |
373 | 374 |
AbcdImportPreference_override_tooltip=Die lokale Pr?ferenzen f?r den ABCD Import Konfigurator sollen verwendet werden. |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/DistributionStatusPreferencePage.java | ||
---|---|---|
160 | 160 |
column = new TableColumn(table, SWT.NONE); |
161 | 161 |
column.setText("Values"); |
162 | 162 |
column.setWidth(100); |
163 |
column = new TableColumn(table, SWT.NONE); |
|
164 |
column.setText(Messages.Preference_override_allowed); |
|
165 |
column.setWidth(100); |
|
163 | 166 |
if (isAdminPreference){ |
164 |
column = new TableColumn(table, SWT.NONE); |
|
165 |
column.setText(Messages.Preference_allow_override); |
|
166 |
column.setWidth(100); |
|
167 | 167 |
column = new TableColumn(table, SWT.NONE); |
168 | 168 |
column.setText(Messages.Delete); |
169 | 169 |
column.setWidth(100); |
... | ... | |
239 | 239 |
} |
240 | 240 |
|
241 | 241 |
|
242 |
}else if (col == 3 && isAdminPreference){
|
|
242 |
}else if (col == 3 ){ |
|
243 | 243 |
Button allowOverrideButton = new Button(table, SWT.CHECK); |
244 | 244 |
allowOverrideButton.setData(pref); |
245 | 245 |
TableEditor editor = new TableEditor(table); |
... | ... | |
247 | 247 |
editor.grabHorizontal = true; |
248 | 248 |
editor.setEditor(allowOverrideButton, item, col); |
249 | 249 |
allowOverrideButton.setSelection(pref.isAllowOverride()); |
250 |
if (isAdminPreference){ |
|
250 | 251 |
|
251 | 252 |
allowOverrideButton.addSelectionListener(new SelectionAdapter(){ |
252 | 253 |
@Override |
... | ... | |
262 | 263 |
} |
263 | 264 |
} |
264 | 265 |
}); |
266 |
}else{ |
|
267 |
allowOverrideButton.setEnabled(false); |
|
268 |
} |
|
265 | 269 |
} else if (col == 4 && isAdminPreference){ |
266 | 270 |
Button delButton = new Button(table, SWT.PUSH); |
267 | 271 |
delButton.setImage(ImageResources |
Also available in: Unified diff
ref #8562: add override allowed column to distr. status preference page