Package ghidra.framework.options
Class PreferenceState
java.lang.Object
ghidra.framework.options.GProperties
ghidra.framework.options.XmlProperties
ghidra.framework.options.SaveState
ghidra.framework.options.PreferenceState
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 Summary
Fields inherited from class ghidra.framework.options.GProperties
DATE_FORMAT, map, NAME, TYPE
-
Constructor Summary
ConstructorDescriptionPreferenceState
(org.jdom.Element element) Initializes a new state object from the given element. -
Method Summary
Methods inherited from class ghidra.framework.options.SaveState
createElement, getSaveState, processElement, putSaveState, saveToFile
Methods inherited from class ghidra.framework.options.GProperties
clear, createElementFromElement, getAsType, getBoolean, getBooleans, getByte, getBytes, getColor, getDate, getDouble, getDoubles, getEnum, getFile, getFloat, getFloats, getFont, getGProperties, getInt, getInts, getKeyStroke, getLong, getLongs, getNames, getShort, getShorts, getString, getStrings, getXmlElement, hasValue, isEmpty, putBoolean, putBooleans, putByte, putBytes, putColor, putDate, putDouble, putDoubles, putEnum, putFile, putFloat, putFloats, putFont, putGProperties, putInt, putInts, putKeyStroke, putLong, putLongs, putShort, putShorts, putString, putStrings, putXmlElement, remove, saveToJson, saveToJsonFile, saveToXml, saveToXmlFile, size, toString
-
Field Details
-
PREFERENCE_STATE_NAME
- See Also:
-
-
Constructor Details
-
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.
-