- text_appendedPhrase = formFactory.createTextWithLabelElement(
- formElement, "Appended Phrase", entity.getAppendedPhrase(),
- SWT.NULL);
- checkbox_useNameCache = formFactory.createCheckbox(formElement,
- "Exclude Authorship", entity.isUseNameCache(), style);
+ // TODO RL
+ if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.IS_RL)) {
+ checkbox_useNameCache = formFactory.createCheckbox(formElement,
+ "Exclude Authorship", entity.isUseNameCache(), style);
+
+ if (entity instanceof Taxon) {
+ checkbox_excluded = formFactory.createCheckbox(formElement,
+ "Taxon is excluded", ((Taxon) entity).isExcluded(), style);
+ checkbox_unplaced = formFactory.createCheckbox(formElement,
+ "Taxon is unplaced", ((Taxon) entity).isUnplaced(), style);
+ }
+
+ checkbox_doubtful = formFactory.createCheckbox(formElement,
+ entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style);
+ }