polychron.presenters.ModelSelectPresenter
Module
ModelSelectPresenter
Bases: FramePresenter[ModelSelectView, ProjectSelection]
Presenter for a frame allowing the user to select a model from a list of models within a project, or a button to create a new one.
update_view
update_view() -> None
Update text & tables within the view to reflect the current state of the model
on_load_button
on_load_button() -> None
When the load button is pressed, update the wider application model data structure and close the popup
on_back_button
on_back_button() -> None
When the Back button is pressed, update the previous view and switch to it
Unlike polychron 0.1 which returned to the project create or load screen, this returns to the project select screen
on_create_model_button
on_create_model_button() -> None
When the load button is pressed, update the current modeldata and switch to the model_create view