Book a Demo

Author Topic: How to Generate Code  (Read 2756 times)

diodoroaa

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • Mr. Avilez
    • View Profile
How to Generate Code
« on: October 17, 2007, 11:55:56 am »
Hello to everybody...

I have some class diagrams and i'm trying to generate the correspondign code, but my code tool bar doesn't enable any button, could some body tell me what else do i need?
I have EA 7.0

Thanks a lot
Processing Knowledge 2.0

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: How to Generate Code
« Reply #1 on: October 17, 2007, 07:12:35 pm »
Hey there,

You need to select one or more classes or packages. I recommend right-clicking in the project browser; the Code Engineering submenu is the one you want, and in there Generate Source Code.
In the dialog which opens you will normally want to tick the "Include all Child Packages" box, otherwise code will only be generated for the classes immediately below the package you selected.

Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.

diodoroaa

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • Mr. Avilez
    • View Profile
Re: How to Generate Code
« Reply #2 on: October 17, 2007, 07:35:54 pm »
Thanks for your explanation, but i'm thinking that i have a software restriction, I have an EA desktop edition, and i tried to generate the code right clicking in the project browser but don't appear the code generation option =(...
Do you think that this version could be restricted ??

Processing Knowledge 2.0

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: How to Generate Code
« Reply #3 on: October 17, 2007, 07:43:42 pm »
Oh. Ah. Yes, that's exactly what it is. There's no code generation from the Desktop Edition, you need at least the Professional (next step up) for that.
http://www.sparxsystems.com.au/products/ea_editions.html

/Uffe
My theories are always correct, just apply them to the right reality.

diodoroaa

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • Mr. Avilez
    • View Profile
Re: How to Generate Code
« Reply #4 on: October 17, 2007, 07:54:50 pm »
Thanks, i'll upgrade my software...
Processing Knowledge 2.0