As per the title, I’d like to add some right click options (similar to Vision/Perspective’s “copy/paste as XML/JSON”) to my resource nodes in the Designer Nav Tree that are created by a TabbedResourceWorkspace.
Is there any easier way to do this besides iterating through the tree (starting from my workspace’s root node) and adding my actions to the leaves?
Not sure what you are wanting to do but TabbedResourceWorkspace has a this in the docs getTabPopupMenu(ResourceEditor resourceEditor) Extend to add custom right click actions to individual tabs
Yup, that’s exactly what I’m going for. My resources are already being serialized as JSON, so I’m looking to add convenience actions for an export → edit in a text editor → import workflow.