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

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

[CASHeW-s-editor-patches] Parsing of XML and recreating diagram...


From: Ravish Bhagdev
Subject: [CASHeW-s-editor-patches] Parsing of XML and recreating diagram...
Date: Wed, 23 Mar 2005 10:26:12 -0000

I'm committing the attached patch to recreate the Diagram object from parsed 
XML and redraw the read diagram.  Connections still not established in the 
recreated diagram.  Thats next step to do.

Changelog:

2005-03-23  Ravish Bhagdev  address@hidden

* src/nongnu/cashews/eclipse/model/Diagram.java
(makeFromStream): Added code to recreate diagram from read model insted of 
previously empty diagram
* src/nongnu/cashews/eclipse/model/DiagramParser.java
Created diagram object and new method called getDiagram added to get the 
created diagram in parser events

I have not finished with reading the XML file and recreate the diagram on 
canvas.  The thing that is left is creating connections between the nodes of 
recreated diagram objects.  Nodes are getting displayed at the set X,Y 
positions now. (Patch attached)


--------------------------------------------------------------------------------


_______________________________________________
CASHeW-s-editor-patches mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/cashew-s-editor-patches

Attachment: RecreateDiagramFromFile.diff
Description: Binary data


reply via email to

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