Author Topic: Transformation editor API  (Read 3945 times)

Piotr

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Transformation editor API
« on: February 20, 2007, 08:48:51 am »
Hello,

is there something like a complete API for the transformation editor? Or did you that write your own templates learn that learning by doing? up to now I only found a whitepaper that pointed me to
http://www.sparxsystems.com.au/resources/mda/writing_transformations.html which is not bad, but I thought there must be a complete reference as well...

My worries are that I start delving into the templates, which may take some time, and then after a while I realize that the templates are not as powerful as I thought and I must give it up completely.

Regards,
Peter

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Transformation editor API
« Reply #1 on: February 20, 2007, 10:44:44 am »
The bad news is that you've got the correct idea. You kind of have to learn by doing.

The good news is that EA transformation scrips are pretty powerful, and you can always go further via the automation API.

There are a lot of examples in the forum. It will take some serious work to find them, but take the time. You should also check the EA User Group and EA Wiki sites. You'll find the coordinates on the first post of the top topic in this forum section.
No, you can't have it!

Piotr

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Transformation editor API
« Reply #2 on: February 26, 2007, 02:35:34 am »
ok, thanks for your fast reply, Midnight.
do you know if it is possible to create model transformations e.g. for deployment- and activity diagrams? I tried it out a little bit, but had no luck until now...

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Transformation editor API
« Reply #3 on: February 26, 2007, 05:31:56 am »
Sadly, I do not know.

The possible good news is that I simply never looked into this. This could well be possible.

Anyone out there know whether - and if so how - this can be done?
No, you can't have it!

thomaskilian

  • Guest
Re: Transformation editor API
« Reply #4 on: February 27, 2007, 02:57:49 am »
You have to do that on your own. Probably you have to use the %EXEC_ADD_IN% macro to create that stuff (quite tricky :P).