Class VersionControlAddAction
- java.lang.Object
-
- docking.action.DockingAction
-
- ghidra.framework.main.datatable.DomainFileProviderContextAction
-
- ghidra.framework.main.projectdata.actions.VersionControlAction
-
- ghidra.framework.main.projectdata.actions.VersionControlAddAction
-
- All Implemented Interfaces:
DockingActionIf,HelpDescriptor
public class VersionControlAddAction extends VersionControlAction
Action to add a domain file to version control in 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
Constructors Change Constructor Description VersionControlAddAction(Plugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Change Modifier and Type Method Description NEW voidactionPerformed(DomainFileContext context)NEW booleanisEnabledForContext(DomainFileContext context)Returns true if at least one of the provided domain files can be added to the repository.REMOVED voidactionPerformed(DomainFileProvider context) (Removed)REMOVED booleanisEnabledForContext(DomainFileProvider context) (Removed)-
Methods inherited from class ghidra.framework.main.projectdata.actions.VersionControlAction
checkRepositoryConnected, isAddToPopup
-
Methods inherited from class ghidra.framework.main.datatable.DomainFileProviderContextAction
actionPerformed, isAddToPopup, isEnabledForContext, isValidContext, isValidContext
-
Methods inherited from class docking.action.DockingAction
addPropertyChangeListener, createButton, createMenuItem, dispose, doCreateButton, doCreateMenuItem, enabledWhen, firePropertyChanged, getDefaultKeyBindingData, getDescription, getFullName, getHelpInfo, getHelpObject, getInceptionFromTheFirstClassThatIsNotUsOrABuilder, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getPopupMenuData, getPreferredKeyBindingType, getToolBarData, isEnabled, markHelpUnnecessary, popupWhen, removePropertyChangeListener, setDescription, setEnabled, setHelpLocation, setKeyBindingData, setMenuBarData, setPopupMenuData, setSupportsDefaultToolContext, setToolBarData, setUnvalidatedKeyBindingData, shouldAddToWindow, supportsDefaultToolContext, 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
getOwnerDescription
-
-
-
-
Constructor Detail
-
VersionControlAddAction
public VersionControlAddAction(Plugin plugin)
-
-
Method Detail
-
actionPerformed NEW
public void actionPerformed(DomainFileContext context)
- Specified by:
actionPerformedin classDomainFileProviderContextAction
-
isEnabledForContext NEW
public boolean isEnabledForContext(DomainFileContext context)
Returns true if at least one of the provided domain files can be added to the repository.- Overrides:
isEnabledForContextin classDomainFileProviderContextAction
-
-