I'm working on an EditorPlugin that adds a custom object type which stores a number of values in a dictionary. I'd like some of those values to be NodePaths relative to that custom object, but I don't want the end user to type them.
If I export a NodePath variable, it creates a handy Node Selection Widget that can be used to select a node from the currently-edited scene tree. I'd like that functionality, but I don't want to export variables -- the number of NodePaths I'd need is dynamic based on earlier actions taken when using the plugin.
How can I go about getting a FileDialog-like popup listing the currently edited scene's contents?