public class VcsContextWrapper extends java.lang.Object implements VcsContext
Modifier and Type | Field and Description |
---|---|
protected DataContext |
myContext |
protected int |
myModifiers |
Constructor and Description |
---|
VcsContextWrapper(DataContext context,
int modifiers,
java.lang.String place,
java.lang.String actionName) |
Modifier and Type | Method and Description |
---|---|
static VcsContext |
createCachedInstanceOn(AnActionEvent event) |
static VcsContextWrapper |
createInstanceOn(AnActionEvent event) |
java.lang.String |
getActionName() |
Editor |
getEditor() |
int |
getModifiers() |
java.lang.String |
getPlace() |
Project |
getProject() |
Refreshable |
getRefreshableDialog() |
ChangeList [] |
getSelectedChangeLists() |
Change [] |
getSelectedChanges() |
VirtualFile |
getSelectedFile() |
FilePath |
getSelectedFilePath() |
FilePath [] |
getSelectedFilePaths() |
java.util.stream.Stream<FilePath> |
getSelectedFilePathsStream() |
VirtualFile [] |
getSelectedFiles() |
java.util.Collection<VirtualFile> |
getSelectedFilesCollection() |
java.util.stream.Stream<VirtualFile> |
getSelectedFilesStream() |
java.io.File |
getSelectedIOFile() |
java.io.File [] |
getSelectedIOFiles() |
java.util.List<FilePath> |
getSelectedUnversionedFilePaths() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSelectedUnversionedFiles
protected final DataContext myContext
protected final int myModifiers
public VcsContextWrapper(DataContext context, int modifiers, java.lang.String place, java.lang.String actionName)
public java.lang.String getPlace()
getPlace
in interface PlaceProvider<java.lang.String>
public java.lang.String getActionName()
getActionName
in interface VcsContext
public static VcsContext createCachedInstanceOn(AnActionEvent event)
public static VcsContextWrapper createInstanceOn(AnActionEvent event)
public Project getProject()
getProject
in interface VcsContext
public VirtualFile getSelectedFile()
getSelectedFile
in interface VcsContext
public VirtualFile [] getSelectedFiles()
getSelectedFiles
in interface VcsContext
public java.util.stream.Stream<VirtualFile> getSelectedFilesStream()
getSelectedFilesStream
in interface VcsContext
public java.util.List<FilePath> getSelectedUnversionedFilePaths()
getSelectedUnversionedFilePaths
in interface VcsContext
public Editor getEditor()
getEditor
in interface VcsContext
public java.util.Collection<VirtualFile> getSelectedFilesCollection()
getSelectedFilesCollection
in interface VcsContext
public java.io.File getSelectedIOFile()
getSelectedIOFile
in interface VcsContext
public java.io.File [] getSelectedIOFiles()
getSelectedIOFiles
in interface VcsContext
public int getModifiers()
getModifiers
in interface VcsContext
public Refreshable getRefreshableDialog()
getRefreshableDialog
in interface VcsContext
public FilePath [] getSelectedFilePaths()
getSelectedFilePaths
in interface VcsContext
public java.util.stream.Stream<FilePath> getSelectedFilePathsStream()
getSelectedFilePathsStream
in interface VcsContext
public FilePath getSelectedFilePath()
getSelectedFilePath
in interface VcsContext
public ChangeList [] getSelectedChangeLists()
getSelectedChangeLists
in interface VcsContext
public Change [] getSelectedChanges()
getSelectedChanges
in interface VcsContext