@Override
 public void navigate(boolean requestFocus) {
   OpenFileDescriptor fileDescriptor =
       new OpenFileDescriptor(myPsiFile.getProject(), myPsiFile.getVirtualFile(), myLineNumber);
   fileDescriptor.navigate(requestFocus);
 }
Beispiel #2
0
 public static void doNavigate(FileUsage fileUsage, OurUsage ourUsage, Project project) {
   final OpenFileDescriptor openFileDescriptor =
       new OpenFileDescriptor(project, fileUsage.findVirtualFile(), ourUsage.getStart());
   openFileDescriptor.navigate(true);
 }