Project project = e.getData(PlatformDataKeys.PROJECT);
VirtualFile vFile = e.getData(PlatformDataKeys.VIRTUAL_FILE);
final FilePath filePath = VcsContextFactory.SERVICE.getInstance().createFilePathOn(vFile);
if ((filePath == null) || (!vcs.fileIsUnderVcs(filePath)))
{
return;
}
Review review = RevuUtils.getReviewingReview(project);