Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Piotr 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
-
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.
-
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...
-
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?
-
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).