title: how to open excel file in eclipse internal editor
body: <p>I need to open excel file from project explorer in eclipse internal editor. I am calling below function to open file in editor.</p>
  
  <pre><code>public static void openFileIntoEditor(String filePath) {
      File fileToOpen = new File(filePath);
      if (fileToOpen.exists() &amp;&amp; fileToOpen.isFile()) {
          try {
              IFileStore fileStore = EFS.getLocalFileSystem().getStore(fileToOpen.toURI());
              IWorkbenchPage page = GUIHandler.getPage();
              try {
                  IDE.openInternalEditorOnFileStore(page, fileStore);
                  //IDE.openEditorOnFileStore(page, fileStore);
              } catch (PartInitException e) {
                  System.out.println("ERORR in openFileIntoEditor : " + e.getMessage());
              }
          } catch (Exception e) {
              System.out.println("ERORR in openFileIntoEditor2 : " + e.getMessage());
          }
      } else {
      }
  }
  </code></pre>
  
  <p>It works fine for text file but shows some binary code when i am trying to open excel file in internal editor. Where i am doing wrong or what should i need to do to open excel file in internal Eclipse editor by java program. </p>