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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChangeListener(javax.swing.event.ChangeListener listener)
Add format change listener.boolean
followReferencedPointers()
Get current state of the Follow Referenced Pointers option.void
optionsChanged(ToolOptions options, java.lang.String optionName, java.lang.Object oldValue, java.lang.Object newValue)
Notification that an option changed.void
removeChangeListener(javax.swing.event.ChangeListener listener)
Remove format change listener-
Methods inherited from class ghidra.program.model.listing.CodeUnitFormatOptions
getShowBlockNameOption
-
-
-
-
Method Detail
-
optionsChanged
public void optionsChanged(ToolOptions options, java.lang.String optionName, java.lang.Object oldValue, java.lang.Object newValue)
Description copied from interface:OptionsChangeListener
Notification that an option changed.Note: to reject an options change, you can throw a
OptionsVetoException
.- Specified by:
optionsChanged
in 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
public void addChangeListener(javax.swing.event.ChangeListener listener)
Add format change listener. Listeners will only be notified if autoUpdate was true when instantiated.- Parameters:
listener
-
-
removeChangeListener
public void removeChangeListener(javax.swing.event.ChangeListener listener)
Remove format change listener- Parameters:
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.
-
-