Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: MatthiasWald 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.
-
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
-
Instead try CTRL+DEL.
-
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
-
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.
-
You can also use the Find function with the "Find orphans" option checked to find unused elements. Then you can delete them.
Mikkel
-
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...
-
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
-
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
-
Ah, I see. That makes sense also :)