Book a Demo

Author Topic: Can I generate classes from sequence diagram  (Read 3260 times)

FBSV

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Can I generate classes from sequence diagram
« on: June 26, 2006, 05:59:55 am »
From a sequence diagram, like on this example : http://sparxsystems.com.au/EAUserGuide/softwarearchitects.htm
, is it possible to generate classes "OrderScreen", "Cart", "Payment"... If yes, how can I do it ? Because presently, when I want to add a message on an entity or a boundary, I make a arrow, from an entity to an other. In the "message properties box" I cant' click on "operations"...

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Can I generate classes from sequence diagram
« Reply #1 on: June 26, 2006, 08:05:23 am »
No you cannot, at least not yet.

There's been plenty of discussion about this here in the forum, as well as several approaches. Some are discussed quite thoroughly. I suggest you do a few searches - be persistent, different keyword combinations will produce varying results - and read through these.

You might also check out the EA Users Group - see the link at the top of the Automation board - and the Wiki.

Good hunting,
David

EDIT: Sorry, your use of the word "generate" led me to think you wanted to do code generation from the sequence diagram.
« Last Edit: June 27, 2006, 05:08:27 am by Midnight »
No, you can't have it!

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Can I generate classes from sequence diagram
« Reply #2 on: June 26, 2006, 03:50:28 pm »
Select the object in the seq diagram.
ctl+L brings up the classifier box
click [Add new Element]


hth
bruce

p.s. the elements in your diagram are objetcs aren't they?
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

FBSV

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Can I generate classes from sequence diagram
« Reply #3 on: June 27, 2006, 12:31:16 am »
Thanks a lot. I have resolve the problem. What I have to do is create before my classes that I stereotyped. Then I can make a sequence diagram with this classes. All the operations that I create on sequence diagram are visible in classes.