Book a Demo

Author Topic: about the generation of code  (Read 3616 times)

SusanneSH

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
about the generation of code
« on: June 18, 2009, 10:54:09 pm »
hello everyone,
I'm trying to generate codes from the class diagram these todays. It works, but I hope that the functions in the class could have contents, i mean the function body, not only the heads, ends and comments.
Is this possible for EA, if yes, can anyone explain to me how to do it?

thanks you very much!!! :)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: about the generation of code
« Reply #1 on: June 19, 2009, 09:00:58 am »
Where are you expecting the contents to come from?

Look at the Systems Engineering edition if you're wanting generation from behavioral diagrams.

SusanneSH

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: about the generation of code
« Reply #2 on: June 19, 2009, 06:08:00 pm »
thank you Simon, it's wonderful, your news to me because yesterday, i just see from your FAQ the sentence that "Currently EA does not generate source code for behavioral diagrams such as activity and state diagrams. We have requests from a number of users to implement this functionality and plan to add this in a future release of Enterprise Architect."

And what i want it's much simpler which i just figured out yesterday. selete the option "include method bodies in model when reverse engneering" or enter the code in the field of "initial code" directly in the property window of operation, and that's done.

Thank you again for your quick response! ;)