Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] question about graph transformation in Henshin

hi Stefan,
  thanks for your answer, then maybe because i didn't try the example successfully.

in the bank example:

i run the deleteAllAccount rule which shows an incorrect result:


figure 1 choose rule and give parameter.


figure 2. No difference between transformed model and original model.        

in the bank example wiki page, the account 3,4 should be deleted.

i used the nightly build version of henshin sdk.


the other rules doesn't change the example-bank.xmi file either.

did i mis-configure something?

since the example is give by developers, i want to go through them before creating my own rules.

best regards,

Fenglin Han


On 15.12.2011 16:00, Stefan Jurack wrote:
Am 15.12.2011 15:40, schrieb sih:
 Dear Stefan,
    i think it's Christian who has answered my question before.

    now i repeat the question:
1. Christian said right now the henshin doesn't support importing UML
profiles, but only metamodels (ecore files).  so i asked if i add
stereotypes in the UML.ecore file will be the same as the profile
applied to the UML model i use.
If the modified UML.ecore model has elements that represent stereotypes,
Henshin can use them in a transformation.
However, the approach is different to what the MDT UML team has provide,
i.e., its obviously not the same. In the end its a matter of how you
treat the resulting models. 
 2. the transformation function seems not as mature as AGG. so i
wonder when can this be ready for use.
What is your understanding of a "mature" function? Generally the henshin
transformation work very well so far.
regards,
fenglin han


On 15.12.2011 13:58, Stefan Jurack wrote:
Hi,

sorry, I am not sure that I understand your question. And with whom
("... i have got confirmed from one of you..") have you been talking
already?

Regards, Stefan


Am 14.12.2011 15:52, schrieb sih:
  Dear Henshin Developer,
      i am using Henshin for UML based building block refactoring.
      i have too question about the current Henshin:

     Our model is mainly UML models (2.x or above) with a profile
applied.

     1. for transformation purpose, i think i need to add the
stereotype in the UML ecore file to create a unique meta-model for my
models, (since i have got confirmed from one of you, saying that
henshin right now doesn't support profile mechanisms).        will
that have the same effect as profile to UML ecore file?
      or i ask in another way, will the transformation recognize the
stereotypes applied to model by profiles after i use the meta-model
created by adding the profile elements to UML ecore?


     2.  I looked at the bank example before, but it seems can only
work in specific configured rules.  when can the general
transformation function ready?


      thanks for your reply in advance, and happy Xmas to you all!


     yours sincerely,

    Fenglin  Han


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev

        





Back to the top