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
ConstructorsConstructorDescriptionPluginInstallerDialog(String title, PluginTool tool, PluginConfigurationModel model, List<PluginDescription> pluginDescriptions) Constructs a new provider. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidOverride this method if you want to do something when the dialog is made visibleprotected voidThe 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, createSharedActions, 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, isDialogKeyBindingAction, 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:DialogComponentProviderOverride this method if you want to do something when the dialog is made visible- Overrides:
dialogShownin classDialogComponentProvider
-
okCallback
protected void okCallback()Description copied from class:DialogComponentProviderThe callback method for when the "OK" button is pressed.- Overrides:
okCallbackin classDialogComponentProvider
-
close
public void close()- Overrides:
closein classDialogComponentProvider
-