Book a Demo

Author Topic: action script 2 generation  (Read 2549 times)

realien

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
action script 2 generation
« on: April 07, 2006, 01:44:22 pm »
Hi guys, I'm new to EA but well versed in UML and tools, we own Togethersoft (now borland)  products and I used rational in my darker days.

I'm running the eval copy of EA and am very impressed so far, I have a flash project I'm building some classes for and as test I created a simple class called EventNames and when EA generated the class I get two class statements in the code :

Code: [Select]
/**
* @version 1.0
* @created 07-Apr-2006 4:37:02 PM
*/
class Class Model.com.iLearn.util.EventNames
{
}//end EventNames


notice the class Class ?

Is there a patch/fix I need to do so I don't have to correct every generated file.

I was also looking for a way to reverse engineer a method on a class into a sequence diagram as i often do in java with Borlands Enterprise Architect Tool.  Is this possible with EA ?  I could find anything that would let me select a method and then choose "generate sequence diagram"

Thanks
Grant
http://www.bluetube.com
http://theresidentalien.typepad.com

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: action script 2 generation
« Reply #1 on: April 09, 2006, 03:04:11 pm »
Hi Grant,

You need to set your 'Class Model' package as a namespace root.  To do this right click on it in the project view and select Code Engineering | Set as Namespace Root.

EA will generate a namespace for each package below a namespace root package.

Please see http://www.sparxsystems.com.au/EAUserGuide/index.html?namespaces.htm for more information.