Class PluginInstallerDialog
java.lang.Object
docking.DialogComponentProvider
ghidra.framework.plugintool.dialog.PluginInstallerDialog
- All Implemented Interfaces:
ActionContextProvider
,StatusListener
,TaskListener
Dialog that displays plugins in a tabular format, allowing users to install or uninstall them. The
plugins that are displayed are defined by the caller.
-
Field Summary
Fields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel
-
Constructor Summary
ConstructorDescriptionPluginInstallerDialog
(String title, PluginTool tool, PluginConfigurationModel model, List<PluginDescription> pluginDescriptions) Constructs a new provider. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
Override this method if you want to do something when the dialog is made visibleprotected void
The callback method for when the "OK" button is pressed.Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, closeDialog, dialogClosed, dismissCallback, dispose, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocation, getId, getInitialLocation, getLocationOnScreen, getParent, getPreferredSize, getRememberLocation, getRememberSize, getStatusColor, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, notifyContextChanged, removeAction, removeButton, removeWorkPanel, repack, setAccessibleDescription, setApplyEnabled, setApplyToolTip, setBackground, setCancelButtonText, setCancelEnabled, setCancelToolTip, setCursor, setDefaultButton, setDefaultSize, setDialogSize, setDismissToolTip, setFocusComponent, setGlassPane, setHelpLocation, setInitialLocation, setMinimumSize, setMinimumSize, setOkButtonText, setOkEnabled, setOkToolTip, setPreferredSize, setRememberLocation, setRememberSize, setResizable, setStatusJustification, setStatusText, setStatusText, setStatusText, setTitle, setTransient, setUseSharedLocation, showProgressBar, showTaskMonitorComponent, stopProgressTimer, taskCancelled, taskCompleted, toFront, toString, waitForCurrentTask
-
Constructor Details
-
PluginInstallerDialog
public PluginInstallerDialog(String title, PluginTool tool, PluginConfigurationModel model, List<PluginDescription> pluginDescriptions) Constructs a new provider.- Parameters:
title
- the title of the providertool
- the current toolmodel
- the plugin configuration modelpluginDescriptions
- the list of plugins to display in the dialog
-
-
Method Details
-
dialogShown
protected void dialogShown()Description copied from class:DialogComponentProvider
Override this method if you want to do something when the dialog is made visible- Overrides:
dialogShown
in classDialogComponentProvider
-
okCallback
protected void okCallback()Description copied from class:DialogComponentProvider
The callback method for when the "OK" button is pressed.- Overrides:
okCallback
in classDialogComponentProvider
-
close
public void close()- Overrides:
close
in classDialogComponentProvider
-