performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / preference / TermPreferenceUtil.java
index 973ef52684c4b9e44be911e37059f8351b90f033..34eed647e636e5cbbdfde21ffe4bb0a13850fba6 100644 (file)
@@ -25,12 +25,15 @@ import eu.etaxonomy.taxeditor.store.CdmStore;
 import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin;
 
 /**
+ * <p>TermPreferenceUtil class.</p>
+ *
  * @author n.hoffmann
  * @created Oct 11, 2010
  * @version 1.0
  */
 public class TermPreferenceUtil implements IPreferenceKeys{
                
+       /** Constant <code>DISABLED_TERMS="disabledTerms"</code> */
        protected static String DISABLED_TERMS = "disabledTerms";
        
        private class ContextListener extends ContextListenerAdapter{
@@ -63,6 +66,11 @@ public class TermPreferenceUtil implements IPreferenceKeys{
                CdmStore.getContextManager().addContextListener(contextListener);
        }
        
+       /**
+        * <p>Getter for the field <code>instance</code>.</p>
+        *
+        * @return a {@link eu.etaxonomy.taxeditor.preference.TermPreferenceUtil} object.
+        */
        public static synchronized TermPreferenceUtil getInstance(){
                return instance;
        }
@@ -96,8 +104,9 @@ public class TermPreferenceUtil implements IPreferenceKeys{
        }
        
        /**
-        * 
-        * @return
+        * <p>getPreferenceStore</p>
+        *
+        * @return a {@link org.eclipse.jface.preference.IPreferenceStore} object.
         */
        public static IPreferenceStore getPreferenceStore() {
                return TaxeditorStorePlugin.getDefault().getPreferenceStore();