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
toolFields inherited from class docking.ComponentProvider
DEFAULT_WINDOW_GROUP, dockingTool -
Constructor Summary
ConstructorsConstructorDescriptionListingComparisonProvider(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
getToolMethods inherited from class docking.ComponentProvider
addLocalAction, addToTool, addToToolbar, adjustFontSize, canBeParent, closeComponent, componentActivated, componentDeactived, componentHidden, componentShown, contextChanged, createContext, createContext, createContext, getActionContext, getContextType, getDefaultWindowPosition, getHelpInfo, getHelpLocation, getHelpObject, getIcon, getInstanceID, getIntraGroupPosition, getMappedName, getMappedOwner, getName, getOwner, getSubTitle, getTabText, getTitle, getWindowGroup, getWindowSubMenuName, initializeInstanceID, isActive, isFocusedProvider, isInTool, isSnapshot, isTransient, isVisible, registerAdjustableFontId, registerProviderNameOwnerChange, removeAllLocalActions, removeFromTool, removeLocalAction, requestFocus, resetFontSize, 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:ComponentProviderReturns the component to be displayed- Specified by:
getComponentin classComponentProvider- Returns:
- the component to be displayed
-