Class CheckoutsDialog
- java.lang.Object
-
- docking.DialogComponentProvider
-
- ghidra.framework.main.projectdata.actions.CheckoutsDialog
-
- All Implemented Interfaces:
ActionContextProvider
,ProjectListener
,StatusListener
,TaskListener
public class CheckoutsDialog extends DialogComponentProvider implements ProjectListener
Dialog for viewing all the current checkouts for a single domain file.
-
-
Field Summary
-
Fields inherited from class docking.DialogComponentProvider
applyButton, cancelButton, dismissButton, okButton, rootPanel
-
-
Constructor Summary
Constructors Constructor Description CheckoutsDialog(PluginTool tool, User user, DomainFile domainFile, ItemCheckoutStatus[] checkouts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dismissCallback()
The callback method for when the "Dismiss" button is pressed.ActionContext
getActionContext(java.awt.event.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, dialogClosed, dialogShown, doInitialize, escapeCallback, executeProgressTask, 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, okCallback, 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
-
CheckoutsDialog
public CheckoutsDialog(PluginTool tool, User user, DomainFile domainFile, ItemCheckoutStatus[] checkouts)
-
-
Method Detail
-
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
public void projectClosed(Project project)
Description copied from interface:ProjectListener
Notification that the given project is closed.- Specified by:
projectClosed
in interfaceProjectListener
- Parameters:
project
- project that is closed
-
projectOpened
public void projectOpened(Project project)
Description copied from interface:ProjectListener
Notification that the given project is open.- Specified by:
projectOpened
in interfaceProjectListener
- Parameters:
project
- project that is opened
-
getActionContext
public ActionContext getActionContext(java.awt.event.MouseEvent event)
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
-
-