コード例 #1
0
 @Override
 public void navigate(boolean requestFocus) {
   OpenFileDescriptor fileDescriptor =
       new OpenFileDescriptor(myPsiFile.getProject(), myPsiFile.getVirtualFile(), myLineNumber);
   fileDescriptor.navigate(requestFocus);
 }
コード例 #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);
 }