Godot Version
v4.2.1.stable.official [b09f793f5]
Question
I have an EditorPlugin that creates a custom MyDock which is a tree similar in structure to the SceneTree. MyDock allows creating a hierarchy of custom Resources. I’ve created custom EditorInspectorPlugins for each of the custom resources. What I want to do is when an item in MyDock is selected to have the appropriate custom inspector to show in the Inspector in the same way selecting a node in the SceneTree shows the appropriate inspector.
I tried sleuthing the Godot editor source but I’m not a C++ expert so I’m not finding how the SceneTree activates the appropriate Inspector.
Thanks in advance for any help.