Class ListingDisplay
java.lang.Object
ghidra.features.base.codecompare.listing.ListingDisplay
- All Implemented Interfaces:
ListingDiffChangeListener
Represents one side of a dual listing compare window. It holds the listing panel and
related state information for one side.
-
Constructor Summary
ConstructorDescriptionListingDisplay
(PluginTool tool, String owner, ListingDiff listingDiff, ListingCodeComparisonOptions comparsionOptions, Duo.Side side) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHighlightProvider
(ListingHighlightProvider highlightProvider) void
addHoverService
(ghidra.app.plugin.core.codebrowser.hover.ListingHoverService service) void
goTo
(ProgramLocation location) boolean
void
Called when the ListingDiff's set of differences and unmatched addresses has changed.void
removeHighlightProvider
(ListingHighlightProvider highlightProvider) void
repaint()
void
setDiffHighlightProvider
(ListingDiffHighlightProvider newDiffHighlights) void
setHoverMode
(boolean enabled) void
setMouseNavigationEnabled
(boolean enabled) void
setProgramView
(Program program, AddressSetView view, String name) void
setView
(AddressSetView view) void
setViewerPosition
(ViewerPosition position) void
showHeader
(boolean show) void
updateCursorMarkers
(ProgramLocation location)
-
Constructor Details
-
ListingDisplay
public ListingDisplay(PluginTool tool, String owner, ListingDiff listingDiff, ListingCodeComparisonOptions comparsionOptions, Duo.Side side)
-
-
Method Details
-
repaint
public void repaint() -
setDiffHighlightProvider
-
addHighlightProvider
-
removeHighlightProvider
-
addHoverService
public void addHoverService(ghidra.app.plugin.core.codebrowser.hover.ListingHoverService service) -
showHeader
public void showHeader(boolean show) -
setHoverMode
public void setHoverMode(boolean enabled) -
setView
-
isHeaderShowing
public boolean isHeaderShowing() -
setProgramView
-
getProgramLocation
-
updateCursorMarkers
-
goTo
-
getListingPanel
-
getFormatManager
-
getViewerPosition
-
setViewerPosition
-
listingDiffChanged
public void listingDiffChanged()Description copied from interface:ListingDiffChangeListener
Called when the ListingDiff's set of differences and unmatched addresses has changed.- Specified by:
listingDiffChanged
in interfaceListingDiffChangeListener
-