Class PCGPreferences
- java.lang.Object
-
- org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
-
- com.ensoftcorp.open.pcg.preferences.PCGPreferences
-
public class PCGPreferences extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZE_PCG_INSTANCES
Enable/disable serializing PCG instances into the Atlas graphstatic java.lang.Boolean
SERIALIZE_PCG_INSTANCES_DEFAULT
-
Constructor Summary
Constructors Constructor Description PCGPreferences()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
enableSerializePCGInstances(boolean enabled)
Configures resource disposalstatic org.eclipse.jface.preference.IPreferenceStore
getPreferenceStore()
Returns the preference store used for these preferencesvoid
initializeDefaultPreferences()
static boolean
isSerializePCGInstancesEnabled()
static void
loadPreferences()
Loads or refreshes current preference valuesstatic void
restoreDefaults()
Restores the default preferences
-
-
-
Field Detail
-
SERIALIZE_PCG_INSTANCES
public static final java.lang.String SERIALIZE_PCG_INSTANCES
Enable/disable serializing PCG instances into the Atlas graph- See Also:
- Constant Field Values
-
SERIALIZE_PCG_INSTANCES_DEFAULT
public static final java.lang.Boolean SERIALIZE_PCG_INSTANCES_DEFAULT
-
-
Method Detail
-
getPreferenceStore
public static org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
Returns the preference store used for these preferences- Returns:
-
enableSerializePCGInstances
public static void enableSerializePCGInstances(boolean enabled)
Configures resource disposal
-
isSerializePCGInstancesEnabled
public static boolean isSerializePCGInstancesEnabled()
-
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
-
-