Package ghidra.app.merge.tool
Class ListingMergePanelProvider
java.lang.Object
docking.ComponentProvider
ghidra.framework.plugintool.ComponentProviderAdapter
ghidra.app.merge.tool.ListingMergePanelProvider
- All Implemented Interfaces:
ActionContextProvider,PopupActionProvider,HelpDescriptor
public class ListingMergePanelProvider
extends ComponentProviderAdapter
implements PopupActionProvider
-
Field Summary
Fields inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
toolFields inherited from class docking.ComponentProvider
DEFAULT_WINDOW_GROUP, dockingTool -
Constructor Summary
ConstructorsConstructorDescriptionListingMergePanelProvider(PluginTool tool, Plugin plugin, String owner, ListingMergePanel mergePanel) -
Method Summary
Modifier and TypeMethodDescriptiongetActionContext(MouseEvent event) Returns the context object which corresponds to the area of focus within this provider's component.Returns the component to be displayedgetPopupActions(Tool dt, ActionContext context) Provides notification that the popup menu is about to be displayed and allows a set of temporary actions to be included in the popup menu.Methods inherited from class ghidra.framework.plugintool.ComponentProviderAdapter
getToolMethods inherited from class docking.ComponentProvider
addLocalAction, addToTool, addToToolbar, adjustFontSize, canBeParent, closeComponent, componentActivated, componentDeactived, componentHidden, componentMadeDisplayable, componentShown, contextChanged, createContext, createContext, createContext, getBaseIcon, getContextType, getDefaultWindowPosition, getHelpInfo, getHelpLocation, getHelpObject, getIcon, getInstanceID, getIntraGroupPosition, getLocalActions, getMappedName, getMappedOwner, getName, getOwner, getSubTitle, getTabText, getTitle, getWindowGroup, getWindowSubMenuName, initializeInstanceID, isActive, isFocusedProvider, isInTool, isShowing, isSnapshot, isTransient, isVisible, registerAdjustableFontId, registerProviderNameOwnerChange, removeAllLocalActions, removeFromTool, removeLocalAction, requestFocus, resetFontSize, setCustomSubTitle, setCustomTabText, setCustomTitle, setDefaultFocusComponent, setDefaultWindowPosition, setHelpLocation, setIcon, setIntraGroupPosition, setKeyBinding, setSubTitle, setTabText, setTitle, setTransient, setVisible, setWindowGroup, setWindowMenuGroup, toFront, toString
-
Constructor Details
-
ListingMergePanelProvider
public ListingMergePanelProvider(PluginTool tool, Plugin plugin, String owner, ListingMergePanel mergePanel)
-
-
Method Details
-
getComponent
Description copied from class:ComponentProviderReturns the component to be displayed- Specified by:
getComponentin classComponentProvider- Returns:
- the component to be displayed
-
getActionContext
Description copied from class:ComponentProviderReturns the context object which corresponds to the area of focus within this provider's component. Null is returned when there is no context.- Specified by:
getActionContextin interfaceActionContextProvider- Overrides:
getActionContextin classComponentProvider- Parameters:
event- popup event which corresponds to this request. May be null for key-stroke or other non-mouse event.
-
getPopupActions
Description copied from interface:PopupActionProviderProvides notification that the popup menu is about to be displayed and allows a set of temporary actions to be included in the popup menu. Actions returned will be included in the menu if they have a valid popup menu path and respond true to theDockingActionIf.isValidContext(ActionContext)call.- Specified by:
getPopupActionsin interfacePopupActionProvider- Parameters:
dt- the tool requesting the actionscontext- the ActionContext- Returns:
- list of temporary popup actions; return null if there are no popup actions
-