Book a Demo

Author Topic: importing actionscript  (Read 3346 times)

jlm

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
importing actionscript
« on: January 03, 2007, 07:15:02 am »
Hi

newbie, with a simple question, not an enterprise developer so be gentle -

working with a prebuild system I am looking at EA to help get a handle and provide better documentation for a project.  However when I import recursively some classes I get seperate UML diagrams for each sub-directory.  for instance some of the structure is based around MVC model and I have these directories with classes in

helper/
model/
ui/

but when import the actionscript I get get three sets of UML diagrams not one?

Also I am not sure where the class notes go are they imported?


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: importing actionscript
« Reply #1 on: January 03, 2007, 01:07:55 pm »
On the directory import dialog there is an option for creating packages per directory.  Try setting this to package per namespace instead.

jlm

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: importing actionscript
« Reply #2 on: January 04, 2007, 02:16:52 am »
Simonm

Thanks for the reply, I already have set it to that, but it seems to be creating one per directory anyway, I have the downloaded latest trial, if you have a newer/older ver you think I should try please let me know.

Ps there is a strong chance that they will let me buy this but I need to show that it really helps with getting this project better documented. But if not I am strongly thinking of getting it for my freelancing anyways.

Many thanks Justin


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: importing actionscript
« Reply #3 on: January 04, 2007, 06:12:09 am »
You won't be the first to decide to get a personal copy of EA this way Justin. Given the price and versatility it really is a good tool for an independent worker.

David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: importing actionscript
« Reply #4 on: January 04, 2007, 03:11:58 pm »
The latest version should be fine.

The classes aren't actually in those namespaces are they?

In that case there won't be a way to get EA to automatically create a single diagram with all classes on it.  Although you can easily create such a diagram.

Regardless, a diagram like that typically isn't very useful.  They generally contain far too much to be easily understood.  (Even diagrams of an entire package have this problem)  A much better idea is to construct as many smaller diagrams to convey a single point as is necessary.  Unfortunately detecting "what is interesting" isn't something that can be automated.  So diagrams like that do need to be manually constructed, although EA does provide tools for finding the related classes.

Sorry if I'm not helping with that last paragraph.