Book a Demo

Author Topic: how complete is the round trip ?  (Read 2592 times)

random12345

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
how complete is the round trip ?
« on: February 04, 2004, 10:01:06 am »
Am I correct in that any new classes included as raw code into a current EA project will be put into a single class diagramme.  Will the classes perhaps be assigned into the correct packages?  
It seems to me that any classes introduced in raw code format will require a partial re-write of other diagrammes affected by any new interactions e.g. any interaction diagrammes.  Is this accurate?

Thanks.

dlramsey

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: how complete is the round trip ?
« Reply #1 on: February 04, 2004, 02:18:56 pm »
I am not sure that I understand the problem, being new to EA but every import of raw source I have done has resulted in correct packaging.

Thus far, I have imported the entirety of the java. and javax. namespaces that are part of the J2SDK. I further imported the entirety of our application after that. Every single source file ended up in packages and each package was correctly named.


First I choose or create an EA "package" (not a package in the Java sense specifically) where I want to place all this information.

Next, from the top menu, I use the following function from the menus:
Project -> Source Code Engineering -> Import Directory Structure

This lets me select a top level directory, such as com, java, or javax. At that point I make sure my options are correctly set and import the entire source tree. One option on the import is to create packages automatically, which I leave checked, and which has always worked thus far for me.