Hi All:

It seems it would be good that I clarify this matter.

In the Project class, the following was added recently:

            // TODO: Bob says - I thought we no longer deleted attached
            // diagrams if a model element was deleted.

Yes, we still delete e.g. the classdiagram below a package if you delete the package. If you delete a namespace, then all its owned modelelements are deleted, too, including diagrams.

But when e.g. a class is the CONTEXT of a statemachine, and the class is deleted, then the diagram that represents the statemachine will remain, and the only effect on the statemachine is that its context is now undefined.

This last case is according UML spec, since the statemachine - context relation is aggregation, not composition.

All this said, maybe there are cases in which currently (i.e. current CVS) a diagram is deleted, which you'd like to retain. Please describe the case (in an issue)!

Regards,
Michiel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to