Sorry, on this specifically I don't agree (if I understand correctly).
If I reuse an activity diagram in several other diagrams it seems it is an independent activity, so it should not be moved under any of them.This way if I change it I only change it in one place transparently to the other diagrams. basic object oriented approach.
Martin,
I think I didn't explained myself well enough, since bruce also is having trouble with my point.
Point 1) If I wanted a new "Activity" I would have said so and I should have been asked. NOT create a new (unwanted) activity when I ask for hyperlink.
Now to point 2) When it creates this new activity is rather arbitrary (and seems to be) related to the "locale" of the diagram you are placing the "hyperlink" into. If you do things in a certain order and circumstances everything may appear to OK.
However, by triggering the "Cantoni Effect", the circumstances for my example, the created activity was 2 levels away from where the original diagram was. Now the diagram on its own comes under the package. But the new activity, even if created at the same level as the original diagram, cannot be created in the same place as the diagram.
So there's a problem there.
bruce, the behaviour you describe is essentially what I saw. My point is not that the pseudo-composite behaves like a hyperlink (all composites behave like a hyperlink -
that's why they're not really composites),
BUT that it's not what I wanted! I wanted a hyperlink - just like the other hyperlinks on that diagram
Martin, What I was trying to say was that if the activity is created, the diagram (preexisting) needs to be moved to be nested under the new activity - because if I'd made the activity composite and then double-clicked it, it would have created a new diagram there.
Where the new activity is create seems to be problematic, but that's a separate issue...
Hope that clarifies things...
Paolo