Book a Demo

Author Topic: Import directory of C++ files  (Read 3187 times)

AndreasG

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Import directory of C++ files
« on: July 03, 2006, 07:54:32 am »
Hi,

I'm a newbie, I downloaded and installed today EA and wanted to create a UML-Diagram out of my existing C++ Code, but it didn't work.
I read in the tutorial:
---------
2. Right click on the diagram background to open the context menu. Select the language you wish to import from the Import from source file(s) submenu.
---------
But there is no "Import from source file(s)"- submenu.

I saw another possibilty:
Project View -> right click on a package -> Import/Export
there you can import a XMI-file
Is that the correct way?

If it is, I've got the following problem: I don't have a XMI-File of my project. I still must work with Visual Studio 6.0. There doesn't exist an XMI-Export.

Is there any other possibility to create my UML-diagram out of my code?

Thank you very much,
Andreas

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Import directory of C++ files
« Reply #1 on: July 03, 2006, 10:42:16 am »
Andreas,

Try starting from a package in the Project View tree (on the right hand side of your screen by deafult). Make sure a package is highlighted before you begin. Then right-click on the highlighted package and follow instructions.

You'll be able to set various options about creating diagrams and a package hierarchy. Try the default, but make sure you do create diagrams so you'll know what you are getting. Once you get the hand of this you can experiement.

HTH, David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Import directory of C++ files
« Reply #2 on: July 03, 2006, 04:15:20 pm »
Hi Andreas,

The 'Import from source file(s)' submenu is in the context menu of a class diagram.

In the same context menu as you found 'Import/Export' you can also find 'Code Engineering' with an option in it called 'Import Source Directory'.  This can also be found in the main menu under 'Project'.

AndreasG

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Import directory of C++ files
« Reply #3 on: July 04, 2006, 04:18:10 am »
Hello Simon and David,

thanks for your help.
Now I know the reason for my problem: I started EA with the option "Desktop" and not "Professional".
Then there is no 'Code Engineering' option in the context menu of a package. But now I found it and was able to import my whole source.

I still don't find the 'Import from source file(s)' submenu (also not in the context menu of a class diagram), but I don't need it any more now.  :D

Thanks and bye for today (tomorrow there will be the next problem  ;) )

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Import directory of C++ files
« Reply #4 on: July 04, 2006, 05:25:37 am »
I don't know if that happens to all of us, but it certainly tripped me up when I was doing my evaluation of EA. Somehow I conveniently forgot that detail, nor did I remember you could be using the eval. Sorry about not catching that the first time.

David
No, you can't have it!