navigate to a method implementation by code eclipse plugins
<p>I am developing a plugin.</p>

<p>I need your help. I have a Table with methods' names . I need go to the method's' implementation in the editor when I click on the method name. The table has the path of the file where method is implemented and the method's header.</p>

<p>I will thank you if you could help me with code so as to do it.</p>

<p>By now I have the code to open a file. But I need to open the method's implementantion in a file.</p>

<pre><code>File fileToOpen = new File(file);
                if (fileToOpen.exists() &amp;&amp; fileToOpen.isFile()) {
                    IFileStore fileStore = EFS.getLocalFileSystem().getStore(fileToOpen.toURI());
                    IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
                    try {
                    IEditorPart editor =IDE.openEditorOnFileStore(page, fileStore);

                    } catch (PartInitException exf) {
                        // Put your exception handler here if you wish to
                    }
                }
</code></pre>

<p>Regards</p>