Class CheckoutsDialog
java.lang.Object
docking.DialogComponentProvider
ghidra.framework.main.projectdata.actions.CheckoutsDialog
- All Implemented Interfaces:
ActionContextProvider
,ProjectListener
,StatusListener
,TaskListener
Dialog for viewing all the current checkouts for a single domain file.
-
Field Summary
Fields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel
-
Constructor Summary
ConstructorDescriptionCheckoutsDialog
(PluginTool tool, User user, DomainFile domainFile, ItemCheckoutStatus[] checkouts) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
The callback method for when the "Dismiss" button is pressed.getActionContext
(MouseEvent event) An optional extension point for subclasses to provider action context for the actions used by this provider.void
projectClosed
(Project project) Notification that the given project is closed.void
projectOpened
(Project project) Notification that the given project is open.Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, close, closeDialog, dialogClosed, dialogShown, dispose, doInitialize, escapeCallback, executeProgressTask, 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, okCallback, 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
-
CheckoutsDialog
public CheckoutsDialog(PluginTool tool, User user, DomainFile domainFile, ItemCheckoutStatus[] checkouts)
-
-
Method Details
-
dismissCallback
protected void dismissCallback()Description copied from class:DialogComponentProvider
The callback method for when the "Dismiss" button is pressed. The default behavior is to call the cancel Callback.- Overrides:
dismissCallback
in classDialogComponentProvider
-
projectClosed
Description copied from interface:ProjectListener
Notification that the given project is closed.- Specified by:
projectClosed
in interfaceProjectListener
- Parameters:
project
- project that is closed
-
projectOpened
Description copied from interface:ProjectListener
Notification that the given project is open.- Specified by:
projectOpened
in interfaceProjectListener
- Parameters:
project
- project that is opened
-
getActionContext
Description copied from class:DialogComponentProvider
An optional extension point for subclasses to provider action context for the actions used by this provider.- Specified by:
getActionContext
in interfaceActionContextProvider
- Overrides:
getActionContext
in classDialogComponentProvider
- Parameters:
event
- The mouse event used (may be null) to generate a popup menu
-