Activating properties-panel tab programatically

Hi,

I found this old thread: How to activate a tab on a extended property panel programmatically?

Somebody pointed out that there exist a method called activateTab in PropertiesPanel class in bpmn-js-properties-panel that can be used for that.

As a newbie, can somebody give a hint how? Do I create an instance of that class? Or get it from somewhere?

For example, I extended bpmn-js-properties-panel/lib/PropertiesActivator to make custom tabs. How do I access PropertiesPanel from there?

Thanks in advance!

I solved this by overloading update method in PropertiesPanel before passing it in additionalModules when creating instance of Modelr.

Cool! Mind you sharing your solution codewise so any other might benefit from it in the future?