Package adams.gui.flow.menu.git
Class AbstractFlowEditorGitMenuItem
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.flow.menu.AbstractFlowEditorMenuItem
-
- adams.gui.flow.menu.git.AbstractFlowEditorGitMenuItem
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter,adams.core.SizeOfHandler,Serializable,Comparable<adams.gui.flow.menu.AbstractFlowEditorMenuItem>
public abstract class AbstractFlowEditorGitMenuItem extends adams.gui.flow.menu.AbstractFlowEditorMenuItemAncestor for menuitems in the git sub-menu.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.jgit.api.Gitm_Gitthe current git instance to use.protected GitOperationm_Operationfor managing git operations.
-
Constructor Summary
Constructors Constructor Description AbstractFlowEditorGitMenuItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMenu()Returns the name of the menu to list this item under.protected voidinitialize()Initializes the menu item.voidupdate(org.eclipse.jgit.api.Git git)Updating the action/menuitem/submenu, based on the current status of the owner.-
Methods inherited from class adams.gui.flow.menu.AbstractFlowEditorMenuItem
compareTo, determineCaption, equals, getAction, getMenuItem, getMenuItems, getOwner, getSubMenu, hasAction, hasMenuItem, hasSubMenu, newAction, newMenuItem, newSubMenu, setOwner, update
-
-
-
-
Field Detail
-
m_Git
protected org.eclipse.jgit.api.Git m_Git
the current git instance to use.
-
m_Operation
protected GitOperation m_Operation
for managing git operations.
-
-
Method Detail
-
initialize
protected void initialize()
Initializes the menu item.- Overrides:
initializein classadams.gui.flow.menu.AbstractFlowEditorMenuItem
-
getMenu
public String getMenu()
Returns the name of the menu to list this item under.- Specified by:
getMenuin classadams.gui.flow.menu.AbstractFlowEditorMenuItem- Returns:
- sub-menu, so always null
-
update
public void update(org.eclipse.jgit.api.Git git)
Updating the action/menuitem/submenu, based on the current status of the owner.- Parameters:
git- the git instance
-
-