Class ReferenceDecompilerHover
java.lang.Object
ghidra.app.plugin.core.hover.AbstractHover
ghidra.app.plugin.core.hover.AbstractConfigurableHover
ghidra.app.plugin.core.hover.AbstractReferenceHover
ghidra.app.decompiler.component.hover.ReferenceDecompilerHover
- All Implemented Interfaces:
DecompilerHoverService,HoverService,OptionsChangeListener,Disposable
public class ReferenceDecompilerHover
extends ghidra.app.plugin.core.hover.AbstractReferenceHover
implements DecompilerHoverService
-
Field Summary
Fields inherited from class ghidra.app.plugin.core.hover.AbstractConfigurableHover
optionsFields inherited from class ghidra.app.plugin.core.hover.AbstractHover
enabled, priority, tool -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetHoverComponent(Program program, ProgramLocation location, FieldLocation fieldLocation, Field field) Returns a component to be shown in a popup window that is relevant to the given parameters.protected StringgetName()protected StringMethods inherited from class ghidra.app.plugin.core.hover.AbstractReferenceHover
componentHidden, componentShown, createExternalToolTipComponent, createOutOfMemoryToolTipComponent, dispose, getPanel, getPreviewLocation, getToolTip, initializeLazily, initializeOptions, programClosed, scroll, setOptionsMethods inherited from class ghidra.app.plugin.core.hover.AbstractConfigurableHover
optionsChangedMethods inherited from class ghidra.app.plugin.core.hover.AbstractHover
createTooltipComponent, getPriority, hoverModeSelected, isValidTooltipContentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.app.services.HoverService
componentHidden, componentShown, getPriority, hoverModeSelected, scroll
-
Constructor Details
-
ReferenceDecompilerHover
-
-
Method Details
-
getName
- Specified by:
getNamein classghidra.app.plugin.core.hover.AbstractConfigurableHover
-
getDescription
- Specified by:
getDescriptionin classghidra.app.plugin.core.hover.AbstractConfigurableHover
-
getOptionsCategory
- Specified by:
getOptionsCategoryin classghidra.app.plugin.core.hover.AbstractConfigurableHover
-
getHoverComponent
public JComponent getHoverComponent(Program program, ProgramLocation location, 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- Overrides:
getHoverComponentin classghidra.app.plugin.core.hover.AbstractReferenceHover- Parameters:
program- the program that is being hovered over.location- 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.
-