Class VersionControlAction
java.lang.Object
docking.action.DockingAction
ghidra.framework.main.datatable.DomainFileProviderContextAction
ghidra.framework.main.projectdata.actions.VersionControlAction
- All Implemented Interfaces:
DockingActionIf
,HelpDescriptor
- Direct Known Subclasses:
VersionControlAddAction
,VersionControlCheckInAction
,VersionControlCheckOutAction
,VersionControlDataTypeArchiveUndoCheckoutAction
,VersionControlShowHistoryAction
,VersionControlUndoCheckOutAction
,VersionControlUndoHijackAction
,VersionControlUpdateAction
,VersionControlViewCheckOutAction
VersionControlAction is an abstract class that can be extended by each specific version
control action to be taken on a domain file.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected RepositoryAdapter
protected PluginTool
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
NOTE: do not call this from a non-Swing thread.boolean
isAddToPopup
(DomainFileContext context) Returns true if there is at least one of the provided domain files can be or is version controlled.protected boolean
True if the file system is locked by another thread for a long running operationMethods inherited from class ghidra.framework.main.datatable.DomainFileProviderContextAction
actionPerformed, actionPerformed, isAddToPopup, isEnabledForContext, 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
-
Field Details
-
GROUP
- See Also:
-
tool
-
repository
-
-
Constructor Details
-
VersionControlAction
-
-
Method Details
-
isAddToPopup
Returns true if there is at least one of the provided domain files can be or is version controlled.- Overrides:
isAddToPopup
in classDomainFileProviderContextAction
-
isFileSystemBusy
protected boolean isFileSystemBusy()True if the file system is locked by another thread for a long running operation- Returns:
- true if locked
-
checkRepositoryConnected
protected boolean checkRepositoryConnected()NOTE: do not call this from a non-Swing thread.- Returns:
- true if the repository is null or is connected.
-