Author Topic: Constraining autodefinition of Stereotypes  (Read 4007 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Constraining autodefinition of Stereotypes
« on: September 24, 2009, 08:43:43 am »
If you define a new stereotype on an item, EA "obligingly" adds it to the list of stereotypes in Settings|UML...|Stereotypes.  This is useful for new users and in many cases, however this IS a downside to it.  If you type a stereotype in and misspell it, you get another (incorrect) stereotype.  If you later spot it in the list, it's difficult to find which items have had it applied to and correct it.

I'm thinking of suggesting the ability to conditionally constrain the creation of stereotypes so that the model administrator has more control over their entry onto the Stereotype list.

Something like:

New Stereotype Management:
(x) Always add to list, without asking
(  ) Ask before adding
(  ) Do not allow adding to list

Where the first entry is the default behaviour (as at present).
The second entry would present a dialog asking whether to add to the list, additionally presenting the closest matches in the existing list to allow the use to:

Definition:
(x) Add to list without additional dialog
(  ) Add to list and open Settings dialog
(  ) Replace with: [<existing list in dropdown - best match selected>]
(  ) Return me to item

Again, the first option is the current behaviour.

Before I submit the feature request, I thought I'd get input from the forum...
Thoughts?   Votes?
TIA,
Paolo
« Last Edit: September 24, 2009, 08:44:59 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Constraining autodefinition of Stereotypes
« Reply #1 on: September 24, 2009, 04:20:49 pm »
Maybe the security option "Configure Stereotype" can be of help (if it indeed prohibits the creation of new stereotypes, I haven't tested that.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Constraining autodefinition of Stereotypes
« Reply #2 on: September 24, 2009, 04:50:31 pm »
Quote
Maybe the security option "Configure Stereotype" can be of help (if it indeed prohibits the creation of new stereotypes, I haven't tested that.

Geert
Most of our models don't require security (and like you, I haven't tested this option out - maybe someone who has can enlighten us).  But, in any case, what I'm trying to guard against is spurious configuration of stereotypes.

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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Constraining autodefinition of Stereotypes
« Reply #3 on: September 24, 2009, 05:02:43 pm »
Word of the day:
Spurious:
Quote
not genuine, authentic, or true; not from the claimed, pretended, or proper source; counterfeit

 ;)

BTW I agree with your point. It is rather annoying that sometimes there are three versions of (semantically) the same stereotype in the model. I'd love a way to avoid that.

Geert

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Constraining autodefinition of Stereotypes
« Reply #4 on: September 25, 2009, 10:51:15 am »
Please add me to that list, as well as to the supporters of Paolo's suggestion.
No, you can't have it!