Class ListingComparisonProvider
- java.lang.Object
-
- docking.ComponentProvider
-
- ghidra.framework.plugintool.ComponentProviderAdapter
-
- ghidra.app.util.viewer.listingpanel.ListingComparisonProvider
-
- All Implemented Interfaces:
ActionContextProvider
,HelpDescriptor
public class ListingComparisonProvider extends ComponentProviderAdapter
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
Constructors Constructor Description ListingComparisonProvider(PluginTool tool, java.lang.String name, Program p1, Program p2, AddressSetView set1, AddressSetView set2)
Constructor for a provider that can display a ListingCodeComparisonPanel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListingCodeComparisonPanel
getComponent()
Returns the component to be displayed-
Methods inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
getTool
-
Methods inherited from class docking.ComponentProvider
addLocalAction, addToTool, addToToolbar, 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, registerProviderNameOwnerChange, removeFromTool, removeLocalAction, requestFocus, setDefaultWindowPosition, setHelpLocation, setIcon, setIntraGroupPosition, setKeyBinding, setSubTitle, setTabText, setTitle, setTransient, setVisible, setWindowGroup, setWindowMenuGroup, toFront, toString
-
-
-
-
Constructor Detail
-
ListingComparisonProvider
public ListingComparisonProvider(PluginTool tool, java.lang.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 Detail
-
getComponent
public ListingCodeComparisonPanel getComponent()
Description copied from class:ComponentProvider
Returns the component to be displayed- Specified by:
getComponent
in classComponentProvider
- Returns:
- the component to be displayed
-
-