Getting a pointer to the current main editor window in a plugin?

Hello everyone, I know this subject is long dead but I’ve been banging my head on the walls all day yesterday and found nothing at all.

What I’m trying to do is using a blutility to open a file dialog so I can import meshes from the hard drive and set them in a level. I can open the file dialog while the game is running but it’s not really what I want…

I have been searching how to use the GEditor but have no clue. I’ve tried including “Editor/EditorEngine.h” like mentionned herewhich seems to be the class of GEditor, but I don’t find it anywhere.
And I’m not even sure that’s what I need but I found nowhere except here where to do this.

Anyone have any idea how I could do this ?

Thanks in advance for any help or documentation, I’m desperate…