I’m trying to create new item in popup menu and attach action onClick event to hide all descendant objects from selected task.
My question is how to access to elementRegistry from CustomContextPadProvider? Should I inject elementRegistry to CustomContextPadProvider and how to do that? We can get elementRegistry from modeler or viewer, but how to do that from CustomContextPadProvider? Or I should take some better approach?