Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: elr on January 01, 2025, 03:19:15 am

Title: Suppress activations bar for a custom diagram
Post by: elr on January 01, 2025, 03:19:15 am
Hello all,

In my MDG metamodel, I'm adding up a sequence diagram to my <<diagram profile>>.
Is there a way to configure it without activations bars by default ? I don't spot any related parameter (in styleex and pdata) for the Diagram_Sequence metaclass. Weird ?!

Thx you and best wishes for 2025 !

Eric
Title: Re: Suppress activations bar for a custom diagram
Post by: Takeshi K on January 06, 2025, 10:00:53 am
Hello,

Maybe adding 'SuppressFOC=1;' to the StyleEx could solve your problem.

HTH,
Title: Re: Suppress activations bar for a custom diagram
Post by: elr on January 06, 2025, 10:13:57 am
That works. Thank you Takeshi ! 

I understand that User Guide 'MDG Technologies' is not the only guide to read as it never refers to 'SuppressFOC'   :o

Where this 'SuppressFOC=1' documented ?

Eric
 


Title: Re: Suppress activations bar for a custom diagram
Post by: Takeshi K on January 06, 2025, 04:07:49 pm
Great to hear that the information has helped you.

I do not know the document which the setting is mentioned, but it is easy to find it by checking a difference in the t_diagram (in this case) table after changing the target setting.

Title: Re: Suppress activations bar for a custom diagram
Post by: elr on January 08, 2025, 10:18:28 am
Hi Takeshi,

Without doc, I have no clue how you can determine the keyword (here 'SuppressFOC') just by comparing an option-enabled release and an option-disabled's one  :-\

Does EA provides means or do we require a DB inspection ?!

Thx for your help !

Eric
Title: Re: Suppress activations bar for a custom diagram
Post by: Valery Creux on January 10, 2025, 02:01:19 am
Some of them are describe in the book "Inside Enterprise Architect - Querying EA’s Database" from Thomas Kilian
See http://leanpub.com/InsideEA
Title: Re: Suppress activations bar for a custom diagram
Post by: elr on January 11, 2025, 03:29:41 am

Thank you Valery  for pointing me this source !
 ;)