Book a Demo

Author Topic: Keeping arrangement when DB schema is importing?  (Read 4540 times)

Evgeniy

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1! (what is it, mmm?)
    • View Profile
Keeping arrangement when DB schema is importing?
« on: August 30, 2007, 10:43:57 pm »
Colleagues, is it possible to keep diagram arrangement when DB schema is importing?
I use Synchronization existing classes variant in Project | Database Engineering | Import DB Schema from ODBC dialog, but new import break previos diagram arrangement.

Thanks,
Evgeny

thomaskilian

  • Guest
Re: Keeping arrangement when DB schema is importin
« Reply #1 on: August 30, 2007, 10:45:17 pm »
There's an option Autolayout somewhere. Uncheck it and it should be okay.

Evgeniy

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1! (what is it, mmm?)
    • View Profile
Re: Keeping arrangement when DB schema is importin
« Reply #2 on: August 31, 2007, 12:13:17 am »
I found Diagram Layout Options page but it doesn't contain any checkboxes for turning off Autolayout  ???

thomaskilian

  • Guest
Re: Keeping arrangement when DB schema is importin
« Reply #3 on: August 31, 2007, 02:52:30 am »
It's somewhere in the Import dialog itself...

Evgeniy

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1! (what is it, mmm?)
    • View Profile
Re: Keeping arrangement when DB schema is importin
« Reply #4 on: August 31, 2007, 03:23:01 am »
In 813 version of EA there isn't a such option neither in Diagram Layout Options dialog, nor in Import DB Schema from ODBC dialog.

thomaskilian

  • Guest
Re: Keeping arrangement when DB schema is importin
« Reply #5 on: August 31, 2007, 03:42:29 am »
Ooops. Haven't used that for a while but I'm sure there was something in 6.5.

Someone else knowing a solution?

Edit: Can't you create/open an empty diagram prior to the import?
« Last Edit: August 31, 2007, 03:43:41 am by thomaskilian »

Evgeniy

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1! (what is it, mmm?)
    • View Profile
Re: Keeping arrangement when DB schema is importin
« Reply #6 on: August 31, 2007, 05:30:11 am »
First time schema is imports to an empty diagram, then this diagram is synchronizing and... arrangement destroyed(hypothetically by autolayout).

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Keeping arrangement when DB schema is importin
« Reply #7 on: August 31, 2007, 11:04:15 am »
Evgeny,

There's something about layout when importing databases in the release notes for 816 (dated today). Have you checked whether that addresses the problem?

David
No, you can't have it!

hd

  • EA Administrator
  • EA User
  • *****
  • Posts: 312
  • Karma: +0/-0
    • View Profile
Re: Keeping arrangement when DB schema is importin
« Reply #8 on: September 02, 2007, 01:06:54 pm »
Tools | Options | Source Code Engineering | Auto Layout Diagram On Import...

Evgeniy

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1! (what is it, mmm?)
    • View Profile
Re: Keeping arrangement when DB schema is importin
« Reply #9 on: September 03, 2007, 02:39:34 am »
Henk, thank you  :)

Only one question:
Following option has 3 variants:
Tools | Options | Source Code Engineering | Auto Layout Diagram On Import

-Always
-On New Diagrams
-Never

For Never variant all corect, but when On New Diagrams is selected import from DB into existing diagram do autolayout. Is it correct?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Keeping arrangement when DB schema is importin
« Reply #10 on: September 03, 2007, 05:04:19 am »
Just guessing, but...

There was also something about improvements to layout of imported DB diagrams in the 816 release notes.

Perhaps the two updates conflict, with the DB 'improvement' trashing the repaired autolayout setting.

David
No, you can't have it!

hd

  • EA Administrator
  • EA User
  • *****
  • Posts: 312
  • Karma: +0/-0
    • View Profile
Re: Keeping arrangement when DB schema is importin
« Reply #11 on: September 03, 2007, 01:05:15 pm »
David's correct. This was resolved in build 816.