1
Suggestions and Requests / Drop element: instantiate contained classifiers
« on: November 10, 2020, 07:36:29 pm »
Hey everybody,
When you drag a classifier element onto a diagram, you can choose whether to drop it as a link, an instance or something context-specific (generalization, partition, etc).
If you elect the instance and the classifier has embedded elements (ports, activity parameters, etc, referred to as "structural elements" in the dialog) you are given the option of creating corresponding embedded elements in the instance. These may be instances of the classifier's embedded elements (action pin), or they may be essentially copies of them (ports).
But if you the classifier contains another classifier, that contained classifier is completely ignored.
I think there should be an option to create instances of contained classifiers.
So if I have a class A and a class A::B, and I drop A onto a diagram and select instance, I can get not just :A but also :A :: :B.
If that makes sense.
/Uffe
When you drag a classifier element onto a diagram, you can choose whether to drop it as a link, an instance or something context-specific (generalization, partition, etc).
If you elect the instance and the classifier has embedded elements (ports, activity parameters, etc, referred to as "structural elements" in the dialog) you are given the option of creating corresponding embedded elements in the instance. These may be instances of the classifier's embedded elements (action pin), or they may be essentially copies of them (ports).
But if you the classifier contains another classifier, that contained classifier is completely ignored.
I think there should be an option to create instances of contained classifiers.
So if I have a class A and a class A::B, and I drop A onto a diagram and select instance, I can get not just :A but also :A :: :B.
If that makes sense.

/Uffe