Class PluginInstallerDialog
- java.lang.Object
-
- docking.DialogComponentProvider
-
- ghidra.framework.plugintool.dialog.PluginInstallerDialog
-
- All Implemented Interfaces:
ActionContextProvider
,StatusListener
,TaskListener
public class PluginInstallerDialog extends DialogComponentProvider
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, cancelButton, dismissButton, okButton, rootPanel
-
-
Constructor Summary
Constructors Constructor Description PluginInstallerDialog(java.lang.String title, PluginTool tool, java.util.List<PluginDescription> pluginDescriptions)
Constructs a new provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
dialogShown()
Override this method if you want to do something when the dialog is made visibleprotected void
okCallback()
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, dialogClosed, dismissCallback, doInitialize, escapeCallback, executeProgressTask, getActionContext, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocatdion, getIntialLocation, getLocationOnScreen, getPreferredSize, getRemberSize, getRememberLocation, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, main, notifyContextChanged, removeAction, removeButton, removeWorkPanel, repack, 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 Detail
-
PluginInstallerDialog
public PluginInstallerDialog(java.lang.String title, PluginTool tool, java.util.List<PluginDescription> pluginDescriptions)
Constructs a new provider.- Parameters:
title
- the title of the providertool
- the current toolpluginDescriptions
- the list of plugins to display in the dialog
-
-
Method Detail
-
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
-
-