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 inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
tool
Fields inherited from class docking.ComponentProvider
DEFAULT_WINDOW_GROUP, dockingTool
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
disposed()
docking.ActionContext
getActionContext
(MouseEvent event) 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
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
readConfigState
(ghidra.framework.options.SaveState saveState) void
reload()
void
sessionChanged
(VTSession session) 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
-
Field Details
-
FILTER_NOT_ACCEPTED_ICON
-
-
Constructor Details
-
VTFunctionAssociationProvider
-
-
Method Details
-
componentHidden
public void componentHidden()- Overrides:
componentHidden
in classdocking.ComponentProvider
-
componentShown
public void componentShown()- Overrides:
componentShown
in classdocking.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 interfacedocking.actions.PopupActionProvider
-
getActionContext
- Specified by:
getActionContext
in interfacedocking.action.ActionContextProvider
- Overrides:
getActionContext
in classdocking.ComponentProvider
-
getComponent
- Specified by:
getComponent
in classdocking.ComponentProvider
-
disposed
public void disposed()- Specified by:
disposed
in interfaceVTControllerListener
-
reload
public void reload() -
goToSelectedSourceFunction
protected void goToSelectedSourceFunction() -
goToSelectedDestinationFunction
protected void goToSelectedDestinationFunction() -
addSelectionListener
-
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.
-
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.
-
optionsChanged
public void optionsChanged(ghidra.framework.options.Options options) - Specified by:
optionsChanged
in interfaceVTControllerListener
-
sessionChanged
- Specified by:
sessionChanged
in interfaceVTControllerListener
-
sessionUpdated
public void sessionUpdated(ghidra.framework.model.DomainObjectChangedEvent ev) - Specified by:
sessionUpdated
in interfaceVTControllerListener
-
readConfigState
public void readConfigState(ghidra.framework.options.SaveState saveState) -
writeConfigState
public void writeConfigState(ghidra.framework.options.SaveState saveState)
-