Book a Demo

Author Topic: Using an extended requirement in custom toolbox  (Read 7146 times)

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Using an extended requirement in custom toolbox
« on: October 30, 2015, 09:42:53 am »
Can I add an extended requirement to my custom toolbox either directly by referring to it via its technology

Code: [Select]
Something::ArchitecturalRequirement(UML::Requirement)
or will I need to create an abstract metatype thingy in my technology pointing to it?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Using an extended requirement in custom toolbo
« Reply #1 on: October 30, 2015, 09:55:09 am »
You refer to its profile not technology, but yes. Try:
Code: [Select]
EAREQ::ArchitecturalRequirement(UML::Requirement)
To find out the name of the profile, go to the stereotype picker dialog and the profile names are in the listbox.
The Sparx Team
[email protected]

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Using an extended requirement in custom toolbo
« Reply #2 on: October 30, 2015, 10:16:18 am »
Oh right, no picker  in the stereotype dialog for a requirement but I can see the profile name in the tabs. :-)

But testing a few random things I don't have a selected profile from the stereotype picker, just a yellow highlighted blank and the option to pick a profile.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Using an extended requirement in custom toolbo
« Reply #3 on: October 30, 2015, 10:58:43 am »
I didn't say which stereotype picker, did I. Create a requirement, open the Properties window (Alt+1), open up the combobox for Stereotype and select "Browse other stereotypes..." at the bottom of the list.
The Sparx Team
[email protected]

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Using an extended requirement in custom toolbo
« Reply #4 on: October 30, 2015, 11:43:24 am »
Ahh I get you, the stereotype is prefixed with the profile in the checkbox frame.  I was expected the drop down to show the selected profile not a blank, as that would seem to be intuitive.  :)