Author Topic: PIM to PSM transformations for Delphi  (Read 4835 times)

Doctor

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
PIM to PSM transformations for Delphi
« 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


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: PIM to PSM transformations for Delphi
« Reply #1 on: December 15, 2005, 01:04:57 pm »
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.

Doctor

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: PIM to PSM transformations for Delphi
« Reply #2 on: December 15, 2005, 11:48:57 pm »
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

thomaskilian

  • Guest
Re: PIM to PSM transformations for Delphi
« Reply #3 on: December 16, 2005, 02:25:51 am »
Why not start by yourself? It's no rocket science and you can start with the C*-transformations.

Doctor

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: PIM to PSM transformations for Delphi
« Reply #4 on: December 20, 2005, 02:46:27 am »
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)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: PIM to PSM transformations for Delphi
« Reply #5 on: December 20, 2005, 01:03:56 pm »
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

Doctor

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: PIM to PSM transformations for Delphi
« Reply #6 on: December 20, 2005, 11:25:54 pm »
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!

Doctor

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: PIM to PSM transformations for Delphi
« Reply #7 on: March 07, 2006, 05:43:54 am »
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.

Doctor

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: PIM to PSM transformations for Delphi
« Reply #8 on: March 07, 2006, 07:07:14 am »
Quote
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!