Class VTFunctionAssociationContext

java.lang.Object
docking.DefaultActionContext
ghidra.feature.vt.gui.provider.functionassociation.VTFunctionAssociationContext
All Implemented Interfaces:
docking.ActionContext, FunctionAssociationContext

public class VTFunctionAssociationContext extends docking.DefaultActionContext implements FunctionAssociationContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    VTFunctionAssociationContext(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.
  • 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
    ghidra.framework.plugintool.PluginTool
     

    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
  • Constructor Details

    • VTFunctionAssociationContext

      public VTFunctionAssociationContext(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.
      Parameters:
      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