Class VTFunctionAssociationProvider

java.lang.Object
docking.ComponentProvider
ghidra.framework.plugintool.ComponentProviderAdapter
ghidra.feature.vt.gui.provider.functionassociation.VTFunctionAssociationProvider
All Implemented Interfaces:
docking.action.ActionContextProvider, docking.actions.PopupActionProvider, VTControllerListener, help.HelpDescriptor

public class VTFunctionAssociationProvider extends ghidra.framework.plugintool.ComponentProviderAdapter implements VTControllerListener, docking.actions.PopupActionProvider
Provider for the version tracking function association table.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Icon
     

    Fields inherited from class ghidra.framework.plugintool.ComponentProviderAdapter

    tool

    Fields inherited from class docking.ComponentProvider

    DEFAULT_WINDOW_GROUP, dockingTool
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    void
     
    docking.ActionContext
     
     
    List<docking.action.DockingActionIf>
    getPopupActions(docking.Tool t, docking.ActionContext context)
     
    ghidra.program.model.listing.Function
     
    ghidra.program.model.listing.Function
     
    protected void
     
    protected void
     
    void
    Indicates that the version tracking mark-up item that is selected has changed.
    void
    Indicates that the version tracking match that is selected has changed.
    void
    optionsChanged(ghidra.framework.options.Options options)
     
    void
    readConfigState(ghidra.framework.options.SaveState saveState)
     
    void
     
    void
     
    void
    sessionUpdated(ghidra.framework.model.DomainObjectChangedEvent ev)
     
    void
    writeConfigState(ghidra.framework.options.SaveState saveState)
     

    Methods inherited from class ghidra.framework.plugintool.ComponentProviderAdapter

    getTool

    Methods inherited from class docking.ComponentProvider

    addLocalAction, addToTool, addToToolbar, adjustFontSize, canBeParent, closeComponent, componentActivated, componentDeactived, contextChanged, createContext, createContext, createContext, getBaseIcon, getContextType, getDefaultWindowPosition, getHelpInfo, getHelpLocation, getHelpObject, getIcon, getInstanceID, getIntraGroupPosition, getLocalActions, getMappedName, getMappedOwner, getName, getOwner, getSubTitle, getTabText, getTitle, getWindowGroup, getWindowSubMenuName, initializeInstanceID, isActive, isFocusedProvider, isInTool, isSnapshot, isTransient, isVisible, registerAdjustableFontId, registerProviderNameOwnerChange, removeAllLocalActions, removeFromTool, removeLocalAction, requestFocus, resetFontSize, setCustomSubTitle, setCustomTabText, setCustomTitle, setDefaultFocusComponent, setDefaultWindowPosition, setHelpLocation, setIcon, setIntraGroupPosition, setKeyBinding, setSubTitle, setTabText, setTitle, setTransient, setVisible, setWindowGroup, setWindowMenuGroup, toFront, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • FILTER_NOT_ACCEPTED_ICON

      public static final Icon FILTER_NOT_ACCEPTED_ICON
  • Constructor Details

    • VTFunctionAssociationProvider

      public VTFunctionAssociationProvider(VTController controller)
  • Method Details

    • componentHidden

      public void componentHidden()
      Overrides:
      componentHidden in class docking.ComponentProvider
    • componentShown

      public void componentShown()
      Overrides:
      componentShown in class docking.ComponentProvider
    • getSelectedSourceFunction

      public ghidra.program.model.listing.Function getSelectedSourceFunction()
    • getSelectedDestinationFunction

      public ghidra.program.model.listing.Function getSelectedDestinationFunction()
    • getPopupActions

      public List<docking.action.DockingActionIf> getPopupActions(docking.Tool t, docking.ActionContext context)
      Specified by:
      getPopupActions in interface docking.actions.PopupActionProvider
    • getActionContext

      public docking.ActionContext getActionContext(MouseEvent event)
      Specified by:
      getActionContext in interface docking.action.ActionContextProvider
      Overrides:
      getActionContext in class docking.ComponentProvider
    • getComponent

      public JComponent getComponent()
      Specified by:
      getComponent in class docking.ComponentProvider
    • disposed

      public void disposed()
      Specified by:
      disposed in interface VTControllerListener
    • reload

      public void reload()
    • goToSelectedSourceFunction

      protected void goToSelectedSourceFunction()
    • goToSelectedDestinationFunction

      protected void goToSelectedDestinationFunction()
    • addSelectionListener

      public void addSelectionListener(VTFunctionAssociationListener listener)
    • markupItemSelected

      public void markupItemSelected(VTMarkupItem markupItem)
      Description copied from interface: VTControllerListener
      Indicates that the version tracking mark-up item that is selected has changed.
      Specified by:
      markupItemSelected in interface VTControllerListener
      Parameters:
      markupItem - the mark-up item that is now selected or null if no item is selected or multiple mark-up items are selected.
    • matchSelected

      public void matchSelected(MatchInfo matchInfo)
      Description copied from interface: VTControllerListener
      Indicates that the version tracking match that is selected has changed.
      Specified by:
      matchSelected in interface VTControllerListener
      Parameters:
      matchInfo - the matchInfo for the match that is now selected or null if no item is selected or multiple matches are selected.
    • optionsChanged

      public void optionsChanged(ghidra.framework.options.Options options)
      Specified by:
      optionsChanged in interface VTControllerListener
    • sessionChanged

      public void sessionChanged(VTSession session)
      Specified by:
      sessionChanged in interface VTControllerListener
    • sessionUpdated

      public void sessionUpdated(ghidra.framework.model.DomainObjectChangedEvent ev)
      Specified by:
      sessionUpdated in interface VTControllerListener
    • readConfigState

      public void readConfigState(ghidra.framework.options.SaveState saveState)
    • writeConfigState

      public void writeConfigState(ghidra.framework.options.SaveState saveState)