Author Topic: Adding a custom property to diagrams  (Read 3898 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1374
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Adding a custom property to diagrams
« on: November 03, 2014, 06:25:22 pm »
Hi,
I'm writing an add'in which will update a number of flagged diagrams. I initially thought I could flag diagrams using tagged values, however these only exist for elements.

Is there a simple way, other than with stereotypes, even if it requires a DB SQL update, to flag diagrams? I need to store this information in the project itself, not in a user's property file, so that the list of flagged diagrams can be shared by all.

thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Adding a custom property to diagrams
« Reply #1 on: November 03, 2014, 07:42:31 pm »
Probably the easiest way is to use the diagram notes property. Normally this is not seen except you have the notes window open and focus on the diagram in the browser. There are a couple of (likely unused) columns like HTMLPath (not sure), TPos (most likely), StyleEx (choose your own attribute in the form <myspecialname>=<value>;).

q.
« Last Edit: November 03, 2014, 07:42:52 pm by qwerty »