Class ScalarValueDecompilerHover
- java.lang.Object
-
- ghidra.app.plugin.core.hover.AbstractHover
-
- ghidra.app.plugin.core.hover.AbstractConfigurableHover
-
- ghidra.app.plugin.core.hover.AbstractScalarOperandHover
-
- ghidra.app.decompiler.component.hover.ScalarValueDecompilerHover
-
- All Implemented Interfaces:
DecompilerHoverService
,ghidra.app.plugin.core.hover.ConfigurableHover
,HoverService
,OptionsChangeListener
,Disposable
public class ScalarValueDecompilerHover extends ghidra.app.plugin.core.hover.AbstractScalarOperandHover implements DecompilerHoverService
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
DESCRIPTION
protected static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description ScalarValueDecompilerHover(PluginTool tool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
getHoverComponent(Program program, ProgramLocation programLocation, FieldLocation fieldLocation, Field field)
Returns a component to be shown in a popup window that is relevant to the given parameters.void
initializeOptions()
void
setOptions(Options options, java.lang.String optionName)
-
Methods inherited from class ghidra.app.plugin.core.hover.AbstractScalarOperandHover
formatScalar, isValidTooltipContent
-
Methods inherited from class ghidra.app.plugin.core.hover.AbstractConfigurableHover
dispose, optionsChanged
-
Methods inherited from class ghidra.app.plugin.core.hover.AbstractHover
componentHidden, componentShown, createTooltipComponent, getPriority, hoverModeSelected, scroll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ghidra.app.services.HoverService
componentHidden, componentShown, getPriority, hoverModeSelected, scroll
-
-
-
-
Field Detail
-
NAME
protected static final java.lang.String NAME
- See Also:
- Constant Field Values
-
DESCRIPTION
protected static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScalarValueDecompilerHover
public ScalarValueDecompilerHover(PluginTool tool)
-
-
Method Detail
-
initializeOptions
public void initializeOptions()
- Specified by:
initializeOptions
in interfaceghidra.app.plugin.core.hover.ConfigurableHover
-
setOptions
public void setOptions(Options options, java.lang.String optionName)
- Specified by:
setOptions
in interfaceghidra.app.plugin.core.hover.ConfigurableHover
-
getHoverComponent
public javax.swing.JComponent getHoverComponent(Program program, ProgramLocation programLocation, FieldLocation fieldLocation, Field field)
Description copied from interface:HoverService
Returns a component to be shown in a popup window that is relevant to the given parameters. Null is returned if there is no appropriate information to display.- Specified by:
getHoverComponent
in interfaceHoverService
- Parameters:
program
- the program that is being hovered over.programLocation
- the program location where the mouse is hovering.fieldLocation
- the precise mouse location within the field viewerfield
- the field over which the mouse is hovering- Returns:
- The component to be shown for the given location information.
-
-