title: How to get full file path present in eclipse project explorer?
body: <p>I am working on eclipse plugin. In this i have a file name present in a project hierarchy. i need the full path of file <strong>abc.java</strong> present in project Test. </p>
  
  <p>The file presented in path <strong>F:/Test/src/main/java/com/sung/Pre/abc.java</strong></p>
  
  <pre><code>    IWorkspaceRoot rootWorkspace = ResourcesPlugin.getWorkspace().getRoot();
      IProject project = rootWorkspace.getProject("/Test");
      file1 = project.getFile("/abc.java");
  
      FileEditorInput fileEditorInput = new FileEditorInput(file1);
  
      IWorkbench workbench = PlatformUI.getWorkbench();
      IEditorDescriptor desc = workbench.getEditorRegistry().getDefaultEditor(file1.getName());
      IWorkbenchPage page11 = workbench.getActiveWorkbenchWindow().getActivePage();
  
      try {
  
          page11.openEditor(fileEditorInput, desc.getId(),true);
      } catch (PartInitException e1) {
          e1.printStackTrace();
      }
  </code></pre>
  
  <p>This is searching file in /Test folder. If the file presented in the root Test folder it's able to open this file but if it's inside some folder like  <strong>F:/Test/src/main/java/com/sung/Pre/abc.java</strong> than it's can not find the file.</p>
  
  <p>I also tried below code but facing the same issue </p>
  
  <pre><code>    try {
  
          //IDE.openEditor(page11, uri, "org.eclipse.ui.ide.IDE", true);
          IDE.openEditor(page11, file1, true);
      } catch (PartInitException e2) {
          // TODO Auto-generated catch block
          e2.printStackTrace();
      }
  </code></pre>
  
  <p>so my question is if we have a file name presented in project hierarchy so how can we get the absolute or full path of that. </p>
  
  <p><strong>Please remember that i am doing this task in eclipse plugin project</strong></p>