-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Rename classes and methods - Use Factory for classes that have methods to create classes - Use Formatter for classes that have a format method that produces a text representation of a widget for a UI file. This distinguishes from Device Widgets that determine the widget that will be created for a Signal. - Class renames: - WidgetTemplate -> UITemplate - WidgetFactory -> WidgetFormatter - GroupFactory -> GroupWidgetFormatter - LayoutProperties -> ScreenLayout - ScreenWidgets -> ScreenWidgetFormatter - Screen -> ScrenFormatterFactory - Screen method renames: - screen -> create_screen_formatter - create_sub_screens -> create_sub_screen_formatters - component -> generate_component_formatters - make_group_widget -> create_group_formatters - group -> create_group_formatter - make_component_widgets -> create_component_widget_formatters - Make passing of ui properties to formatter more explicit and pass widget to formatter as a parameter separate to the properties map - Expand one character variables - mypy fixes
- Loading branch information
Showing
8 changed files
with
760 additions
and
522 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.