Class PCGPreferences


  • public class PCGPreferences
    extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
    • 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
    • Constructor Detail

      • PCGPreferences

        public PCGPreferences()
    • 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 class org.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