Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Guillaume on October 08, 2020, 07:31:06 pm
-
Hi,
I have to set custom properties in a diagram profile. This is very useful so users have the right config when creating a new diagram.
However there is a number of issues that need to be addressed:
1- The extension properties don't cover all the diagram properties. For instance, in the Elements tab there is no option to disable Show Port Classifiers and Show Property Type. In the Diagram tab, I can't disable the Namespace or hide the Diagram Details, and so
2- Some options are given the opposite way e.g. Show Additional Parents is lised as Hide Additional Parents. This is confusing and is prone to make mistakes.
Furthermore there seem to be several bugs e.g. Show Qualifiers & Visibility Indicators must be set to True so it's disabled. Also I cannot get Show Additional Parents to be disabled in the diagram tab. I cannot disable Features Show Qualifiers and Visbility Indicators , nor set Show Param Details to Full Details.
Note: I tried to manually review the metaclass styleex and pdata custom values and ended up with the following:
pdata = HideParents=1;ShowIcons=0;HideEStereo=1;HideStereo=1;OpParams=1;SuppCN=0;
styleex = HideQuals=0;HideConnStereotype=1;
Having tried several options, I noticed that if only put HideConnStereotype=1; on a diagram profile, it works. So the bug occurs once you combine a number of options.
I opened the project with EA 15.2 build 1554 and EA 15.1 build 1528. With EA 15.1 some options are properly set yet some are still inconsistent e.g. Show Parameter Detail is not supported.
3- The Properties order is not consistent with the tabs e.g. Diagram/Features/Elements/Connector versus Diagram/Elements/Features/Connector (and options should be listed in the same order)
We're not far from a great fully functional customisation feature!
-
Have you sent a bug report?
-
Yes I submitted it yesterday (ref 20105949).
Thanks
Guillaume