Book a Demo

Author Topic: Composite Elements - A Question  (Read 9092 times)

jedwards

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Composite Elements - A Question
« on: June 07, 2004, 08:18:37 am »
Hi all,

When I mark a class as a "composite element" EA automatically creates a new diagram and links the class to it.  Is there any way to link a composite element to an existing diagram instead of the new one?

Jon
« Last Edit: June 07, 2004, 08:19:52 am by Jon_Edwards »

thomaskilian

  • Guest
Re: Composite Elements - A Question
« Reply #1 on: June 07, 2004, 08:36:22 am »
Why not drag the existing diagram to the newly created and delete the latter?

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Composite Elements - A Question
« Reply #2 on: June 07, 2004, 04:09:06 pm »
Usual way i handle this is to
1) change the element to compositre
2) drag the existing diag to beneath th element
3) delete the element that was auto created,

Bru ce

pls forgive typeing - ive got a sprained thumb
"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.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Composite Elements - A Question
« Reply #3 on: June 09, 2004, 09:02:39 pm »
Or one step easier:

1) Drag an existing diagram under the element
2) Change the element to composite

Bruno

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Composite Elements - A Question
« Reply #4 on: June 09, 2004, 10:16:32 pm »
Have found that your method almost always works.....

B
"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.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Composite Elements - A Question
« Reply #5 on: June 09, 2004, 10:20:29 pm »
Just out of curiousity, when it does not work? I have really not used it with all the range of elements...

Bruno

kamil.svoboda

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: Composite Elements - A Question
« Reply #6 on: June 09, 2004, 11:37:34 pm »
Is it possible to create child diagram (for example child sequence diagram for the specific use case) and than create link (not move instance of the diagram) to another package (for example to package Sequence model)?
Kamil

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
I can find anytRe: Composite Elements - A Question
« Reply #7 on: June 09, 2004, 11:53:45 pm »
Bruno,

I've not really analysed it, and haven't checked for several releases. It wasn't anything obvious IIRC.

So, I just got used to doing the 3 step way and haven't ever had a problem.  I'll revert to the two-step and see if I can find anything.

B
"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.

thomaskilian

  • Guest
Re: Composite Elements - A Question
« Reply #8 on: June 10, 2004, 05:54:23 am »
Quote
Is it possible to create child diagram (for example child sequence diagram for the specific use case) and than create link (not move instance of the diagram) to another package (for example to package Sequence model)?
Kamil

In that case you can drag the desired package onto the newly created diagram. Double click there and you are linked.

kamil.svoboda

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: Composite Elements - A Question
« Reply #9 on: June 15, 2004, 12:04:40 am »
Quote
In that case you can drag the desired package onto the newly created diagram. Double click there and you are linked.


Sorry but I don't understand how to do it :( When I drop desired package onto newly created diagram nothing happens :( and double click is then nonfunctional.
Kamil

thomaskilian

  • Guest
Re: Composite Elements - A Question
« Reply #10 on: June 15, 2004, 10:30:14 am »
Try the following: Create two arbitrary diagrams. Open one of them. Drag the second from the explorer onto the open other diagram. You will be asked whether to create a diagram frame,  reference or hyper link. Select the first option. Then repeat with the two others. You'll see the difference now. Double clicking each of the copies will bring you to the referenced diagram.

kamil.svoboda

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: Composite Elements - A Question
« Reply #11 on: June 15, 2004, 10:58:54 pm »
Quote
Try the following: Create two arbitrary diagrams. Open one of them. Drag the second from the explorer onto the open other diagram. You will be asked whether to create a diagram frame,  reference or hyper link. Select the first option. Then repeat with the two others. You'll see the difference now. Double clicking each of the copies will bring you to the referenced diagram.

It works between two diagrams, but not between diagram and package. :( I want to create link from child sequence diagram of arbitrary use case diagram to Sequence model (package). I want  to link all sequence diagrams into the one package.

/Sequence model
/Use Case model
    /use case diagram
               +  child sequence diagram

thomaskilian

  • Guest
Re: Composite Elements - A Question
« Reply #12 on: June 16, 2004, 06:48:35 am »
Where is the difference? Drag the desired package onto the diagram. Double click and the top most diagram in that package will open. You may link the different diagrams in the way I showed above. Thus you're enabled to navigate through all diagrams.

Otherwise I can't see what you mean  ???

kamil.svoboda

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: Composite Elements - A Question
« Reply #13 on: June 22, 2004, 06:28:58 am »
Quote
Where is the difference? Drag the desired package onto the diagram. Double click and the top most diagram in that package will open.

doesn't work :(
when I drag package onto the diagram in Project view - nothing happens.
when I drag package onto the opened (child sequence) diagram (in main view) it is added as a package element :(

/Sequence diagrams
/Use Case diagrams
    MyFirstUseCaseDiagram
    MyUseCase
           MyChildSequenceDiagram

thomaskilian

  • Guest
Re: Composite Elements - A Question
« Reply #14 on: June 22, 2004, 08:51:36 am »
Just to confirm: you drag the package onto the open diagram window - not onto the diagram icon in the browser? If yes: what release do you use?