Book a Demo

Author Topic: How to connect a method/operation with its diagram  (Read 2901 times)

HaveABeer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
How to connect a method/operation with its diagram
« on: September 09, 2004, 06:49:21 am »
How to connect a method/operation with a behavioral diagram? Where can I model the implementation of the method/operation?

Best regards

Adam

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: How to connect a method/operation with its dia
« Reply #1 on: September 09, 2004, 01:55:00 pm »
I am not sure if this answers your question:

A Method/Operation on a class is used when specifying messages between instances in a sequence diagram.  Make sure when you create a new object instance on a diagram that you drag in an instance from a class specifier from a logical view.  If you do, then the method names from the class specifier will appear when you select the dropdown on the Message Property window.  

HaveABeer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: How to connect a method/operation with its dia
« Reply #2 on: September 10, 2004, 03:51:56 am »
Quote
I am not sure if this answers your question:

A Method/Operation on a class is used when specifying messages between instances in a sequence diagram.  Make sure when you create a new object instance on a diagram that you drag in an instance from a class specifier from a logical view.  If you do, then the method names from the class specifier will appear when you select the dropdown on the Message Property window.  


There is some misunderstanding here. Sorry.
I'm not asking how to model the fact that I want a method to be called.
What I want to model is the implementation of a method. Ideally I would want to be able to add a sequence/activity diagram to a method (a diagram below a method in the project tree) but I know it's not possible in EA.
Any other solution?

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: How to connect a method/operation with its dia
« Reply #3 on: September 10, 2004, 04:50:56 am »
My solution would be to add the diagram under the class and give it the same name as the operation. I agree that it would be ideal to be able to add a diagram as a child of an operation in the project tree.

Mikkel