Class ReferenceDecompilerHover

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String NAME  
      • Fields inherited from class ghidra.app.plugin.core.hover.AbstractReferenceHover

        BACKGROUND_COLOR, codeFormatService, gotoHelper, panel, previewLocation, toolTip, WINDOW_OFFSET
      • Fields inherited from class ghidra.app.plugin.core.hover.AbstractConfigurableHover

        options
      • Fields inherited from class ghidra.app.plugin.core.hover.AbstractHover

        enabled, priority, tool
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.JComponent getHoverComponent​(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.
      void initializeOptions()  
      • Methods inherited from class ghidra.app.plugin.core.hover.AbstractReferenceHover

        componentHidden, componentShown, createExternalToolTipComponent, createOutOfMemoryToolTipComponent, dispose, getPreviewLocation, initializeLazily, programClosed, scroll, setOptions
      • Methods inherited from class ghidra.app.plugin.core.hover.AbstractConfigurableHover

        optionsChanged
      • Methods inherited from class ghidra.app.plugin.core.hover.AbstractHover

        createTooltipComponent, getPriority, hoverModeSelected, isValidTooltipContent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReferenceDecompilerHover

        public ReferenceDecompilerHover​(PluginTool tool)
    • Method Detail

      • initializeOptions

        public void initializeOptions()
        Specified by:
        initializeOptions in interface ghidra.app.plugin.core.hover.ConfigurableHover
      • getHoverComponent

        public javax.swing.JComponent getHoverComponent​(Program program,
                                                        ProgramLocation location,
                                                        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 interface HoverService
        Overrides:
        getHoverComponent in class ghidra.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 viewer
        field - the field over which the mouse is hovering
        Returns:
        The component to be shown for the given location information.