Package ghidra.framework.options
Interface CustomOption
-
- All Known Implementing Classes:
AddressFieldOptionsWrappedOption,ArrayElementWrappedOption,ManualViewerCommandWrappedOption,NamespaceWrappedOption
public interface CustomOption
-
-
Method Summary
All Methods Instance Methods Abstract Methods Change Modifier and Type Method Description voidreadState(SaveState saveState)Concrete subclass of WrappedOption should read all of its state from the given saveState object.NEW java.lang.StringtoString()CustomOption should implement this method to provide a formatted string value of this option value.voidwriteState(SaveState saveState)Concrete subclass of WrappedOption should write all of its state to the given saveState object.
-
-
-
Method Detail
-
readState
void readState(SaveState saveState)
Concrete subclass of WrappedOption should read all of its state from the given saveState object.- Parameters:
saveState- container of state information
-
writeState
void writeState(SaveState saveState)
Concrete subclass of WrappedOption should write all of its state to the given saveState object.- Parameters:
saveState- container of state information
-
toString NEW
java.lang.String toString()
CustomOption should implement this method to provide a formatted string value of this option value. The returned value will be used in support of theOptions.getValueAsString(String)andOptions.getDefaultValueAsString(String).- Overrides:
toStringin classjava.lang.Object- Returns:
- option value as string
-
-