Package ghidra.app.plugin.debug
Class DbViewerProvider
- java.lang.Object
-
- docking.ComponentProvider
-
- ghidra.framework.plugintool.ComponentProviderAdapter
-
- ghidra.app.plugin.debug.DbViewerProvider
-
- All Implemented Interfaces:
ActionContextProvider
,HelpDescriptor
public class DbViewerProvider extends ComponentProviderAdapter
-
-
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 DbViewerProvider(Plugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
closeDatabase()
javax.swing.JComponent
getComponent()
Returns the component to be displayedprotected void
openDatabase(java.lang.String databaseName, DBHandle handle)
Opens the database for viewing its table data.-
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, removeAllLocalActions, removeFromTool, removeLocalAction, requestFocus, setDefaultWindowPosition, setHelpLocation, setIcon, setIntraGroupPosition, setKeyBinding, setSubTitle, setTabText, setTitle, setTransient, setVisible, setWindowGroup, setWindowMenuGroup, toFront, toString
-
-
-
-
Constructor Detail
-
DbViewerProvider
public DbViewerProvider(Plugin plugin)
-
-
Method Detail
-
closeDatabase
protected void closeDatabase()
-
openDatabase
protected void openDatabase(java.lang.String databaseName, DBHandle handle)
Opens the database for viewing its table data.- Parameters:
databaseName
- the name of the database.handle
- the DBHandle for the open database
-
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
-
-