I hope this makes sense.
The type editor will never work in your scenario as the type editor relies on design-time interfaces that cannot be provided at run-time. It is impossible to use any SF type editors at run-time.