Magic Header - multiple elements

Hello,

is it somehow possible to activate a script for multiple CapellaElements like this kind (it is not working…):

# popup : enableFor(org.polarsys.capella.core.data.pa.PhysicalFunction, org.polarsys.capella.core.data.pa.PhysicalFunctionPkg )

Kind regards

Hi,

The same question has been asked for on the EASE forum: https://www.eclipse.org/forums/index.php/t/1075923/
I did a quick search and did not found an opened bug about this on ease bugzilla.
I see a possible workaround (not that nice but still): Set the content of your script into a function and call it afterward (so you script still works) then create a second script importing the first one and calling the first script function. You can then change the header for the second script to the second type of “enableFor”.
Maybe you can open a bug: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EASE&rep_platform=All&op_sys=All

Regards,
Arnaud