public abstract class VcsQuickListContentProviderBase extends java.lang.Object implements VcsQuickListContentProvider
EP_NAME
Constructor and Description |
---|
VcsQuickListContentProviderBase() |
Modifier and Type | Method and Description |
---|---|
protected static void |
add(java.lang.String actionName,
ActionManager manager,
java.util.List<? super AnAction> actions) |
protected abstract java.util.List<AnAction> |
collectVcsSpecificActions(ActionManager manager) |
java.util.List<AnAction> |
getVcsActions(Project project,
AbstractVcs activeVcs,
DataContext dataContext)
Allows to customise VCS actions popup for both custom VCS and general list
|
protected abstract java.lang.String |
getVcsName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNotInVcsActions, replaceVcsActionsFor
public java.util.List<AnAction> getVcsActions(Project project, AbstractVcs activeVcs, DataContext dataContext)
VcsQuickListContentProvider
getVcsActions
in interface VcsQuickListContentProvider
project
- ProjectactiveVcs
- Active vcs for current file. Null if context doesn't contain file or vcs is unknowndataContext
- Contextprotected abstract java.lang.String getVcsName()
protected abstract java.util.List<AnAction> collectVcsSpecificActions(ActionManager manager)
protected static void add(java.lang.String actionName, ActionManager manager, java.util.List<? super AnAction> actions)