Book a Demo

Author Topic: Importing is ruining my existing layout  (Read 3352 times)

Xeal

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Importing is ruining my existing layout
« on: January 08, 2004, 11:36:25 pm »
I have until now more than 60 Data Types (enums, classes etc) in this project with various relationships between them and when I do 'Import Directory Tree' EA arranges the DTs on screen in not quite the best layout (to use an euphemism :)). So I always have to spend more than one hour to layout everything nice and clear and after I do it I feel quite happy :)

Now the weird thing comes in. After I modify some of the above DTs (the code) and then I re-import with the option 'Synchronize existing classes' everything gets deleted and the new classes are laid out using the default layout :(
If I use the option 'Overwrite existing classes' the same thing happens!
I even tried to lock the diagram hoping that EA will stop moving or deleting my old DTs and just update them or something. But NO! It added the new classes over the old ones so now I have everything two times... I didn’t know you can have in the same package two entities with the same name... Until now :)

Well, is there any way to really 'Synchronize existing classes' without messing out the existing layout?

Thank you,
.x.

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Re: Importing is ruining my existing layout
« Reply #1 on: January 09, 2004, 10:46:15 am »
G'day,

Here's what I do with my data models ... I have no idea if this works with code:

I have a package (and a diagram in it) dedicated to importing/synchronizing the DDL.  I leave all tables in that package.

I keep all of my "real" diagrams in other packages.  Synchronizing doesn't have any impact on my "real" diagrams, and I don't care nor pay attention to the diagram in my "import" package.
Cheers and best regards.

smoro

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Importing is ruining my existing layout
« Reply #2 on: January 13, 2004, 10:59:15 am »
Hi there,
 Is there anyway to automate the imports because I have acouple people working on the model and would like a end of day procedure to import modified packages.

Thanks
Steve

Xeal

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Importing is ruining my existing layout
« Reply #3 on: January 19, 2004, 01:41:30 am »
The new ability to select several diagrams and use "Synchronize all selected objects" is really good!

Thanks a lot for this benefic change!

.x.