Gaia/Settings/docs/Dialog Manager: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Dialog Manager = == Flowchart == center == Introduction == '''DialogManager''' is a manager that mainly focuses on controlling the whole life...") |
|||
| Line 2: | Line 2: | ||
== Flowchart == | == Flowchart == | ||
[[File: | [[File:Dialog_Manager.png|center]] | ||
== Introduction == | == Introduction == | ||
Latest revision as of 09:40, 9 June 2015
Dialog Manager
Flowchart
Introduction
DialogManager is a manager that mainly focuses on controlling the whole life cycle of each dialog. It will load panel, initialize panel, use pre-defined transition to show panel when DialogManager.open() is called. While for DialogManager.close(), it will find out which panel is going to be closed, validate the result of onSubmit() or onCancel(), and use pre-defined transition to hide panel.
Basically, this DialogManager will be only used accompanied with DialogService. If you want to know more details about how they are communicated with each other, you can go check settings/js/modules/dialog_service.js for more details.
