Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: MichPaule on January 16, 2024, 02:54:38 am
-
Hi,
the subject says it all ;)
Besides the example XML string (https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/repository3.html) (see AddPropertiesTab documentation) there seem to be no further documentation of the XML format.
Is it really undocumented or am I just too blind?
Thanks for any pointers!
Best regards
Michael
-
There is the documentation of the properties tab itself: https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/class_propertiestab.html (https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/class_propertiestab.html)
Not sure what more documentation you are expecting.
Geert
-
Hi Geert,
I don't see a documentation of the XML format of PropXML there.
This is what I'm missing!
Regards
Michael
-
Ah, I see. I guess they thought the example would be self-explanatory.
As with a lof of stuff in EA, I guess you'll have to trial-and-error your way through.
Geert
-
Sigh, I feared that...
So far I found that nesting groups seems not to work.
Basically I'm looking for ways to display complex data structures.
As they might be VERY large it would be good to be able to expand/collapse parts of it.
Regards
Michael
-
Have you thought about creating your own control and displaying that using AddWindow or AddTab?
I have never bothered with the AddPropertiesTab stuff and always made by own forms.
Geert
-
Yes, but only as a last resort.
Right now I'm completely fine with your EA-Matic :)
I like the idea of not being forced to install/update something on users machines.
Installation of EA-Matic is part of the initial setup of course!
Keeps IT out of the game 8)
Michael
-
Yes, but only as a last resort.
Right now I'm completely fine with your EA-Matic :)
I like the idea of not being forced to install/update something on users machines.
Installation of EA-Matic is part of the initial setup of course!
Keeps IT out of the game 8)
Michael
Ah, I see ;D
Geert
-
Hello Michael,
You might have already found the XML format, but you can find the XML example in the Enterprise Architect Example model:
1. Open Example Model
2. double-click the 'Model Based Add-ins' Navigation cell in the default diagram
3. click the MyDemoAddin class and then click the ShowPropertiesList method in the Class
4. select 'Develop' Ribbon | Behaviour button | Edit Internal Code
HTH,
-
You might have already found the XML format, but you can find the XML example in the Enterprise Architect Example model:
1. Open Example Model
2. double-click the 'Model Based Add-ins' Navigation cell in the default diagram
3. click the MyDemoAddin class and then click the ShowPropertiesList method in the Class
4. select 'Develop' Ribbon | Behaviour button | Edit Internal Code
Hi,
thanks for the info.
From first look it seems to be the same XML as in the help, right?
So unfortunately it doesn't shed more light into the XML options.
@Eve: Would a XSD be too much of a wish?
Best regards
Michael
-
Hello Michael,
I am sorry, I did not realize that the example is in the another help page.
Please ignore my post...