Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » persisted edges
persisted edges [message #184454] Mon, 28 April 2008 02:09 Go to next message
Eclipse UserFriend
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 05:31 Go to previous messageGo to next message
Eclipse UserFriend
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 08:45 Go to previous message
Eclipse UserFriend
Hello Alex,

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


Current Time: Mon Jul 14 14:58:16 EDT 2025

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

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

Back to the top