bec_widgets.utils.generate_designer_plugin ========================================== .. py:module:: bec_widgets.utils.generate_designer_plugin Attributes ---------- .. autoapisummary:: bec_widgets.utils.generate_designer_plugin.EXCLUDED_PLUGINS bec_widgets.utils.generate_designer_plugin.SUPER_INIT_REGEX bec_widgets.utils.generate_designer_plugin.generator Classes ------- .. autoapisummary:: bec_widgets.utils.generate_designer_plugin.DesignerPluginGenerator bec_widgets.utils.generate_designer_plugin.DesignerPluginInfo bec_widgets.utils.generate_designer_plugin.PluginFilenames Functions --------- .. autoapisummary:: bec_widgets.utils.generate_designer_plugin.plugin_filenames Module Contents --------------- .. py:class:: DesignerPluginGenerator(widget: type) .. py:method:: _check_class_validity() .. py:method:: _format(name: str) .. py:method:: _load_templates() .. py:method:: _write_file(name: str, contents: str) .. py:method:: _write_templates() .. py:method:: run(validate=True) .. py:property:: filenames .. py:attribute:: info .. py:attribute:: template_path .. py:attribute:: templates :type: dict[str, str] .. py:attribute:: widget .. py:class:: DesignerPluginInfo(plugin_class) .. py:attribute:: base_path .. py:attribute:: plugin_class .. py:attribute:: plugin_import :value: 'from .Uninferable_plugin import UninferablePlugin' .. py:attribute:: plugin_name_pascal .. py:attribute:: plugin_name_snake .. py:attribute:: plugin_tooltip .. py:attribute:: widget_import :value: 'from Uninferable import Uninferable' .. py:class:: PluginFilenames Bases: :py:obj:`NamedTuple` .. py:attribute:: plugin :type: str .. py:attribute:: pyproj :type: str .. py:attribute:: register :type: str .. py:function:: plugin_filenames(name: str) -> PluginFilenames .. py:data:: EXCLUDED_PLUGINS :value: ['BECConnector', 'BECDock'] .. py:data:: SUPER_INIT_REGEX .. py:data:: generator