[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Reading and Writing to/from external file

Dan,

This tutorial will generate a fully functional editor that does pretty much exactly what you describe:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.emf.doc/tutorials/xlibmod/xlibmod.html
If you can define your tree structure with an XML Schema, you'd basically be done.


Dan Xu wrote:
Hi,
I was wondering if anyone knew of a tutorial or could explain here how to read and write to a .txt or .xml file using eclipse. Basically, I am allowing the user to make a tree, and I would like for him to be able to save and reload it later. How do I read/write, and what do I use to specify location for save/load? I am used to command prompt world so this is a bit new for me.

Thanks!