Object (@NotNull @NonNls String dataId) { if (CommonDataKeys.NAVIGATABLE.is(dataId)) { final Project project = myVCS.getProject(); if (project.isDefault()) { return null; } final VirtualFile vcsFile = getSelectedVcsFile(); // do not return OpenFileDescriptor instance here as in that case SelectInAction will be enabled and its invocation (using keyboard) // will raise error - see IDEA-104113 - because of the following operations inside SelectInAction.actionPerformed(): // - at first VcsVirtualFile content will be loaded which for svn results in showing progress dialog // - then DataContext from SelectInAction will still be accessed which results in error as current event count has already changed // (because of progress dialog) return vcsFile != null ? new NavigatableAdapter() { @Override public void navigate(boolean requestFocus) { navigate(project, vcsFile, requestFocus); } } : null; } else if (CommonDataKeys.PROJECT.is(dataId)) { return myVCS.getProject(); } return null; }