Skip to main content

[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@01D1C880.5C951BE0

 

 

Sébastien Gérard

Head of the LISE labs

CEA Research Director

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

cid:image002.jpg@01D1C880.5C951BE0

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@01D1C880.5C951BE0  cid:image005.jpg@01D1C880.5C951BE0   

 

 


_______________________________________________
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

Back to the top