Revision 4db49a38
Added by Alexander Oppermann over 9 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AuthorshipDetailElement.java | ||
---|---|---|
21 | 21 |
import eu.etaxonomy.taxeditor.ui.section.AbstractIdentifiableEntityDetailElement; |
22 | 22 |
import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement; |
23 | 23 |
import eu.etaxonomy.taxeditor.ui.selection.NomenclaturalAuthorTeamSelectionElement; |
24 |
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys; |
|
25 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
|
24 | 26 |
|
25 | 27 |
/** |
26 | 28 |
* <p> |
... | ... | |
66 | 68 |
toggleable_cache = formFactory.createToggleableTextField(this, |
67 | 69 |
"Authorship Cache", entity.getAuthorshipCache(), |
68 | 70 |
entity.isProtectedAuthorshipCache(), style); |
71 |
|
|
72 |
//TODO RL |
|
73 |
if(PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.IS_RL)){ |
|
74 |
toggleable_cache.setVisible(false); |
|
75 |
} |
|
69 | 76 |
selection_combinationAuthorTeam = formFactory.createNomenclaturalAuthorTeamSelectionElement( |
70 | 77 |
getConversationHolder(), |
71 | 78 |
formElement, "Author", |
Also available in: Unified diff
reintegrated redlist branch into trunk