Class VersionControlCheckInAction
java.lang.Object
docking.action.DockingAction
ghidra.framework.main.datatable.DomainFileProviderContextAction
ghidra.framework.main.projectdata.actions.VersionControlAction
ghidra.framework.main.projectdata.actions.VersionControlCheckInAction
- All Implemented Interfaces:
DockingActionIf
,HelpDescriptor
Action to check-in domain files to the repository.
-
Field Summary
Fields inherited from class ghidra.framework.main.projectdata.actions.VersionControlAction
GROUP, repository, tool
Fields inherited from interface docking.action.DockingActionIf
DESCRIPTION_PROPERTY, ENABLEMENT_PROPERTY, GLOBALCONTEXT_PROPERTY, KEYBINDING_DATA_PROPERTY, MENUBAR_DATA_PROPERTY, POPUP_MENU_DATA_PROPERTY, TOOLBAR_DATA_PROPERTY
-
Constructor Summary
ConstructorDescriptionVersionControlCheckInAction
(Plugin plugin, Component parent) Creates an action to check-in domain files to the repository. -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(DomainFileContext context) void
checkIn
(List<DomainFile> fileList) Check in the list of domain files.boolean
isEnabledForContext
(DomainFileContext context) Methods inherited from class ghidra.framework.main.projectdata.actions.VersionControlAction
checkRepositoryConnected, isAddToPopup, isFileSystemBusy
Methods inherited from class ghidra.framework.main.datatable.DomainFileProviderContextAction
actionPerformed, isAddToPopup, isEnabledForContext, isValidContext, isValidContext
Methods inherited from class docking.action.DockingAction
addPropertyChangeListener, addToWindowWhen, createButton, createMenuItem, dispose, doCreateButton, doCreateMenuItem, enabledWhen, firePropertyChanged, getContextClass, getDefaultKeyBindingData, getDescription, getFullName, getHelpInfo, getHelpLocation, getHelpObject, getInceptionFromTheFirstClassThatIsNotUsOrABuilder, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getPopupMenuData, getPreferredKeyBindingType, getToolBarData, isEnabled, markHelpUnnecessary, popupWhen, removePropertyChangeListener, setAddToAllWindows, setContextClass, setDescription, setEnabled, setHelpLocation, setKeyBindingData, setMenuBarData, setPopupMenuData, setToolBarData, setUnvalidatedKeyBindingData, shouldAddToWindow, supportsDefaultContext, toString, validContextWhen
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface docking.action.DockingActionIf
createMenuComponent, getOwnerDescription
-
Constructor Details
-
VersionControlCheckInAction
Creates an action to check-in domain files to the repository.- Parameters:
plugin
- the plug-in that owns this action.parent
- the component to be used as the parent of the check-in dialog.
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in classDomainFileProviderContextAction
-
isEnabledForContext
- Overrides:
isEnabledForContext
in classDomainFileProviderContextAction
-
checkIn
Check in the list of domain files. Domain files that cannot be closed are skipped in the list.- Parameters:
fileList
- list of DomainFile objects
-