taurus-org / taurus

Moved to https://gitlab.com/taurus-org/taurus
http://taurus-scada.org
43 stars 46 forks source link

Deprecate TaurusWidgetFactory in favour of importlib #1067

Open cpascual opened 4 years ago

cpascual commented 4 years ago

AFAIK, there are two main use-cases for TaurusWidgetFactory in Taurus:

  1. to retrieve an "official" taurus widget/class from its name (e.g. calling TaurusBaseWidget.getWidgetClass(taurusname) or similar)
  2. to list all "official" taurus widgets/classes (e.g. calling TaurusBaseWidget.getWidgetClasses() or similar)

This presents the following issues:

Proposed changes