Class VTMatchTableProvider

java.lang.Object
docking.ComponentProvider
ghidra.framework.plugintool.ComponentProviderAdapter
ghidra.feature.vt.gui.provider.matchtable.VTMatchTableProvider
All Implemented Interfaces:
docking.action.ActionContextProvider, FilterDialogModel<VTMatch>, VTControllerListener, help.HelpDescriptor

public class VTMatchTableProvider extends ghidra.framework.plugintool.ComponentProviderAdapter implements FilterDialogModel<VTMatch>, VTControllerListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    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
    dialogVisibilityChanged(boolean isVisible)
    Will be called when the visibility of the dialog using this model has changed
    void
     
    void
    Forces a refilter, even though filtering operations may be disabled.
    docking.ActionContext
     
     
    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
     
    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, componentHidden, 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

  • Constructor Details

    • VTMatchTableProvider

      public VTMatchTableProvider(VTController controller)
  • Method Details

    • setTableSelectionMode

      public void setTableSelectionMode(TableSelectionTrackingState state)
    • readConfigState

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

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

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

      public void repaint()
    • getComponent

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

      public void disposed()
      Specified by:
      disposed 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
    • getActionContext

      public docking.ActionContext getActionContext(MouseEvent event)
      Specified by:
      getActionContext in interface docking.action.ActionContextProvider
      Overrides:
      getActionContext in class docking.ComponentProvider
    • 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
    • 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.
    • addFilter

      public void addFilter(Filter<VTMatch> filter)
      Specified by:
      addFilter in interface FilterDialogModel<VTMatch>
    • forceRefilter

      public void forceRefilter()
      Forces a refilter, even though filtering operations may be disabled. The reload is necessary since the model contents may have changed
      Specified by:
      forceRefilter in interface FilterDialogModel<VTMatch>
    • dialogVisibilityChanged

      public void dialogVisibilityChanged(boolean isVisible)
      Description copied from interface: FilterDialogModel
      Will be called when the visibility of the dialog using this model has changed
      Specified by:
      dialogVisibilityChanged in interface FilterDialogModel<VTMatch>
      Parameters:
      isVisible - true if visible