Get the ProgramNodeContribution from TreeNode

The child node needs to implement some “custom API/interface”, that makes you able to get the node as that interface.
Check out this example: