Author Topic: Synchronization of Project Browser and Diagram  (Read 3730 times)

MatthiasWald

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Synchronization of Project Browser and Diagram
« on: September 25, 2004, 07:50:39 am »
Is it possible to keep diagrams and entries in packages in sync? Creating elements in diagrams also creates the
elements in the project browser. Element removal is not reflected in the project browser leaving stale elements.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Synchronization of Project Browser and Diagram
« Reply #1 on: September 25, 2004, 11:55:29 am »
This is a correct behaviour. Removing an element from a diagram should not delete it from the project browser (and therefore from the whole model) as the same element can be displayed on multiple other diagrams.

Bruno

thomaskilian

  • Guest
Re: Synchronization of Project Browser and Diagram
« Reply #2 on: September 25, 2004, 12:15:16 pm »
Instead try CTRL+DEL.

MatthiasWald

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Synchronization of Project Browser and Diagram
« Reply #3 on: September 25, 2004, 01:17:30 pm »
Thanks a lot for the replies. The CTRL-DEL is what I was
looking for. Of course the elements should not be removed automatically when they are used in other diagrams.

Thanks again.

Regards

Matthias

MatthiasWald

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Synchronization of Project Browser and Diagram
« Reply #4 on: September 27, 2004, 06:40:30 am »
Maybe it would be nice to be asked to delete the element from the model when there is no other reference to a diagram. This sounds like the normal reference counting to be implemented.

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Synchronization of Project Browser and Diagram
« Reply #5 on: September 28, 2004, 06:16:25 am »
You can also use the Find function with the "Find orphans" option checked to find unused elements. Then you can delete them.

Mikkel

thomaskilian

  • Guest
Re: Synchronization of Project Browser and Diagram
« Reply #6 on: September 28, 2004, 08:34:04 am »
Mikkel,
I guess Matthias needs it the other way around. If the object is referenced in more than the current diagram one should be asked before deletion. The orphans just shows such elements which are NOT in any diagram. However, the CTRL+DEL warns that this is final. In that way you should  ??? know that you don't need the element any more...

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Synchronization of Project Browser and Diagram
« Reply #7 on: September 28, 2004, 04:02:49 pm »
 8) Don' t forget ctl-U on a clicked diagram element shows you where its used.

I, myself, personnally have got into the habit of ctl-U, ctl-Del  ::)

rgrds
Bruce
"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.

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Synchronization of Project Browser and Diagram
« Reply #8 on: September 29, 2004, 07:59:24 am »
Thomas, my point is that if you just use regular delete in your diagrams, you can tidy up once in a while using Find Orphans.

Mikkel

thomaskilian

  • Guest
Re: Synchronization of Project Browser and Diagram
« Reply #9 on: September 29, 2004, 12:14:49 pm »
Ah, I see. That makes sense also  :)