File Buffers?

I have written a plugin for IDEA for my Struts Console program:

This plugin provides a way to edit Struts XML configuration files with a GUI. Right now the plugin loads the XML file into memory and every time a change is made the file is saved back to disk. I'm wondering if IDEA has some sort of file buffer that different ToolWindows can share?

So for instance when a struts-config.xml file is open in the IDEA text editor and the Struts Console plugin at the same time they are both "looking" at the same data in a buffer. Whenever a change is made in the buffer from either side the other window picks it up. This is how most of the other IDEs work.

Is there something for this in IDEA?



Please sign in to leave a comment.