cashew-s-editor-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[CASHeW-s-editor-patches] FYI: toXML() patch.


From: Ravish Bhagdev
Subject: [CASHeW-s-editor-patches] FYI: toXML() patch.
Date: Thu, 17 Mar 2005 16:32:34 -0000

I'm committing the attached patch to add our toXML() support.

Changelog:

2005-03-17  Ravish Bhagdev  address@hidden

* src/nongnu/cashews/eclipse/model/Diagram.java
(makeFromStream): Added temporary fix to create an empty diagram.
(toXML()): Uncommented node.toXML() as it now exists.
* src/nongnu/cashews/eclipse/model/Diagram.java
(toXML()): Abstract method added.
* src/nongnu/cashews/eclipse/model/XMLizable.java
New interface for toXML().
* plugin.xml
Fixed.

I have added an interface XMLizable to the Model subpackage and written toXML 
instead of toStrings in all the models.  At the moment, the model is being 
saved in XML properly, what remains to be done is parse it back and create the 
diagram objects back from that...(patch attached)

Attachment: toXMLs.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]