Class PathCounterPreferences


  • public class PathCounterPreferences
    extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
    Path Counter Preferences
    Author:
    Payas Awadhutkar
    • Field Detail

      • DEFAULT_DIRECTION

        public static final java.lang.String DEFAULT_DIRECTION
        See Also:
        Constant Field Values
      • DEFAULT_TRAVERSAL

        public static final java.lang.String DEFAULT_TRAVERSAL
        See Also:
        Constant Field Values
      • shortCircuitPaths

        public static java.lang.String shortCircuitPaths
      • doShortCircuitPaths

        public static boolean doShortCircuitPaths
    • Constructor Detail

      • PathCounterPreferences

        public PathCounterPreferences()
    • Method Detail

      • getPreferenceStore

        public static org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
        Returns the preference store used for these preferences
        Returns:
      • getDirection

        public static java.lang.String getDirection()
        Direction to count paths
      • getTraversal

        public static java.lang.String getTraversal()
        Traversal algorithm to count paths
      • isShortCircuitPathsEnabled

        public static boolean isShortCircuitPathsEnabled()
        Consider short circuiting
      • setShortCircuitPaths

        public static void setShortCircuitPaths​(boolean shortCircuit)
        Set short circuiting
      • initializeDefaultPreferences

        public void initializeDefaultPreferences()
        Specified by:
        initializeDefaultPreferences in class org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
      • restoreDefaults

        public static void restoreDefaults()
      • loadPreferences

        public static void loadPreferences()