Package ghidra.framework.options
Interface OptionsChangeListener
-
- All Known Implementing Classes:
ghidra.app.plugin.core.hover.AbstractConfigurableHover
,ghidra.app.plugin.core.hover.AbstractReferenceHover
,ghidra.app.plugin.core.hover.AbstractScalarOperandHover
,BrowserCodeUnitFormatOptions
,ConsoleTextPane
,DataTypeDecompilerHover
,DefaultGraphDisplayOptions
,FormatManager
,FrontEndTool
,FunctionSignatureDecompilerHover
,GraphDisplayOptions
,ListingCodeComparisonPanel
,LookAndFeelPlugin
,OptionsManager
,ProgramBigListingModel
,ProgramGraphDisplayOptions
,PythonPlugin
,ReferenceDecompilerHover
,ScalarValueDecompilerHover
,SharedStubKeyBindingAction
,SymbolInspector
,TestFrontEndTool
public interface OptionsChangeListener
Interface for notifying listeners when options change.Register with
ToolOptions.addOptionsChangeListener(OptionsChangeListener)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
optionsChanged(ToolOptions options, java.lang.String optionName, java.lang.Object oldValue, java.lang.Object newValue)
Notification that an option changed.
-
-
-
Method Detail
-
optionsChanged
void optionsChanged(ToolOptions options, java.lang.String optionName, java.lang.Object oldValue, java.lang.Object newValue) throws OptionsVetoException
Notification that an option changed.Note: to reject an options change, you can throw a
OptionsVetoException
.- Parameters:
options
- options object containing the property that changedoptionName
- name of option that changedoldValue
- old value of the optionnewValue
- new value of the option- Throws:
OptionsVetoException
- if a change is rejected
-
-