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
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected RepositoryAdapterprotected PluginToolFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanNOTE: do not call this from a non-Swing thread.booleanisAddToPopup(DomainFileContext context) Returns true if there is at least one of the provided domain files can be or is version controlled.protected booleanTrue 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, isValidContextMethods 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, setDefaultKeyBindingData, setDescription, setEnabled, setHelpLocation, setKeyBindingData, setMenuBarData, setPopupMenuData, setToolBarData, setUnvalidatedKeyBindingData, shouldAddToWindow, supportsDefaultContext, toString, validContextWhenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
isAddToPopupin 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.
-