feat(rpc): discover widgets automatically
Description
This MR adds the auto-discovery of BECWidgets-internal widgets to the rpc handler. This does not include plugins from the beamline repos, which can be added in a later MR. For now, it just simplifies the development and integration of our core components.
Related Issues
I thought we had an issue for this but I can't find it...
Type of Change
- Added module variable
widget_handler
that hold the dynamically imported rpc classes - Adapted dock classes to use the variable instead of the RPCWidgetHandler class.
Definition of Done
-
Documentation is up-to-date.
Edited by wakonig_k