Class VersionControlUpdateAction
java.lang.Object
docking.action.DockingAction
ghidra.framework.main.datatable.DomainFileProviderContextAction
ghidra.framework.main.projectdata.actions.VersionControlAction
ghidra.framework.main.projectdata.actions.VersionControlUpdateAction
- All Implemented Interfaces:
DockingActionIf, HelpDescriptor
Action to update the current checked out domain file to contain the changes
which have been checked in to the repository since our file's version was checked out.
The update occurs by merging the changes from the repository's latest version into
the current copy of the checked out file.
-
Field Summary
Fields inherited from class VersionControlAction
GROUP, repository, toolFields inherited from interface DockingActionIf
DESCRIPTION_PROPERTY, ENABLEMENT_PROPERTY, GLOBALCONTEXT_PROPERTY, KEYBINDING_DATA_PROPERTY, MENUBAR_DATA_PROPERTY, POPUP_MENU_DATA_PROPERTY, TOOLBAR_DATA_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionVersionControlUpdateAction(Plugin plugin) Creates an action for updating domain files that are checked out. -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(DomainFileContext context) booleanisEnabledForContext(DomainFileContext context) Methods inherited from class VersionControlAction
checkRepositoryConnected, isAddToPopup, isFileSystemBusyMethods inherited from class DomainFileProviderContextAction
actionPerformed, isAddToPopup, isEnabledForContext, isValidContext, isValidContextMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface DockingActionIf
createMenuComponent, getOwnerDescription
-
Constructor Details
-
VersionControlUpdateAction
Creates an action for updating domain files that are checked out.- Parameters:
plugin- the plug-in that owns this action.
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin classDomainFileProviderContextAction
-
isEnabledForContext
- Overrides:
isEnabledForContextin classDomainFileProviderContextAction
-