Interface VTController

All Superinterfaces:
VTSessionSupplier
All Known Implementing Classes:
VTControllerImpl

public interface VTController extends VTSessionSupplier
  • Field Details

  • Method Details

    • addListener

      void addListener(VTControllerListener listener)
    • removeListener

      void removeListener(VTControllerListener listener)
    • getSession

      VTSession getSession()
      Specified by:
      getSession in interface VTSessionSupplier
    • openVersionTrackingSession

      boolean openVersionTrackingSession(ghidra.framework.model.DomainFile domainFile)
    • openVersionTrackingSession

      void openVersionTrackingSession(VTSession session)
    • closeVersionTrackingSession

      boolean closeVersionTrackingSession()
    • closeCurrentSessionIgnoringChanges

      void closeCurrentSessionIgnoringChanges()
    • dispose

      void dispose()
    • readConfigState

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

      void writeConfigState(ghidra.framework.options.SaveState saveState)
    • getSourceProgram

      ghidra.program.model.listing.Program getSourceProgram()
    • getDestinationProgram

      ghidra.program.model.listing.Program getDestinationProgram()
    • checkForUnSavedChanges

      boolean checkForUnSavedChanges()
    • getCorrelator

      ghidra.program.util.AddressCorrelation getCorrelator(ghidra.program.model.listing.Function source, ghidra.program.model.listing.Function destination)
    • getCorrelator

      ghidra.program.util.AddressCorrelation getCorrelator(ghidra.program.model.listing.Data source, ghidra.program.model.listing.Data destination)
    • getCurrentMarkupForLocation

      VTMarkupItem getCurrentMarkupForLocation(ghidra.program.util.ProgramLocation location, ghidra.program.model.listing.Program program)
    • getMarkupItems

      List<VTMarkupItem> getMarkupItems(docking.ActionContext context)
    • getOptions

      ghidra.framework.options.ToolOptions getOptions()
    • getParentComponent

      Component getParentComponent()
    • getServiceProvider

      ghidra.framework.plugintool.ServiceProvider getServiceProvider()
    • getVersionTrackingSessionName

      String getVersionTrackingSessionName()
    • refresh

      void refresh()
    • getMatchInfo

      MatchInfo getMatchInfo()
    • getTool

      ghidra.framework.plugintool.PluginTool getTool()
    • setSelectedMatch

      void setSelectedMatch(VTMatch match)
    • getMatchInfo

      MatchInfo getMatchInfo(VTMatch match)
    • setSelectedMarkupItem

      void setSelectedMarkupItem(VTMarkupItem markupItem)
    • getCorrelator

      AddressCorrelatorManager getCorrelator()
    • domainObjectChanged

      void domainObjectChanged(ghidra.framework.model.DomainObjectChangedEvent ev)
    • optionsChanged

      void optionsChanged(ghidra.framework.options.ToolOptions options, String optionName, Object oldValue, Object newValue)
    • gotoSourceLocation

      void gotoSourceLocation(ghidra.program.util.ProgramLocation location)
    • gotoDestinationLocation

      void gotoDestinationLocation(ghidra.program.util.ProgramLocation location)
    • runVTTask

      void runVTTask(VtTask task)
      Runs VT tasks, listening for destination program changes and updates undo/redo state accordingly.
      Parameters:
      task - the task
    • getSourceSymbol

      ghidra.program.model.symbol.Symbol getSourceSymbol(VTAssociation association)
    • getDestinationSymbol

      ghidra.program.model.symbol.Symbol getDestinationSymbol(VTAssociation association)
    • getSelectionInSourceTool

      ghidra.program.model.address.AddressSetView getSelectionInSourceTool()
      Gets the address set for the current selection in the Source Tool.
      Returns:
      the current selection or null.
    • getSelectionInDestinationTool

      ghidra.program.model.address.AddressSetView getSelectionInDestinationTool()
      Gets the address set for the current selection in the Destination Tool.
      Returns:
      the current selection or null.
    • setSelectionInSourceTool

      void setSelectionInSourceTool(ghidra.program.model.address.AddressSetView sourceSet)
      Sets the selection in the source tool to the given address set.
      Parameters:
      sourceSet - the addressSet to set the source tool's selection.
    • setSelectionInDestinationTool

      void setSelectionInDestinationTool(ghidra.program.model.address.AddressSetView destinationSet)
      Sets the selection in the destination tool to the given address set.
      Parameters:
      destinationSet - the addressSet to set the destination tool's selection.
    • markupItemStatusChanged

      void markupItemStatusChanged(VTMarkupItem markupItem)
    • getSourceColorizingService

      ghidra.app.plugin.core.colorizer.ColorizingService getSourceColorizingService()
    • getDestinationColorizingService

      ghidra.app.plugin.core.colorizer.ColorizingService getDestinationColorizingService()