Book a Demo

Author Topic: Auto-add linked document to stereotyped element  (Read 3983 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Auto-add linked document to stereotyped element
« on: May 05, 2016, 07:06:34 pm »
Hello boys and girls,


Working with a profile, is there a way to specify that an element should have a linked document? In other words, that it should behave like a Document in the Artifacts toolbox page?

It seems that what causes EA to auto-open (or create) the linked document when an element is double-clicked is the property "MDoc=1;" in t_object.Style. But I haven't found a way to set that; there's no special attribute in the metaclass or the stereotype that I can see, nor is there a Document metaclass available to extend.

Has anyone done this?

Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Auto-add linked document to stereotyped element
« Reply #1 on: May 05, 2016, 08:58:56 pm »
No, I haven't seen anything in the docs that might trigger this behavior.

You can of course mimic it with an add-in or EA-Matic script, but I guess you already know that  ;D

Geert