Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Doctor on December 15, 2005, 07:21:20 am
-
Hi all,
can sombody explain to me why this transformation is not supported?
Can we expect it in "historical short time" or this item is not included in EA project roadmap?
Thanks,
Martin
-
Basically, we can't possibly hope to offer every transform that you could want. The language transformations that we have provided are there both as common ones that people are most likely to use, but also as examples for you to write your own transformation.
If you need some help writing a Delphi transformation, ask here and we should be able to help you.
-
Hi Simon,
OK, I was only wondering "why not?", when Delphi is supported language in source code generation ...
Reading my previous post I would like to excuse me for litlle bit agressive accent, what was NOT meant anyhow!
It was meant absolutely neutral in emotions.
So let me put another question:
"Is anybody else interested in such transformation?"
Martin
-
Why not start by yourself? It's no rocket science and you can start with the C*-transformations.
-
You're right, why not?
I did a try. I defined the NewTransformation type Delphi in the language combo. Basic set of (empty) templates was accessible then. I copied the first 5 templates contents from the C# and saved them - these 5 templates are marked being modified.
But Delphi language is accessible inside this project only. How to make this transformation accessible also in other projects?
(EA 6.0, build 779)
-
Export as Reference data and import into any other project you want it in. The reference data you want to export will be called Delphi_Transform_Template.
See http://sparxsystems.com.au/EAUserGuide/index.html?importexportrefdata.htm
-
Thanks!
I have found this topic in the help doc before asking here, but was not able to find "Delphi_Transform_Template" item in the list :-/
CLEAR NOW!
-
Hi all,
After some time I'm back with specific problem. I would like to add a prefix ('T') to the class name during transformation. So my analytical (PIM) class is 'Section' and the PSM class is 'TSection' for example.
I was successful with similar activity in the case of the attribute / property but not with the class name.
I'm using the C# transformation templates as base as suggested here already.
Thanks in advance for a tip.
-
I was successful with similar activity in the case of the attribute / property but not with the class name.
Solved already - renaming was made too early!