ref #5346: after changing order in navigator update automatically
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / PreferencesUtil.java
index 2a2412bc40384137376eb6412cff64a319970ecb..0b72eeddf3bc882821651829a0cd77ab2ce2b74e 100644 (file)
@@ -107,7 +107,7 @@ public class PreferencesUtil implements IPreferenceKeys {
     private final static String EDITOR_PREFERENCES_NODE = "eu.etaxonomy.taxeditor";
 
     public static final String PREFERRED_TERMS_CHANGE = "preferred_terms";
-
+    public static final String UPDATE_NAVIGATOR = "update_navigator";
     public static final String P2_REPOSITORIES_DELIM = ",";
     public static final String P2_REPOSITORY_FIELDS_DELIM = ";";
     public static final String SUBJECT_DELIM = "/";
@@ -829,6 +829,11 @@ public class PreferencesUtil implements IPreferenceKeys {
         getPreferenceStore().firePropertyChangeEvent(PREFERRED_TERMS_CHANGE,
                 null, clazz);
     }
+    
+    public static void firePreferencesChangedForNavigator() {
+        getPreferenceStore().firePropertyChangeEvent(UPDATE_NAVIGATOR,
+                null, null);
+    }
 
 
     public static String createPreferenceString(String property){