I am writing a specialized javadoc editor plugin. I want my dialog to show the javadoc text for a given method, and allow the user to edit it the same was as if it was in the regular Java editor. One way to think about it is this: If I split the editor window vertically, I have two different windows on the same file. If I modify the file in one window, the changes are instantly visible in the other. I want a window on the javadoc that acts like that, with the code completion and quick code shortcuts.
I have thought about whether I can simply enhance the java editor itself in some way to get what I want, but I can't see it. Is there a way to do this?