ref #8486: add symbol to doubtful taxonnode in navigator
authorKatja Luther <k.luther@bgbm.org>
Mon, 30 Sep 2019 11:21:21 +0000 (13:21 +0200)
committerKatja Luther <k.luther@bgbm.org>
Mon, 30 Sep 2019 11:21:21 +0000 (13:21 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/util/TaxonTreeNodeLabelProvider.java

index a4069ec7b55bc5bf01cea962474a321de80769d7..733de095b088945dad510154fda239558ad276f5 100644 (file)
@@ -69,6 +69,9 @@ implements IStyledLabelProvider {
                             if (taxonNode.isExcluded()){
                                 text +=Character.toString((char)248) + " ";
                             }
+                            if (taxonNode.isDoubtful()){
+                                text +=Character.toString((char)63) +Character.toString((char)63)+ " ";
+                            }
                         text += taxon.getName() != null ? ((IIdentifiableEntity) HibernateProxyHelper.deproxy(taxon.getName())).getTitleCache() : new String();
                         return text;
                     }catch(Exception e){
@@ -83,11 +86,14 @@ implements IStyledLabelProvider {
             TaxonNodeDto taxonNode = (TaxonNodeDto) element;
             String text= "";
             if (taxonNode.isUnplaced()){
-                text += Character.toString((char)63) + " ";
+                text += Character.toString((char)63) + Character.toString((char)63) + " ";
             }
             if (taxonNode.isExcluded()) {
                 text +=Character.toString((char)248) + " ";
             }
+            if (taxonNode.isDoubtful()) {
+                text +=Character.toString((char)63) + " ";
+            }
             text += taxonNode.getTitleCache();
             return text;
         }