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,FormatManager,FrontEndTool,FunctionSignatureDecompilerHover,ListingCodeComparisonPanel,LookAndFeelPlugin,OptionsManager,ProgramBigListingModel,PythonPlugin,ReferenceDecompilerHover,ScalarValueDecompilerHover,SharedStubKeyBindingAction,SymbolInspector,TestFrontEndTool
public interface OptionsChangeListenerInterface for notifying listeners when options change.Register with
ToolOptions.addOptionsChangeListener(OptionsChangeListener). 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidoptionsChanged(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
 
 - 
 
 -