Book a Demo

Author Topic: User interface model  (Read 17230 times)

Henrik Raböse

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
User interface model
« 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:



Usercontrol to insert custom usercontrol:


regards
Henrik
« Last Edit: October 21, 2015, 12:54:06 am by Henrik.Raboese »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13495
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: User interface model
« Reply #1 on: October 21, 2015, 04:02:04 am »
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

Henrik Raböse

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: User interface model
« Reply #2 on: October 21, 2015, 06:06:50 pm »
Ok,

this make a copy of elements no reference.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13495
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: User interface model
« Reply #3 on: October 21, 2015, 06:30:27 pm »
Quote
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

Henrik Raböse

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: User interface model
« Reply #4 on: October 21, 2015, 09:30:09 pm »
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
« Last Edit: October 21, 2015, 09:45:31 pm by Henrik.Raboese »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13495
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: User interface model
« Reply #5 on: October 21, 2015, 09:49:33 pm »
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

Henrik Raböse

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: User interface model
« Reply #6 on: October 21, 2015, 10:03:38 pm »
Ok.
Thanks.

Is v12.1 a beta release?
I don't found a download link.


regards
Henrik

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13495
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: User interface model
« Reply #7 on: October 21, 2015, 10:22:17 pm »
Yes, 12.1 is still in beta.

Geert

Sam Courtney

  • EA User
  • **
  • Posts: 58
  • Karma: +1/-0
    • View Profile
Re: User interface model
« Reply #8 on: October 24, 2015, 12:52:36 am »