How to specify file format [message #65607] |
Wed, 19 February 2003 09:42 |
Eclipse User |
|
|
|
Originally posted by: celine.mortelette.atosorigin.com
In order to build a graph, the user has to create a file with xxx extension
like test.xxx
How can I specify the file format ? I want it to be an xml file for example
....
Thanks for any answer.
|
|
|
Re: How to specify file format [message #65957 is a reply to message #65607] |
Fri, 21 February 2003 11:36 |
Eclipse User |
|
|
|
Originally posted by: beneyal.hotmaul.com
Céline Mortelette wrote:
> In order to build a graph, the user has to create a file with xxx extension
> like test.xxx
> How can I specify the file format ? I want it to be an xml file for example
> ....
> Thanks for any answer.
Hi
You don't have to specify the file format. After saving your graph into
the file in an XML format (by using a PrintWriter object for example), you
can use any XML reader (like Sun's SAX for example) to read your saved XML
tags.
|
|
|
|
Re: How to specify file format [message #66128 is a reply to message #66048] |
Fri, 21 February 2003 18:47 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Mapping a graph element (Figure, I assume) to an XML tag is the job of you
application. Specifically, your EditPart serves as a "mini" content
provider/label provider, if you are familiar with JFace.
GEF is model neutral, so we can't begin to know how to map the model into
figures.
"C
|
|
|
Powered by
FUDForum. Page generated in 0.03241 seconds