title: How to get the absolute path of project files in eclipse using plugin
body: <p>I am trying to create a plugin which would give me a list of absolute path of all the files inside a project opened in eclipse.</p>
  
  <p>I tried but I am able to get the path of the active window only..</p>
  
  <p>My action code is:</p>
  
  <pre><code>  IWorkbenchPart workbenchPart = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart(); 
      IFile file = (IFile) workbenchPart.getSite().getPage().getActiveEditor().getEditorInput().getAdapter(IFile.class);
      if (file == null)
          try {
              throw new FileNotFoundException();
          } catch (FileNotFoundException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
      String path = file.getRawLocation().toOSString();
      System.out.println("path: " + path);
  </code></pre>
  
  <p>Here I am only getting the path for active window..But I want list of absolute path of all the files inside a project ..mainly the files under src folder...</p>
  
  <p>Please guide me if I can do it in the same way or do I need to use some different API for this.</p>