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.StringSERIALIZE_PCG_INSTANCESEnable/disable serializing PCG instances into the Atlas graphstatic java.lang.BooleanSERIALIZE_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 voidenableSerializePCGInstances(boolean enabled)Configures resource disposalstatic org.eclipse.jface.preference.IPreferenceStoregetPreferenceStore()Returns the preference store used for these preferencesvoidinitializeDefaultPreferences()static booleanisSerializePCGInstancesEnabled()static voidloadPreferences()Loads or refreshes current preference valuesstatic voidrestoreDefaults()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:
initializeDefaultPreferencesin 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
-
-