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
tool
-
Fields inherited from class docking.ComponentProvider
DEFAULT_WINDOW_GROUP, dockingTool
-
-
Constructor Summary
Constructors Constructor Description ListingMergePanelProvider(PluginTool tool, Plugin plugin, java.lang.String owner, ListingMergePanel mergePanel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionContext
getActionContext(java.awt.event.MouseEvent event)
Returns the context object which corresponds to the area of focus within this provider's component.javax.swing.JComponent
getComponent()
Returns the component to be displayedjava.util.List<DockingActionIf>
getPopupActions(DockingTool 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
getTool
-
Methods inherited from class docking.ComponentProvider
addLocalAction, addToTool, addToToolbar, closeComponent, componentActivated, componentDeactived, componentHidden, componentShown, contextChanged, createContext, createContext, createContext, 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
-
ListingMergePanelProvider
public ListingMergePanelProvider(PluginTool tool, Plugin plugin, java.lang.String owner, ListingMergePanel mergePanel)
-
-
Method Detail
-
getComponent
public javax.swing.JComponent getComponent()
Description copied from class:ComponentProvider
Returns the component to be displayed- Specified by:
getComponent
in classComponentProvider
- Returns:
- the component to be displayed
-
getActionContext
public ActionContext getActionContext(java.awt.event.MouseEvent event)
Description copied from class:ComponentProvider
Returns 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:
getActionContext
in interfaceActionContextProvider
- Overrides:
getActionContext
in classComponentProvider
- Parameters:
event
- popup event which corresponds to this request. May be null for key-stroke or other non-mouse event.
-
getPopupActions
public java.util.List<DockingActionIf> getPopupActions(DockingTool dt, ActionContext context)
Description copied from interface:PopupActionProvider
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. 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:
getPopupActions
in interfacePopupActionProvider
- Parameters:
dt
- the tool requesting the actionscontext
- the ActionContext- Returns:
- list of temporary popup actions; return null if there are no popup actions
-
-