Book a Demo

Author Topic: MdG with stereotyped action  (Read 4761 times)

Giu Platania

  • EA User
  • **
  • Posts: 88
  • Karma: +4/-0
  • As Above so Below
    • View Profile
    • Linkedin
MdG with stereotyped action
« on: July 26, 2023, 03:37:30 am »
hi all,
in my MdG I have a stereotyped Operation from which I wanted to create a stereotyped calloperation action. First of all I realized that the "InstanceType" of the operation is ignored, so I have to add the stereotype manually.
Now I'm trying to display some tagged values, however the action is not responding to the show tagged value compartment command in the UI.
If I try to create a shapescript from the ground, I loose the notation
Code: [Select]
ACTIONNAME
(ParentObject::OperationName)

Question: how can I reference to ParentObject::OperationName in the action using shapescript?
Giuseppe Platania
Enterprise Architect
Door Business Consulting
+++
"As above so below, to accomplish the miracles of the One Thing" - Trismegistus
===
The above content reflects my own opinion and is not endorsed by Monthy Python
***
The above is NOT a reference to Monty Python

Giu Platania

  • EA User
  • **
  • Posts: 88
  • Karma: +4/-0
  • As Above so Below
    • View Profile
    • Linkedin
Re: MdG with stereotyped action
« Reply #1 on: July 26, 2023, 04:05:25 am »
some results of my experiments, looking at the docs here:
https://sparxsystems.com/enterprise_architect_user_guide/16.0/modeling_frameworks/displaying_element_properties.html

  • classifier: returns the name of the original operation
  • packagepath: returns only the parent package

all of following is ignored
  • classifier.actualname
  • classifier.metatype
  • classifier.name
  • classifier.type
  • classifier.alias
classifier.stereotype
[/list]
Giuseppe Platania
Enterprise Architect
Door Business Consulting
+++
"As above so below, to accomplish the miracles of the One Thing" - Trismegistus
===
The above content reflects my own opinion and is not endorsed by Monthy Python
***
The above is NOT a reference to Monty Python

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MdG with stereotyped action
« Reply #2 on: July 26, 2023, 06:10:30 am »
Cross check with V15. If it works there: report a bug.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MdG with stereotyped action
« Reply #3 on: August 22, 2023, 07:44:24 pm »
Classifier won't do you any good as the operation is not the classifier.

You might be out of luck, except for the Add-in option. (which can very easily turn into a performance issue if you are not careful)

Geert