Class JavaCommonsPreferences
- java.lang.Object
-
- org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
-
- com.ensoftcorp.open.java.commons.preferences.JavaCommonsPreferences
-
public class JavaCommonsPreferences extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT
Enable/disable System.exit() control flow refinementstatic java.lang.Boolean
SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT_DEFAULT
static java.lang.String
THREAD_RUNNABLE_CALL_SUMMARY
Enable/disable thread runnable call summarystatic java.lang.Boolean
THREAD_RUNNABLE_CALL_SUMMARY_DEFAULT
-
Constructor Summary
Constructors Constructor Description JavaCommonsPreferences()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
enableSystemExitControlFlowRefinement(boolean enabled)
Configures System.exit() control flow refinementstatic void
enableThreadRunnableCallSummary(boolean enabled)
Configures whether or not to run thread runnable call summarystatic org.eclipse.jface.preference.IPreferenceStore
getPreferenceStore()
Returns the preference store used for these preferencesvoid
initializeDefaultPreferences()
static boolean
isSystemExitControlFlowRefinementEnabled()
Returns true if System.exit() control flow refinement is enabledstatic boolean
isThreadRunnableCallSummaryEnabled()
Returns true if thread runnable call summary is enabledstatic void
loadPreferences()
Loads or refreshes current preference valuesstatic void
restoreDefaults()
Restores the default preferences
-
-
-
Field Detail
-
SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT
public static final java.lang.String SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT
Enable/disable System.exit() control flow refinement- See Also:
- Constant Field Values
-
SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT_DEFAULT
public static final java.lang.Boolean SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT_DEFAULT
-
THREAD_RUNNABLE_CALL_SUMMARY
public static final java.lang.String THREAD_RUNNABLE_CALL_SUMMARY
Enable/disable thread runnable call summary- See Also:
- Constant Field Values
-
THREAD_RUNNABLE_CALL_SUMMARY_DEFAULT
public static final java.lang.Boolean THREAD_RUNNABLE_CALL_SUMMARY_DEFAULT
-
-
Method Detail
-
getPreferenceStore
public static org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
Returns the preference store used for these preferences- Returns:
-
enableSystemExitControlFlowRefinement
public static void enableSystemExitControlFlowRefinement(boolean enabled)
Configures System.exit() control flow refinement
-
isSystemExitControlFlowRefinementEnabled
public static boolean isSystemExitControlFlowRefinementEnabled()
Returns true if System.exit() control flow refinement is enabled- Returns:
-
enableThreadRunnableCallSummary
public static void enableThreadRunnableCallSummary(boolean enabled)
Configures whether or not to run thread runnable call summary
-
isThreadRunnableCallSummaryEnabled
public static boolean isThreadRunnableCallSummaryEnabled()
Returns true if thread runnable call summary is enabled- Returns:
-
initializeDefaultPreferences
public void initializeDefaultPreferences()
- Specified by:
initializeDefaultPreferences
in classorg.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
-
restoreDefaults
public static void restoreDefaults()
Restores the default preferences
-
loadPreferences
public static void loadPreferences()
Loads or refreshes current preference values
-
-