more changes for name details configuration with allow ovverride
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / ChecklistEditorGeneralPreference.java
index bb402322afe083aa40d9e520276ec11f1c1aa118..09a00437ded5e90b33b4ada943ad815a08fd91e8 100644 (file)
@@ -84,6 +84,18 @@ public class ChecklistEditorGeneralPreference extends PreferencePage implements
                 PreferencesUtil.setShowIdInVocabularyInChecklistEditor(isShowIdInVocabulary);
              }
         });
+        
+        final Button showSymbol = new Button(child, SWT.CHECK);
+        boolean isShowSymbol = PreferencesUtil.isShowSymbolInChecklistEditor();
+        showSymbol.setText("Show Symbol of the Status, if existing");
+        showSymbol.setSelection(isShowSymbol);
+        showSymbol.addSelectionListener(new SelectionAdapter(){
+            @Override
+            public void widgetSelected(SelectionEvent e) {
+                boolean isShowSymbol = showSymbol.getSelection();
+                PreferencesUtil.setShowSymbolInChecklistEditor(isShowSymbol);
+             }
+        });
         PreferencesUtil.recursiveSetEnabled(button_openFeatureTree, CdmStore.isActive());
         boolean isShowRank = PreferencesUtil.isShowRankInChecklistEditor();
         final Button activateRankButton = new Button(child, SWT.CHECK);