Author Topic: Add requirement to toolbox  (Read 4060 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Add requirement to toolbox
« on: June 19, 2014, 12:37:43 am »
Hi all,

Is there a way to include a specific type of requirement (eg Display or Performance) in a diagram toolbox?

I can of course create a requirement stereotype in a profile and use that - but then I can't pick that type in the Requirement property dialog (although I can pick it in the stereotype selection dialog, which I can open from the Properties window).

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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add requirement to toolbox
« Reply #1 on: June 19, 2014, 06:43:05 am »
IIRC the requirement type is just the stereotype of the element.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Add requirement to toolbox
« Reply #2 on: June 19, 2014, 06:05:38 pm »
No.

The type of an individual requirement is stored in t_object.Stereotype, but the set of selectable requirement types is stored in its own table (t_requiretypes), and modified in Settings - Project Types - General Types. It can be exported / imported as reference data, but not included in an MDG Technology. The default requirement types include Display and Performance.

Only these types are selectable in the Requirement properties dialog, EA omits any custom requirement stereotypes from the list. But you can select from custom stereotypes via the Properties window.

My question was, and remains, is there a way to include a specific type of requirement (eg Display or Performance) in a diagram toolbox?

/Uffe
« Last Edit: June 19, 2014, 06:09:37 pm by Uffe »
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add requirement to toolbox
« Reply #3 on: June 19, 2014, 07:21:28 pm »
You are right - and you are not. Open the properties window (Alt-1). There you can select the requirement types from the stereotype drop down. The values here are however from the table you mentioned. You can also add any other stereotype here.

q.
« Last Edit: June 19, 2014, 07:21:59 pm by qwerty »

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Add requirement to toolbox
« Reply #4 on: June 19, 2014, 08:31:03 pm »
Yes. I know how the property dialog and property window work. That's why I said so in my previous post.

My question is not how to set the type of a requirement element. It is, for the third time:

Is there a way to include a specific type of requirement (eg Display or Performance) in a diagram toolbox?
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add requirement to toolbox
« Reply #5 on: June 20, 2014, 12:00:36 am »
Ok. Then let me try to explain more clearly: Create a stereotype extending a metaclass "Requirement" and put that in your toolbox.

q.