Book a Demo

Author Topic: Objects author=Diagrams author (automatic)  (Read 5436 times)

Damião

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Objects author=Diagrams author (automatic)
« on: May 23, 2015, 04:56:59 am »
Is there an option (or way) to make

objects in a diagram inherit its

diagram's author automatically.

Thanks,

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Objects author=Diagrams author (automatic)
« Reply #1 on: May 23, 2015, 06:44:06 am »
Only by writing an add-in that subscribe to EA_OnPostNewDiagramObject.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Objects author=Diagrams author (automatic)
« Reply #2 on: May 25, 2015, 08:51:52 am »
Seems like a very bad idea.

If you're creating new elements, set the appropriate name in the EA options. If you started setting the author in response to EA_OnPostNewDiagramObject every time someone adds an object to a diagram it will change the author.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Objects author=Diagrams author (automatic)
« Reply #3 on: May 25, 2015, 11:06:31 am »
+1 to Simon's point...

Objects DO NOT belong to diagrams - they belong to the repository.

Diagrams are (as they are supposed to be) merely a viewpooiint into the model within the repository.

"There be dragons"...

Paolo
« Last Edit: May 25, 2015, 11:07:23 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Objects author=Diagrams author (automatic)
« Reply #4 on: May 25, 2015, 07:01:00 pm »
I rather stopped wondering why people want to do things. So if someone asks me how to open the window to jump from the 10th floor I tell him how to open the window.

q.
« Last Edit: May 25, 2015, 07:01:20 pm by qwerty »

Damião

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Objects author=Diagrams author (automatic)
« Reply #5 on: May 25, 2015, 11:47:37 pm »
Dear qwerty, Simon M and Paolo F Cantoni.

Thanks for the orientation,

I'll consider this by doing (or not) this add-in.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Objects author=Diagrams author (automatic)
« Reply #6 on: May 26, 2015, 11:02:18 am »
Quote
I rather stopped wondering why people want to do things. So if someone asks me how to open the window to jump from the 10th floor I tell him how to open the window.

q.
You obviously don't live in the US where, as they were falling, they'd be instructing their lawyer on their mobile phone to sue you for NOT stopping them jumping!  ;)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Damião

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Objects author=Diagrams author (automatic)
« Reply #7 on: May 26, 2015, 11:51:45 pm »
Ok guys.  Be cool !

I've decided not to implement this automatic 'author' actualization.

Thanks for the tips.   ::)