Package ghidra.framework.plugintool
Class ComponentProviderAdapter
java.lang.Object
docking.ComponentProvider
ghidra.framework.plugintool.ComponentProviderAdapter
- All Implemented Interfaces:
ActionContextProvider
,HelpDescriptor
- Direct Known Subclasses:
DbViewerProvider
,DomainEventComponentProvider
,DomainFolderChangesDisplayComponentProvider
,EventDisplayComponentProvider
,FSBComponentProvider
,ListingMergePanelProvider
,MemorySearchProvider
,NavigatableComponentProviderAdapter
,PropertyManagerProvider
,TextEditorComponentProvider
Extends the
ComponentProvider
to fit into the Plugin architecture by taking in a
PluginTool
which extends Tool
. Most implementers will want to extend
this class instead of the ComponentProvider class because they will want to access the extra
methods provided by PluginTool over DockingTool without having to cast the dockingTool variable.-
Field Summary
Fields inherited from class docking.ComponentProvider
DEFAULT_WINDOW_GROUP, dockingTool
-
Constructor Summary
ConstructorDescriptionComponentProviderAdapter
(PluginTool tool, String name, String owner) Creates a new component provider with a default location ofWindowPosition.WINDOW
.ComponentProviderAdapter
(PluginTool tool, String name, String owner, Class<?> contextType) Creates a new component provider with a default location ofWindowPosition.WINDOW
. -
Method Summary
Methods inherited from class docking.ComponentProvider
addLocalAction, addToTool, addToToolbar, adjustFontSize, canBeParent, closeComponent, componentActivated, componentDeactived, componentHidden, componentShown, contextChanged, createContext, createContext, createContext, getActionContext, getBaseIcon, getComponent, 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, setCustomSubTitle, setCustomTabText, setCustomTitle, setDefaultFocusComponent, setDefaultWindowPosition, setHelpLocation, setIcon, setIntraGroupPosition, setKeyBinding, setSubTitle, setTabText, setTitle, setTransient, setVisible, setWindowGroup, setWindowMenuGroup, toFront, toString
-
Field Details
-
tool
-
-
Constructor Details
-
ComponentProviderAdapter
Creates a new component provider with a default location ofWindowPosition.WINDOW
.- Parameters:
tool
- the plugin tool.name
- The providers name. This is used to group similar providers into a tab within the same window.owner
- The owner of this provider, usually a plugin name.
-
ComponentProviderAdapter
Creates a new component provider with a default location ofWindowPosition.WINDOW
.- Parameters:
tool
- the plugin tool.name
- The providers name. This is used to group similar providers into a tab within the same window.owner
- The owner of this provider, usually a plugin namecontextType
- the type of context supported by this provider; may be null
-
-
Method Details
-
getTool
- Overrides:
getTool
in classComponentProvider
-