Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] [DSML][Profile] Look for your point of view against derived property implementation

Hi Johan,

 

I’m fully aware of this issue, sadly changing generator would take a lot of time.

It’s very unlikely to happen for SysML 1.4 profile, but it will be taken in consideration for the generation of the next official version (1.5 [1]).

 

The main concern remains the separation of generated/non-generated code, this feature proposition [2] would really help the adoption of the third option.

 

Regards,

Benoit

1 : http://www.omg.org/spec/SysML/1.5/

2: https://bugs.eclipse.org/bugs/show_bug.cgi?id=529044

 

 

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Johan Van Noten
Envoyé : vendredi 22 décembre 2017 10:01
À : Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Objet : Re: [mdt-papyrus.dev] [DSML][Profile] Look for your point of view against derived property implementation

 

Dear Papyrus Devs,

 

I’m not a member of the dev team, so I suppose I have no voting rights.

I would like to point to the issue I submitted in this context:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=489151 (invalidating the proposal 2)

 

I suppose you are already considering that concern.

 

Thanks,

Johan

 

Van: mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] Namens SMAOUI Asma
Verzonden: donderdag 21 december 2017 16:11
Aan: Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Onderwerp: [mdt-papyrus.dev] [DSML][Profile] Look for your point of view against derived property implementation

 

Hello,

 

Papyrus team manage to choose only one pattern to be used to get the value of a derived property in a static profile.

 

As mentioned in a previous discussion https://dev.eclipse.org/mhonarc/lists/mdt-papyrus.dev/msg03313.html there seems to be 3 methods:

  1. Generate code + modify the getter method and add a @generated Not annotation (The one used in MARTE)
  2. Generate code + override factory in extension point (The one used in SysML 1.4)
  3. Generate code (with UML2 option) + add @generated Not (but only in specific packages named operation) (used in Moka project and preferred by Christian Damus J )

Please feel free to express your preference about those 3 different patterns.

Best Regards,

Asma


Back to the top