Sparx Systems Forum
Enterprise Architect => Uml Process => Topic started by: Henrik Raböse on October 21, 2015, 12:46:05 am
-
Hi,
i've some custom usercontrols drawn. Now i want to insert these controls in other controls as refernce (link).
How do I do that?
Custom controls:
(http://it-raboese.de/ea/custom_usercontrols_01.png)
Usercontrol to insert custom usercontrol:
(http://it-raboese.de/ea/custum_usercontrols_02.png)
regards
Henrik
-
Select all elements of you usercontrol on the diagram and press Ctrl-c (copy)
Then go to the target diagram and press Ctrl-V (paste)
That will also copy the layout to the new diagram.
Geert
-
Ok,
this make a copy of elements no reference.
-
Ok,
this make a copy of elements no reference.
Why do you think that?
To make a copy of the elements you need to press Shift-Ctrl-V
Geert
-
By Ctrl+C and Ctrl+V on the same view - the error dialog says:
"Only one instance allowed."
I do not want any instance, I want a reference! ;)
Ok my next test was:
Draw userControl on a view - and on another view in a control again via Ctrl+c ... Ctrl + v.
The result is confusing!
The usercontrols in the project tree moves from the folder to the element on the other view. Shown in the clip.
http://it-raboese.de/ea/ea.avi
-
You can only show one reference to an element on a single diagram (except in v 12.1, there you can somehow add multiple representations on the same element on a diagram)
Yes, the fact that your elements are being relocated can be quite confusing and annoying.
You can turn this behavior off by unchecking "Tools|Options|Objects|Support for Composite Objects", but then it will be turned off for everything.
Geert
-
Ok.
Thanks.
Is v12.1 a beta release?
I don't found a download link.
regards
Henrik
-
Yes, 12.1 is still in beta.
Geert
-
12.1 beta link:
http://www.sparxsystems.com/products/ea/12.1/