Skip to content

polychron.presenters.RemoveContextPresenter Module

RemoveContextPresenter

Bases: PopupPresenter[RemoveContextView, RemoveContextModel]

Presenter for a popup window to input the reason for the removal of a node/context

Formerly popupWindow5, called by StartPage.node_del_popup, triggered when "Delete context" is selected on a node

update_view

update_view() -> None

Update data displayed in the RemoveContextView to include the name of the context being removed

on_ok_button

on_ok_button() -> None

When the ok button is pressed, store the dataframe in the model and close the popup

on_cancel

on_cancel() -> None

When the Cancel button is pressed, close the popup without changing the model