Author Topic: AddPropertiesTab XML documentation missing  (Read 5235 times)

MichPaule

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
AddPropertiesTab XML documentation missing
« on: January 16, 2024, 02:54:38 am »
Hi,

the subject says it all  ;)
Besides the example XML string (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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13179
  • Karma: +549/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: AddPropertiesTab XML documentation missing
« Reply #1 on: January 16, 2024, 04:32:01 pm »
There is the documentation of the properties tab itself: https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/class_propertiestab.html

Not sure what more documentation you are expecting.

Geert

MichPaule

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: AddPropertiesTab XML documentation missing
« Reply #2 on: January 16, 2024, 06:12:16 pm »
Hi Geert,
I don't see a documentation of the XML format of PropXML there.
This is what I'm missing!
Regards

Michael

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13179
  • Karma: +549/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: AddPropertiesTab XML documentation missing
« Reply #3 on: January 16, 2024, 06:31:21 pm »
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

MichPaule

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: AddPropertiesTab XML documentation missing
« Reply #4 on: January 16, 2024, 08:39:07 pm »
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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13179
  • Karma: +549/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: AddPropertiesTab XML documentation missing
« Reply #5 on: January 16, 2024, 08:53:14 pm »
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

MichPaule

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: AddPropertiesTab XML documentation missing
« Reply #6 on: January 16, 2024, 09:12:12 pm »
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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13179
  • Karma: +549/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: AddPropertiesTab XML documentation missing
« Reply #7 on: January 16, 2024, 09:16:24 pm »
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

Takeshi K

  • EA User
  • **
  • Posts: 548
  • Karma: +33/-1
    • View Profile
Re: AddPropertiesTab XML documentation missing
« Reply #8 on: January 18, 2024, 10:00:10 am »
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,
--
t-kouno

MichPaule

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: AddPropertiesTab XML documentation missing
« Reply #9 on: January 18, 2024, 07:06:10 pm »
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

Takeshi K

  • EA User
  • **
  • Posts: 548
  • Karma: +33/-1
    • View Profile
Re: AddPropertiesTab XML documentation missing
« Reply #10 on: January 19, 2024, 10:23:16 am »
Hello Michael,

I am sorry, I did not realize that the example is in the another help page.
Please ignore my post...
--
t-kouno