Class ListingComparisonProvider
java.lang.Object
docking.ComponentProvider
ghidra.framework.plugintool.ComponentProviderAdapter
ghidra.app.util.viewer.listingpanel.ListingComparisonProvider
- All Implemented Interfaces:
ActionContextProvider
,HelpDescriptor
Provider for displaying a ListingCodeComparisonPanel.
-
Field Summary
Fields inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
tool
Fields inherited from class docking.ComponentProvider
DEFAULT_WINDOW_GROUP, dockingTool
-
Constructor Summary
ConstructorDescriptionListingComparisonProvider
(PluginTool tool, String name, Program p1, Program p2, AddressSetView set1, AddressSetView set2) Constructor for a provider that can display a ListingCodeComparisonPanel. -
Method Summary
Modifier and TypeMethodDescriptionReturns the component to be displayedMethods inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
getTool
Methods inherited from class docking.ComponentProvider
addLocalAction, addToTool, addToToolbar, adjustFontSize, canBeParent, closeComponent, componentActivated, componentDeactived, componentHidden, componentShown, contextChanged, createContext, createContext, createContext, getActionContext, 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, setDefaultFocusComponent, setDefaultWindowPosition, setHelpLocation, setIcon, setIntraGroupPosition, setKeyBinding, setSubTitle, setTabText, setTitle, setTransient, setVisible, setWindowGroup, setWindowMenuGroup, toFront, toString
-
Constructor Details
-
ListingComparisonProvider
public ListingComparisonProvider(PluginTool tool, String name, Program p1, Program p2, AddressSetView set1, AddressSetView set2) Constructor for a provider that can display a ListingCodeComparisonPanel.- Parameters:
tool
- the tool that contains this provider.name
- the owner of this provider, which is usually a plugin name.p1
- program for the listing displayed in the left side of the panel.p2
- program for the listing displayed in the right side of the panel.set1
- the address set indicating the portion of the listing displayed in the left side of the panel.set2
- the address set indicating the portion of the listing displayed in the right side of the panel.
-
-
Method Details
-
getComponent
Description copied from class:ComponentProvider
Returns the component to be displayed- Specified by:
getComponent
in classComponentProvider
- Returns:
- the component to be displayed
-