Skip to main content



      Home
Home » Modeling » Papyrus » Serialization order?
Serialization order? [message #1639063] Fri, 27 February 2015 07:40 Go to next message
Eclipse UserFriend
Hi,

Is there order in which elements are displayed in the model explorer the order in which they are saved/serialized?

More precisely, I have a set of CallEvents in a ProtocolContainer (Package) and when I reorder them in the model explorer and save the order in the .uml file seems to be the same as in the model explorer. Is this so or was it just luck?

/Patrik
Re: Serialization order? [message #1639219 is a reply to message #1639063] Fri, 27 February 2015 09:20 Go to previous message
Eclipse UserFriend
Hi Patrik,

All elements are ordered "by implementation" in EMF, even when the collection is not ordered in the metamodel. So, the order of the ModelExplorer always reflect the order of the serialization (Except when the A->Z button is checked: it sorts the model alphabetically on the ModelExplorer display only; the model is not changed)

Camille
Previous Topic:SVG shapes for Use Case Diagram
Next Topic: SysML activity diagram output pins.
Goto Forum:
  


Current Time: Thu Jul 10 04:09:19 EDT 2025

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

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

Back to the top