Author Topic: [SELF-SOLVED] Redefining Quicklinker captions  (Read 308 times)

PDC

  • EA User
  • **
  • Posts: 62
  • Karma: +2/-0
  • Systems Engineer
    • View Profile
[SELF-SOLVED] Redefining Quicklinker captions
« on: May 07, 2024, 11:20:04 pm »
I'm building an MDG technology using a Profile Metamodel and finding it difficult to redefine the Quicklinker captions. I've looked around online and it seems that this has been a bit of a buggy area over time. I'm in 16.1 (1628).

Specifically, I have a created new Stereotype 'validate' that I want to use to show that a Requirement is <<validated>> by another Element.
My 'validate' Stereotype redefines "SysML1.4::trace", and everything works fine except that the Quicklinker sub-menu caption still says 'Traced To'. I would like the caption to say "Validates" or "Validated by" (depending on the direction in which the Relationship is drawn). Is this possible?

_MeaningForwards and _MeaningBackwards (when applied to my 'validate' Stereotype) do not seem to make any difference in the Quicklinker nor in the Traceability window.

Thanks for any pointers!
« Last Edit: May 07, 2024, 11:39:05 pm by PDC »
Phil

PDC

  • EA User
  • **
  • Posts: 62
  • Karma: +2/-0
  • Systems Engineer
    • View Profile
Re: Redefining Quicklinker captions
« Reply #1 on: May 07, 2024, 11:38:47 pm »
Apologies, I fixed this within 10 minutes of posting the question.
For posterity, the answer seemed to be:
1. my new 'validate' Stereotype must extend the 'Trace' EAUML metaclass, not redefine the 'SysML1.4::trace' Stereotype
2.'_MeaningForwards' and '_MeaningBackwards' must be applied to the 'Trace' EAUML metaclass, not my new 'validate' Stereotype or the 'SysML1.4::trace' Stereotype

This does only provide my desired captions in the Quicklinker; the Traceability window still uses the terms 'Needed by' and 'Traced from', which is a bit inconsistent and annoying but I can live with that.

I'll stop talking to myself now...
Phil

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12909
  • Karma: +537/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: [SELF-SOLVED] Redefining Quicklinker captions
« Reply #2 on: May 07, 2024, 11:57:43 pm »
If you use the profile helper, you can simply fill in fields like MeaningForwards and MeaningBackwards. The tool will automatically create the attributes with the correct name on the correct item.

Geert

PDC

  • EA User
  • **
  • Posts: 62
  • Karma: +2/-0
  • Systems Engineer
    • View Profile
Re: [SELF-SOLVED] Redefining Quicklinker captions
« Reply #3 on: May 08, 2024, 12:21:57 am »
If you use the profile helper, you can simply fill in fields like MeaningForwards and MeaningBackwards. The tool will automatically create the attributes with the correct name on the correct item.

Geert

This is how I solved it - had avoided the profile 'helper' based on previous misconceptions but in this instance it actually did prove very helpful! Egg on my face.

Cheers :)
Phil