Class FunctionSignatureDecompilerHover
- java.lang.Object
-
- ghidra.app.plugin.core.hover.AbstractHover
-
- ghidra.app.plugin.core.hover.AbstractConfigurableHover
-
- ghidra.app.decompiler.component.hover.FunctionSignatureDecompilerHover
-
- All Implemented Interfaces:
DecompilerHoverService,HoverService,OptionsChangeListener,Disposable
public class FunctionSignatureDecompilerHover extends ghidra.app.plugin.core.hover.AbstractConfigurableHover implements DecompilerHoverService
A hover service to show tool tip text for hovering over a function name in the decompiler. The tooltip shows the function signature per the listing.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFunctionSignatureDecompilerHover(PluginTool tool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetDescription()javax.swing.JComponentgetHoverComponent(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.protected java.lang.StringgetName()protected java.lang.StringgetOptionsCategory()-
Methods inherited from class ghidra.app.plugin.core.hover.AbstractConfigurableHover
dispose, initializeOptions, optionsChanged, setOptions
-
Methods inherited from class ghidra.app.plugin.core.hover.AbstractHover
componentHidden, componentShown, createTooltipComponent, getPriority, hoverModeSelected, isValidTooltipContent, 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
-
-
-
-
Constructor Detail
-
FunctionSignatureDecompilerHover
protected FunctionSignatureDecompilerHover(PluginTool tool)
-
-
Method Detail
-
getName
protected java.lang.String getName()
- Specified by:
getNamein classghidra.app.plugin.core.hover.AbstractConfigurableHover
-
getDescription
protected java.lang.String getDescription()
- Specified by:
getDescriptionin classghidra.app.plugin.core.hover.AbstractConfigurableHover
-
getOptionsCategory
protected java.lang.String getOptionsCategory()
- Specified by:
getOptionsCategoryin classghidra.app.plugin.core.hover.AbstractConfigurableHover
-
getHoverComponent
public javax.swing.JComponent getHoverComponent(Program program, ProgramLocation programLocation, FieldLocation fieldLocation, Field field)
Description copied from interface:HoverServiceReturns 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:
getHoverComponentin 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.
-
-