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
ConstructorsConstructorDescriptionListingDisplay(PluginTool tool, String owner, ListingDiff listingDiff, ListingCodeComparisonOptions comparsionOptions, Duo.Side side) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHighlightProvider(ListingHighlightProvider highlightProvider) voidaddHoverService(ghidra.app.plugin.core.codebrowser.hover.ListingHoverService service) voidgoTo(ProgramLocation location) booleanvoidCalled when the ListingDiff's set of differences and unmatched addresses has changed.voidremoveHighlightProvider(ListingHighlightProvider highlightProvider) voidrepaint()voidsetDiffHighlightProvider(ListingDiffHighlightProvider newDiffHighlights) voidsetHoverMode(boolean enabled) voidsetMouseNavigationEnabled(boolean enabled) voidsetProgramView(Program program, AddressSetView view, String name) voidsetView(AddressSetView view) voidsetViewerPosition(ViewerPosition position) voidshowHeader(boolean show) voidupdateCursorMarkers(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:ListingDiffChangeListenerCalled when the ListingDiff's set of differences and unmatched addresses has changed.- Specified by:
listingDiffChangedin interfaceListingDiffChangeListener
-