Book a Demo

Author Topic: Unable to generate code from UML diagram  (Read 2876 times)

shmanick

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Unable to generate code from UML diagram
« on: June 16, 2005, 01:24:15 pm »
I installed fully functional free evaluation version of Enterprise Architect (EASetup.exe [19.5 Mb] ).

The below are the steps included in the 'Help' to Generate Code for a Single Class  
 1. Open the diagram containing the class or interface for which you wish to generate code.  
 2. Right click on the class/interface and select Generate Code... from the context menu.  
 3. The Generate Code dialog appears. Enter a Path name for your source code  

I created a sample class diagram, Employee with 2 attributes (emp-id, emp-name) and 2 methods (getEmpName and setEmpName). I could not see any context menu when I right click on the class Employee.

Also, the code generation available in the project view browser is disabled (grayed).

How can I generate code (PHP) from UML diagram here? Am I missing anything? Please help me.

Thanks,
Shanthakumari M.


AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Unable to generate code from UML diagram
« Reply #1 on: June 16, 2005, 06:02:28 pm »
Please ensure that you are selecting either corporate or professional edition when launching the trial.

HTH,

Ash
The Sparx Team
[email protected]

shmanick

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Unable to generate code from UML diagram
« Reply #2 on: June 16, 2005, 06:04:51 pm »
Thanks Ash. I figured out the solution.

Regards,
Shanthakumari M.