You can build the custom widget into a library and link both the applicaton and the designer plugin to it.

Cheers,
_