Problem displaying the view content.
I am develop an Eclipse plugin for a Java/JML testing tool. I have a context menu for any Java file in the Package Explorer , which loads the file in the editor and should simultaneouly display the view in which I am displaying all testable methods of that java class.
The first problem is that it immediately does not show the methods in the view. I have to click on that file in Package Explorer again and then it displays the methods. I want to know how to avoid this situation of selecting the file again. :confused:
Also now, when I click on that file again after the methods are displayed it gives me this error. I do not understand what has changed to cause the following error: "assertion failed: ContentViewer must have a content provider when input is set."
Please do let me know if anyone has a solution to this problem.
Thanks in advance, Poonam.