Revision 994548e2
Added by Katja Luther about 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java | ||
---|---|---|
20 | 20 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
21 | 21 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase; |
22 | 22 |
import eu.etaxonomy.cdm.persistence.hibernate.permission.Role; |
23 |
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys; |
|
24 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
|
25 | 23 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
26 | 24 |
import eu.etaxonomy.taxeditor.ui.combo.TermComboElement; |
27 | 25 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
... | ... | |
68 | 66 |
|
69 | 67 |
//TODO RL |
70 | 68 |
boolean rl=true; |
71 |
if(PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.IS_RL)){ |
|
72 |
toggleable_cache.setVisible(false); |
|
73 |
} |
|
74 |
if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.IS_RL)){ |
|
75 |
text_appendedPhrase = formFactory.createTextWithLabelElement( |
|
69 |
|
|
70 |
text_appendedPhrase = formFactory.createTextWithLabelElement( |
|
76 | 71 |
formElement, "Appended Phrase", entity.getAppendedPhrase(), |
77 | 72 |
SWT.WRAP); |
78 | 73 |
|
79 |
} |
|
74 |
|
|
80 | 75 |
|
81 | 76 |
selection_secundum = formFactory.createSelectionElement(Reference.class, |
82 | 77 |
getConversationHolder(), formElement, "Secundum", |
... | ... | |
88 | 83 |
entity.getSecMicroReference(),null, |
89 | 84 |
SWT.WRAP); |
90 | 85 |
|
91 |
// TODO RL |
|
92 |
if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.IS_RL)) { |
|
93 |
checkbox_useNameCache = formFactory.createCheckbox(formElement, |
|
86 |
|
|
87 |
checkbox_useNameCache = formFactory.createCheckbox(formElement, |
|
94 | 88 |
"Exclude Authorship", entity.isUseNameCache(), style); |
95 |
checkbox_doubtful = formFactory.createCheckbox(formElement,
|
|
89 |
checkbox_doubtful = formFactory.createCheckbox(formElement, |
|
96 | 90 |
entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style); |
97 |
} |
|
91 |
|
|
98 | 92 |
|
99 | 93 |
if (entity instanceof Taxon) { |
100 | 94 |
checkbox_published = formFactory.createCheckbox(formElement, |
Also available in: Unified diff
merge