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 voidclose()protected voiddialogShown()Override this method if you want to do something when the dialog is made visibleprotected voidokCallback()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: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
-
-