Package ghidra.app.util.viewer.field
Class BrowserCodeUnitFormatOptions
java.lang.Object
ghidra.program.model.listing.CodeUnitFormatOptions
ghidra.app.util.viewer.field.BrowserCodeUnitFormatOptions
- All Implemented Interfaces:
OptionsChangeListener
public class BrowserCodeUnitFormatOptions
extends CodeUnitFormatOptions
implements OptionsChangeListener
-
Nested Class Summary
Nested classes/interfaces inherited from class ghidra.program.model.listing.CodeUnitFormatOptions
CodeUnitFormatOptions.ShowBlockName, CodeUnitFormatOptions.ShowNamespace -
Field Summary
Fields inherited from class ghidra.program.model.listing.CodeUnitFormatOptions
alwaysShowPrimaryReference, displayOptions, doRegVariableMarkup, doStackVariableMarkup, followReferencedPointers, includeInferredVariableMarkup, includeScalarReferenceAdjustment, localPrefixOverride, showBlockName, showDataMutability, showLibraryInNamespace, showNamespace, showOffcutInfo, templateSimplifier -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangeListener(ChangeListener listener) Add format change listener.booleanGet current state of the Follow Referenced Pointers option.voidoptionsChanged(ToolOptions options, String optionName, Object oldValue, Object newValue) Notification that an option changed.voidremoveChangeListener(ChangeListener listener) Remove format change listenerMethods inherited from class ghidra.program.model.listing.CodeUnitFormatOptions
getShowBlockNameOption, simplifyTemplate
-
Method Details
-
optionsChanged
public void optionsChanged(ToolOptions options, String optionName, Object oldValue, Object newValue) Description copied from interface:OptionsChangeListenerNotification that an option changed.Note: to reject an options change, you can throw a
OptionsVetoException.- Specified by:
optionsChangedin interfaceOptionsChangeListener- Parameters:
options- options object containing the property that changedoptionName- name of option that changedoldValue- old value of the optionnewValue- new value of the option
-
addChangeListener
Add format change listener. Listeners will only be notified if autoUpdate was true when instantiated.- Parameters:
listener- the listener
-
removeChangeListener
Remove format change listener- Parameters:
listener- the listener
-
followReferencedPointers
public boolean followReferencedPointers()Get current state of the Follow Referenced Pointers option.- Returns:
- true if operand pointer read of indirect references will be followed and non-dynamic pointer referenced symbol will be rendered in place of pointer label.
-