Book a Demo

Author Topic: import directory tree - layout diagrams in  (Read 3907 times)

Avi

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
import directory tree - layout diagrams in
« on: May 12, 2006, 05:37:12 am »
Hi,

I would like to ask you for some feature about  "import directory tree".

I did today import  with "Create Package per Namespace" and  new diagrams were created with "layout diagram". It is very nice feature, but  the same did not hapen when I  use "Create Package per Directory".

Thank you

Avi

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: import directory tree - layout diagrams in
« Reply #1 on: May 12, 2006, 10:11:51 am »
I just tried this Avi. My import did lay out the diagrams when I set Create Package per Directory. What other settings did you have?

David
No, you can't have it!

Avi

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: import directory tree - layout diagrams in
« Reply #2 on: May 15, 2006, 01:24:34 am »
 My settings are :
Source type : C#
File Exension : .cs
Recursively Process Subdirectories : sign
Create Logical Diagram for Each Package : sign
Package Structure : Create Package per Directory
Synchonization : Overwrite existing classes

I tried it again but unsuccessfully.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: import directory tree - layout diagrams in
« Reply #3 on: May 15, 2006, 03:33:43 am »
Hi Avi,

By "sign" I assume you mean these boxes are checked. These are my settings also, with the addition of the following:
- Remove Classes not found in code is set to "Never Delete"
- In the New Diagram Options all boxes are checked and Show Parameter Detail is set to "Type Only" (which I think are the defaults)

For some reason the diagrams are being laid out when I do the import (both ways, as discussed above) but yours appear not to be.

I am using build 790. Which build are you using? If it is not 790, consider updating and try again. If it is 790, submit a bug report to Sparx. This might be something they can advise on, but if it is new behavior they will want to look into why is not consistent.

David
No, you can't have it!

Avi

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: import directory tree - layout diagrams in
« Reply #4 on: May 15, 2006, 05:14:23 am »
I updated it  and .... Bingo !!
Thank you very much for your advise.

Avi

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: import directory tree - layout diagrams in
« Reply #5 on: May 15, 2006, 03:41:47 pm »
Hi guys,

On the source code engineering page of the options dialog there is an option for when diagrams should be layed out when importing.  It works correctly for Directory and Package based imports for me, but if the diagrams for your directory based packages already exist and the option is set to 'On New Diagram' this could cause the problem.

Hope that Helps.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: import directory tree - layout diagrams in
« Reply #6 on: May 15, 2006, 04:37:22 pm »
Is this a fairly recent option Simon? If so, it would be entirely understandable why Avi ran into trouble.

I gather that the default setting for this is why I did not (and have not) experienced trouble here.
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: import directory tree - layout diagrams in
« Reply #7 on: May 15, 2006, 05:17:01 pm »
It's not new at all.  I just checked and it was in version 4.1 build 730.  Probably quite a while before that.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: import directory tree - layout diagrams in
« Reply #8 on: May 15, 2006, 05:39:59 pm »
Thanks again Simon,

And to think I've been around all that time. First through my clients and then as a user myself.

Just goes to show how rich EA is!
No, you can't have it!