I'd like to be able to use the existing infrastructure that is available for editing JSP or Java files on content that is not loaded from the file system. The JSP content will be coming out of a JCR 2.0 compliant repository and if the node I am working with represents a JSP file (or a .java file) I'd like to create a new Editor and load the Editor with the content from the JCR node. At that point, I assume I would listen for events on the Editor to manage the lifecycle.
I've got the JSP content from the JCR node, but I'm not sure exactly what I have to implement in my plugin to get it to display in a window. Can I leverage the existing JSP/Java functionality?