Package ghidra.feature.vt.gui.plugin
Class VTSubToolManager
java.lang.Object
ghidra.feature.vt.gui.plugin.VTSubToolManager
- All Implemented Interfaces:
VTControllerListener
,ghidra.framework.options.OptionsChangeListener
public class VTSubToolManager
extends Object
implements VTControllerListener, ghidra.framework.options.OptionsChangeListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(VTSubToolManagerListener listener) void
disposed()
List
<ghidra.framework.model.DomainFile> List
<ghidra.framework.model.DomainFile> ghidra.app.plugin.core.colorizer.ColorizingService
ghidra.app.plugin.core.colorizer.ColorizingService
ghidra.framework.plugintool.PluginTool
Get's the source tool from the VT session.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
optionsChanged
(ghidra.framework.options.ToolOptions options, String optionName, Object oldValue, Object newValue) void
removeListener
(VTSubToolManagerListener listener) void
void
sessionChanged
(VTSession session) void
sessionUpdated
(ghidra.framework.model.DomainObjectChangedEvent ev) void
void
setSelectionInDestinationTool
(ghidra.program.model.address.AddressSetView destinationSet) void
setSelectionInSourceTool
(ghidra.program.model.address.AddressSetView sourceSet)
-
Method Details
-
addListener
-
removeListener
-
resetTools
public void resetTools() -
optionsChanged
public void optionsChanged(ghidra.framework.options.ToolOptions options, String optionName, Object oldValue, Object newValue) - Specified by:
optionsChanged
in interfaceghidra.framework.options.OptionsChangeListener
-
sessionChanged
- Specified by:
sessionChanged
in interfaceVTControllerListener
-
sessionUpdated
public void sessionUpdated(ghidra.framework.model.DomainObjectChangedEvent ev) - Specified by:
sessionUpdated
in interfaceVTControllerListener
-
disposed
public void disposed()- Specified by:
disposed
in interfaceVTControllerListener
-
getChangedProgramsInSourceTool
-
getChangedProgramsInDestinationTool
-
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.
-
setMatch
-
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.
-
optionsChanged
public void optionsChanged(ghidra.framework.options.Options options) - Specified by:
optionsChanged
in interfaceVTControllerListener
-
getSourceTool
public ghidra.framework.plugintool.PluginTool getSourceTool()Get's the source tool from the VT session.- Returns:
- The source tool from the VT session.
-
setSelectionInDestinationTool
public void setSelectionInDestinationTool(ghidra.program.model.address.AddressSetView destinationSet) -
setSelectionInSourceTool
public void setSelectionInSourceTool(ghidra.program.model.address.AddressSetView sourceSet) -
getSourceColorizingService
public ghidra.app.plugin.core.colorizer.ColorizingService getSourceColorizingService() -
getDestinationColorizingService
public ghidra.app.plugin.core.colorizer.ColorizingService getDestinationColorizingService()
-