Gnumed.timelinelib.wxgui.dialogs.editcontainer.controller.EditContainerDialogController

Package Gnumed :: Package timelinelib :: Package wxgui :: Package dialogs :: Package editcontainer :: Module controller :: Class EditContainerDialogController |
[frames] | no frames]

# Class EditContainerDialogController

source code

    framework.Controller --+
                           |
                          EditContainerDialogController

    This controller is responsible for two things:

    1. Creating a new container
    2. Updating properties of an existing container

    When creating a new container the result is NOT stored in the database.
    This happens later when the first event added to the container is saved to
    the database.

    The reason for this behavior is that we don't want to have empty containers
    in the database. When updating the properties of an existing container the
    changes are stored in the timeline database.

Instance Methods
on_init(self, db, container) | source code
on_ok_clicked(self, event) | source code
get_container(self) | source code