Class VTFunctionAssociationCompareContext

java.lang.Object
docking.DefaultActionContext
ghidra.app.context.ProgramActionContext
ghidra.app.context.ProgramLocationActionContext
ghidra.app.context.NavigatableActionContext
ghidra.app.context.ListingActionContext
ghidra.feature.vt.gui.duallisting.VTListingContext
ghidra.feature.vt.gui.provider.functionassociation.VTFunctionAssociationCompareContext
All Implemented Interfaces:
docking.ActionContext, ghidra.app.context.FunctionSupplierContext, ghidra.app.context.NavigationActionContext, FunctionAssociationContext, ghidra.features.base.codecompare.panel.CodeComparisonPanelActionContext

public class VTFunctionAssociationCompareContext extends VTListingContext implements FunctionAssociationContext
A context for the function association provider's code comparison panel that will also allow function association table actions.
  • Field Summary

    Fields inherited from class ghidra.app.context.ProgramActionContext

    program
  • Constructor Summary

    Constructors
    Constructor
    Description
    VTFunctionAssociationCompareContext(docking.ComponentProvider provider, ghidra.app.nav.Navigatable navigatable, ghidra.framework.plugintool.PluginTool tool, ghidra.program.model.listing.Function selectedSourceFunction, ghidra.program.model.listing.Function selectedDestinationFunction, VTMatch existingMatch)
    Constructs a context for the function association provider's code comparison panel that will also allow function association table actions.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines if a function match can be created for the selected source and destination.
    Gets the match for the source and destination functions if it exists.
    ghidra.program.model.listing.Function
    Gets the source function selected in the table
    ghidra.program.model.listing.Function
    Gets the destination function selected in the table

    Methods inherited from class ghidra.feature.vt.gui.duallisting.VTListingContext

    getCodeComparisonPanel, setCodeComparisonPanel

    Methods inherited from class ghidra.app.context.NavigatableActionContext

    getNavigatable

    Methods inherited from class ghidra.app.context.ProgramLocationActionContext

    getAddress, getCodeUnit, getFunctions, getHighlight, getLocation, getSelection, hasFunctions, hasHighlight, hasSelection

    Methods inherited from class ghidra.app.context.ProgramActionContext

    getProgram

    Methods inherited from class docking.DefaultActionContext

    getComponentProvider, getContextObject, getEventClickModifiers, getMouseEvent, getSourceComponent, getSourceObject, hasAnyEventClickModifiers, setContextObject, setEventClickModifiers, setMouseEvent, setSourceComponent, setSourceObject, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface docking.ActionContext

    getComponentProvider, getContextObject, getEventClickModifiers, getMouseEvent, getSourceComponent, getSourceObject, hasAnyEventClickModifiers, setContextObject, setEventClickModifiers, setMouseEvent, setSourceComponent, setSourceObject
  • Constructor Details

    • VTFunctionAssociationCompareContext

      public VTFunctionAssociationCompareContext(docking.ComponentProvider provider, ghidra.app.nav.Navigatable navigatable, ghidra.framework.plugintool.PluginTool tool, ghidra.program.model.listing.Function selectedSourceFunction, ghidra.program.model.listing.Function selectedDestinationFunction, VTMatch existingMatch)
      Constructs a context for the function association provider's code comparison panel that will also allow function association table actions.
      Parameters:
      provider - the function association provider
      navigatable - the dual listing navigatable.
      tool - the tool containing the provider.
      selectedSourceFunction - the source function currently selected in the table or null.
      selectedDestinationFunction - the destination function currently selected in the table or null.
      existingMatch - the match for the indicated source and destination functions.
  • Method Details