How to build custom level editor components

You can write your own Editor Plugins in Unreal. Some links about plugins:

It is possible to do almost anything you can imagine, but it will require serious digging into UE4 Editor source code.