Book a Demo

Author Topic: Composite object - How to switch diagram?  (Read 2667 times)

Joe Armstrong

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Composite object - How to switch diagram?
« on: November 01, 2011, 04:19:50 am »
Hi All,

Brand new to architect - running 9.1.910

Is there an way to change the default diagram that is displayed when double clicking on an object that is defined as a "Composite" (right click on object->Advanced->Composite) ?

When I first make a use-case "Composite" it creates another use-case-diagram (new/unwanted) below the use-case that I made "Composite" - I want this to be a Sequence Diagram - I can add a sequence diagram later and jump through some hoops to get the sequence diagram to show up when I double-click the use-case, but it is unwieldy.

How I did it:
  • Moved (Green up arrow) the new sequence diagram up to the top of the children under the use-case
  • deleted the new/unwanted use-case-diagram
  • Made the original use-case object "not Composite" then "Composite" again

The above worked, but is really unwieldy - What is the right way to do this ?

Thanks.

Joe

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Composite object - How to switch diagram?
« Reply #1 on: November 02, 2011, 10:43:12 am »
You're pretty much there. Just create the sequence diagram as a child of the use case before making the use case composite
The Sparx Team
[email protected]

Joe Armstrong

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Composite object - How to switch diagram?
« Reply #2 on: November 03, 2011, 02:16:26 am »
Much easier!  Thanks.

Joe