Thanks Camille.
|
|
|
|
|
Sébastien Gérard
Head of the LISE labs
CEA Research Director
Papyrus project Leader (www.eclipse.org/papyrus)
Commissariat à l’énergie atomique et aux énergies alternatives
Institut List
|
CEA Saclay Nano-INNOV
|
Bât. 862- PC174
F-91191 Gif-sur-Yvette Cedex
M. +33 6 88 20 00 47
T. +33 1
69 08 58 24
sebastien.gerard@xxxxxx
www-list.cea.fr
|
|
|
|
|
|
|
|
|
|
|
|
De : mdt-papyrus.dev-bounces@xxxxxxxxxxx <mdt-papyrus.dev-bounces@xxxxxxxxxxx>
De la part de Camille Letavernier
Envoyé : mercredi 2 mai 2018 14:13
À : Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Objet : Re: [mdt-papyrus.dev] About the generator of ctx files
Hi Sébastien,
This was initially added to "flatten" datatype properties in a Profile. So if you have a Stereotype with a property "Position [1..1]", typed with a DataType with 3 properties "x, y, z", this would display x, y and z as properties of the
Stereotype (So the x; y; z properties would appear to be owned by the stereotype directly).
With the standard layout, you'd get a lower-level representation, where you need to open the properties view of the Datatype instance in order to access the x; y; z properties.
However, until Photon, Datatype management has never been reliable (e.g. because of Bug 529564), because it wasn't always possible to distinguish UML Datatype instances from external EMF Object instances; and this feature is (much) older
than that. So it may or may not work as expected (I believe this properties view layout has only been used by the RobotML profile).
On Wed, May 2, 2018 at 2:01 PM, GERARD Sebastien <Sebastien.GERARD@xxxxxx> wrote:
Dear all,
Can someone answer following questions. When generating a ctx file from a profile file :
-
What is the interest to use the option “Generator for Profile with DataType” instead of “Standard layout generator”?
-
What are the difference between following options:
o
Thanks,
Best,
Sébastien.
|
|
|
|
|
Sébastien Gérard
Head of the LISE labs
CEA Research Director
Papyrus project Leader (www.eclipse.org/papyrus)
Commissariat à l’énergie atomique et aux énergies alternatives
Institut List
|
CEA Saclay Nano-INNOV
|
Bât. 862- PC174
F-91191 Gif-sur-Yvette Cedex
M. +33 6 88 20 00 47
T. +33 1
69 08 58 24
sebastien.gerard@xxxxxx
www-list.cea.fr
|
|
|
|
|
|
|
|
|
|
|
|
_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev
--
Senior Software Engineer
EclipseSource France
General Manager: Remi Schnekenburger
Registered Office: 7 rue de la Croix Martre, 91120 Palaiseau, France
Commercial Register 824 977 516 R.C.S. EVRY
|