gaphor / gaphor-utterances

Comments on https://docs.gaphor.org
0 stars 0 forks source link

en/latest/stereotypes #3

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Stereotypes - Gaphor documentation

https://docs.gaphor.org/en/latest/stereotypes.html

MaximeMahe78 commented 1 year ago

Hi, i

MaximeMahe78 commented 1 year ago

Hi, I created a profile diagram where I defined my metaclasses and my stereotypes but I can't make it applied to my model. How to proceed with that? I created a stereotype based on an Use Case metaclass but it seems I cannot use my stereotype when I am modelling in a Use Case diagram.

MaximeMahe78 commented 1 year ago

Also, it would be better to be able to select directly the metaclass element when creating the metaclass, this would lead to less confusion. An example, I want to make a stereotype out of an Use Case. is the metaclass "Use Case", "UseCase" or even "use case"?

amolenaar commented 1 year ago

Hi @MaximeMahe78,

Sorry for the late response.

Also, it would be better to be able to select directly the metaclass element when creating the metaclass, this would lead to less confusion. An example, I want to make a stereotype out of an Use Case. is the metaclass "Use Case", "UseCase" or even "use case"?

You can select the right type from a dropdown (with filtering) once you connected the stereotype and the metaclass. The class element is only considered a metaclass when an Extension has been connected to it.

image

Once the UseCase has been linked, you can select your use case and apply the stereotype from the element editor (right pane):

image