[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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).

Cheers,
Camille



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.

Â

Â

Â

cid:image001.png@xxxxxxxxxxxxxxxxx

Â

Â

SÃbastien GÃrard

Head of the LISE labs

CEA Research Director

Papyrus project Leader (www.eclipse.org/papyrus)

cid:image002.jpg@xxxxxxxxxxxxxxxxx

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

Â

Â

Â

icone_youtube

 cid:image004.png@xxxxxxxxxxxxxxxxxÂÂcid:image005.jpg@xxxxxxxxxxxxxxxxxÂÂÂ

Â

Â


_______________________________________________
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



--
Camille Letavernier

Senior Software Engineer
EclipseSource France

Phone: +33 1 85 41 09 21

EclipseSource France SAS
Palaiseau-Entreprises
7 rue de la Croix Martre
91120 Palaiseau

General Manager: Remi Schnekenburger
Registered Office:Â7 rue de la Croix Martre, 91120 Palaiseau, France
Commercial RegisterÂ824 977 516ÂÂR.C.S.ÂEVRY

PNG image

PNG image

PNG image

PNG image

JPEG image

PNG image

JPEG image