Class VTMatchOneToManyTableProvider
java.lang.Object
docking.ComponentProvider
ghidra.framework.plugintool.ComponentProviderAdapter
ghidra.feature.vt.gui.provider.onetomany.VTMatchOneToManyTableProvider
- All Implemented Interfaces:
docking.action.ActionContextProvider
,FilterDialogModel<VTMatch>
,VTControllerListener
,VTSubToolManagerListener
,help.HelpDescriptor
- Direct Known Subclasses:
VTMatchDestinationTableProvider
,VTMatchSourceTableProvider
public abstract class VTMatchOneToManyTableProvider
extends ghidra.framework.plugintool.ComponentProviderAdapter
implements FilterDialogModel<VTMatch>, VTControllerListener, VTSubToolManagerListener
The docking window that provides a table of the other tool's function matches
for the function containing the current cursor location in this tool's
listing.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final VTController
protected static final Color
protected ghidra.util.table.GhidraTable
protected VTMatchOneToManyTableModel
protected final VTSubToolManager
Fields inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
tool
Fields inherited from class docking.ComponentProvider
DEFAULT_WINDOW_GROUP, dockingTool
-
Constructor Summary
ConstructorDescriptionVTMatchOneToManyTableProvider
(ghidra.framework.plugintool.PluginTool tool, VTController controller, VTSubToolManager subToolManager, boolean isSource) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
protected JPanel
void
dialogVisibilityChanged
(boolean isVisible) Will be called when the visibility of the dialog using this model has changedvoid
disposed()
void
Forces a refilter, even though filtering operations may be disableddocking.ActionContext
getActionContext
(MouseEvent event) protected abstract VTMatchOneToManyTableModel
getTitle()
protected ghidra.util.table.GhidraTable
void
loadLocalInfo
(ghidra.program.model.address.Address infoAddress) void
markupItemSelected
(VTMarkupItem markupItem) Indicates that the version tracking mark-up item that is selected has changed.void
matchSelected
(MatchInfo matchInfo) Indicates that the version tracking match that is selected has changed.void
optionsChanged
(ghidra.framework.options.Options options) void
reload()
void
repaint()
void
sessionChanged
(VTSession session) void
sessionUpdated
(ghidra.framework.model.DomainObjectChangedEvent ev) void
setAddress
(ghidra.program.model.address.Address matchAddress) void
setSelectedMatch
(VTMatch match) 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, 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
-
Field Details
-
LOCAL_INFO_FOREGROUND_COLOR
-
matchesTable
protected ghidra.util.table.GhidraTable matchesTable -
oneToManyTableModel
-
controller
-
subToolManager
-
-
Constructor Details
-
VTMatchOneToManyTableProvider
public VTMatchOneToManyTableProvider(ghidra.framework.plugintool.PluginTool tool, VTController controller, VTSubToolManager subToolManager, boolean isSource)
-
-
Method Details
-
getTitle
- Overrides:
getTitle
in classdocking.ComponentProvider
-
componentHidden
public void componentHidden()- Overrides:
componentHidden
in classdocking.ComponentProvider
-
componentShown
public void componentShown()- Overrides:
componentShown
in classdocking.ComponentProvider
-
initializeMatchesTable
protected ghidra.util.table.GhidraTable initializeMatchesTable() -
getMatchesTableModel
-
setSelectedMatch
- Specified by:
setSelectedMatch
in interfaceVTSubToolManagerListener
-
repaint
public void repaint() -
reload
public void reload() -
getComponent
- Specified by:
getComponent
in classdocking.ComponentProvider
-
disposed
public void disposed()- Specified by:
disposed
in interfaceVTControllerListener
-
getActionContext
- Specified by:
getActionContext
in interfacedocking.action.ActionContextProvider
- Overrides:
getActionContext
in classdocking.ComponentProvider
-
setAddress
public void setAddress(ghidra.program.model.address.Address matchAddress) -
createLocalInfoPanel
-
loadLocalInfo
public void loadLocalInfo(ghidra.program.model.address.Address infoAddress) -
matchSelected
Description copied from interface:VTControllerListener
Indicates that the version tracking match that is selected has changed.- Specified by:
matchSelected
in interfaceVTControllerListener
- Parameters:
matchInfo
- the matchInfo for the match that is now selected or null if no item is selected or multiple matches are selected.
-
sessionChanged
- Specified by:
sessionChanged
in interfaceVTControllerListener
-
sessionUpdated
public void sessionUpdated(ghidra.framework.model.DomainObjectChangedEvent ev) - Specified by:
sessionUpdated
in interfaceVTControllerListener
-
optionsChanged
public void optionsChanged(ghidra.framework.options.Options options) - Specified by:
optionsChanged
in interfaceVTControllerListener
-
markupItemSelected
Description copied from interface:VTControllerListener
Indicates that the version tracking mark-up item that is selected has changed.- Specified by:
markupItemSelected
in interfaceVTControllerListener
- 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
- Specified by:
addFilter
in interfaceFilterDialogModel<VTMatch>
-
forceRefilter
public void forceRefilter()Forces a refilter, even though filtering operations may be disabled- Specified by:
forceRefilter
in interfaceFilterDialogModel<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 interfaceFilterDialogModel<VTMatch>
- Parameters:
isVisible
- true if visible
-