Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » persisted edges
persisted edges [message #184454] Mon, 28 April 2008 06:09 Go to next message
Asha is currently offline AshaFriend
Messages: 18
Registered: July 2009
Junior Member
Hello,

I am updating the underlying emf model to update the diagram.While doing
so, Some of the edges which i newly added are not getting persisted. So,
when the diagram is updated, some edges are persisted and some are
transient. If i do some modification in the diagram and save the diagram,
transient edges are becoming persited edges.

Could any one explain why is this?
Re: persisted edges [message #184500 is a reply to message #184454] Mon, 28 April 2008 09:31 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Asha,

Transient edges (and Nodes) will be created by automatic diagram updating
code. As a result, these elements will not be stored into the diagram file
but will be re-created on next diagram editor openning. If you need to persist
existing edges you can call Diagram.persistEdges()

-----------------
Alex Shatalin
Re: persisted edges [message #184507 is a reply to message #184500] Mon, 28 April 2008 12:45 Go to previous message
Asha is currently offline AshaFriend
Messages: 18
Registered: July 2009
Junior Member
Hello Alex,

It works fine. Thanks a lot
Previous Topic:Layout question (newbie)
Next Topic:Select All + Arrange All
Goto Forum:
  


Current Time: Tue Sep 24 14:21:25 GMT 2024

Powered by FUDForum. Page generated in 0.04891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top