Book a Demo

Author Topic: Instance of Object but no Link to Class v10.0.1004  (Read 3618 times)

carlclarke

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Instance of Object but no Link to Class v10.0.1004
« on: December 15, 2012, 12:33:58 am »
I am scratching my head here. If I drag and drop a class onto a sequence diagram in V9x it is a link. If I do the same in v10 it is an instance of an object. Tools->Options->Diagram->Behaviour Auto Instance is unchecked for both versions. Holding Ctrl down during a drag and drop beings up a dialog in v9x and nothing in v10. Can anyone else confirm or deny the behaviour??

Regards.
« Last Edit: December 15, 2012, 02:54:49 am by carlclarke »

carlclarke

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Instance of Object but no Link to Class v10.0.1004
« Reply #1 on: December 15, 2012, 02:11:45 am »
Checked a few mores times and it is still puzzling me but I would if someone can confirm the same behaviour before I raise a bug.
« Last Edit: December 15, 2012, 02:55:10 am by carlclarke »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Instance of Object but no Link to Class v10.0.
« Reply #2 on: December 17, 2012, 10:25:13 am »
Probably worth raising a bug report, but I'm curious to know why you want to put a class lifeline on a sequence diagram? The only reason I can think of is if you are calling a static method on a class.
« Last Edit: December 17, 2012, 10:25:30 am by KP »
The Sparx Team
[email protected]

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Instance of Object but no Link to Class v10.0.
« Reply #3 on: December 17, 2012, 07:23:31 pm »
To undo this you have to ctrl-drag a class to a Class Diagram (not a sequence diagram) and then choose the default behavior.
Then you can drag classes onto sequence diagrams again (without creating instances)

Geert

PS. Sometimes the reason to do this is simply because "they told us so". At my client the current methodology dictates that we create SD's with classes iso object. I know its better to use objects, but I'm not willing to change tens of thousands of SD's just because of that :-X