Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Serialization order?
Serialization order? [message #1639063] Fri, 27 February 2015 12:40 Go to next message
Patrik Nandorf is currently offline Patrik NandorfFriend
Messages: 169
Registered: January 2013
Location: Sweden
Senior Member

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?

Re: Serialization order? [message #1639219 is a reply to message #1639063] Fri, 27 February 2015 14:20 Go to previous message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 932
Registered: February 2011
Senior Member
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 Letavernier
Previous Topic:SVG shapes for Use Case Diagram
Next Topic: SysML activity diagram output pins.
Goto Forum:

Current Time: Sun Nov 29 23:45:48 GMT 2020

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

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

Back to the top