Author Topic: Create a stereotyped Requirement elements  (Read 838 times)

EA_enthusiast

  • EA User
  • **
  • Posts: 169
  • Karma: +0/-0
  • I'm a lifelong learner
    • View Profile
Create a stereotyped Requirement elements
« on: October 22, 2023, 06:37:20 pm »
Hello, EA Experts,

I am using the Business Motivation Model to model the strategic elements of an organization. The model uses stereotyped requirements for modeling goals, objectives, mission, vision, etc. (as shown in the screenshot). I dragged a non-stereotyped Requirement element from the toolbox and I want to create a stereotype for it and call it "strategic imperative". When I open the Properties window, I do not see the stereotype filed, I can only see the type filed (as shown in the screenshot).

https://ibb.co/pfcdh2X

Can someone please help me on how to add a stereotype for the Requirement element?

Thank you,
Thank you to all the contributors who spread their knowledge and experience!

shimon

  • EA User
  • **
  • Posts: 83
  • Karma: +1/-0
    • View Profile
Re: Create a stereotyped Requirement elements
« Reply #1 on: October 23, 2023, 12:40:50 am »
Try the properties window, not the Modal pop-up.
I don't remember the keyboard shortcut, but it is accessible via Portals -> Windows ->Properties.

EA_enthusiast

  • EA User
  • **
  • Posts: 169
  • Karma: +0/-0
  • I'm a lifelong learner
    • View Profile
Re: Create a stereotyped Requirement elements
« Reply #2 on: October 23, 2023, 07:11:08 am »
Hello, Shimon,

Thanks a lot for your response. That worked! I managed to add a custom stereotype, as shown below...

https://ibb.co/whmBcpc

Now, I am trying to make the element appearance similar to the other elements in the model. i.e., appears with only the stereotype at the top. I tried switching the appearance to "Use Rectangle Notation" but I still see the Requirement stereotype icon at the top right; as shown below...
https://ibb.co/rZKTP3Y

I tried to uncheck "Use Stereotype Icons" in Design > Diagram > Manage > Properties > Elements but that did not work

https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_languages/stereotype_visibility.html

Is there a way to hide this stereotype icon?
« Last Edit: October 23, 2023, 07:23:00 am by Moe »
Thank you to all the contributors who spread their knowledge and experience!

qwerty

  • EA Guru
  • *****
  • Posts: 13428
  • Karma: +390/-299
  • I'm no guru at all
    • View Profile
Re: Create a stereotyped Requirement elements
« Reply #3 on: October 26, 2023, 03:47:00 am »
Why would you attempt that? Hiding it is like pretending an element is not what it is and thus confusing the reader.

q.

EA_enthusiast

  • EA User
  • **
  • Posts: 169
  • Karma: +0/-0
  • I'm a lifelong learner
    • View Profile
Re: Create a stereotyped Requirement elements
« Reply #4 on: October 28, 2023, 03:36:17 am »
Hello qwerty,

Thank you for chiming in. I need to hid to make it consistent with the rest of the elements in the diagram.

Now, "strategic imperative" looks odd compared to the rest of the elements in the diagram which would actually raise the question by the reader "why is this different?"
Thank you to all the contributors who spread their knowledge and experience!

qwerty

  • EA Guru
  • *****
  • Posts: 13428
  • Karma: +390/-299
  • I'm no guru at all
    • View Profile
Re: Create a stereotyped Requirement elements
« Reply #5 on: October 28, 2023, 09:24:09 pm »
Well, if there's a difference in semantics then it's different and should appear as such. If it's not different, then why have it at all?

q.