Class PreferenceState


  • public class PreferenceState
    extends SaveState
    An implementation of SaveState that exists primarily to signal its intended usage. The SaveState is a generic object for saving program state through plugins. This state object is meant to be used for preferences that are not associated directly with a plugin.
    • Field Detail

      • PREFERENCE_STATE_NAME

        public static final java.lang.String PREFERENCE_STATE_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • PreferenceState

        public PreferenceState()
      • PreferenceState

        public PreferenceState​(org.jdom.Element element)
        Initializes a new state object from the given element.
        Parameters:
        element - The element from which to initialize.