Changes

Jump to: navigation, search

Calendar:Dev Guide

613 bytes removed, 22:09, 23 May 2006
Dialogs - Shared UI between Sunbird and Lightning
== Dialogs ==
The main dialog that users interact with is the event/task creation/modification dialog. This dialog is currently under review. Both Sunbird and Lightning offer publish dialogs as well, and these too are under review
==== Sunbird ====
Sunbird's current event/task dialog is defined in [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/eventDialog.xul eventDialog.xul] and [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/eventDialog.js eventDialog.js]
==== Shared UI ====Sunbird and Lightning share the event/task dialog. The dialog is defined in [http://lxr.mozilla.org/mozilla/source/calendar/base/content/calendar-event-dialog.xul calendar-event-dialog.xul] and [http://lxr.mozilla.org/mozilla/source/calendar/base/content/calendar-event-dialog.js calendar-event-dialog.js]. It also relies on code in [http://lxr.mozilla.org/mozilla/source/calendar/base/content/calendar-item-editing.js calendar-item-editing.js]. Sunbird and Lightning share the publishing dialog. The dialog is defined in [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/publishDialog.xul publishDialog.xul] and [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/publishDialog.js publishDialog.js]. It also relies on code in [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/publish.js publish.js]
==== Sunbird ====
Sunbird also offers a goToDate dialog ([http://lxr.mozilla.org/mozilla/source/calendar/resources/content/goToDateDialog.xul goToDateDialog.xul] and [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/goToDateDialog.js goToDateDialog.js]) and a printing dialog ([http://lxr.mozilla.org/mozilla/source/calendar/resources/content/printDialog.xul printDialog.xul] and [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/printDialog.js printDialog.js]). Printing also relies on [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/calPrintEngine.xul calPrintEngine.xul] and [http://lxr.mozilla.org/mozilla/source/calendar/resources/content/calPrintEngine.js calPrintEngine.js] for actual print-previews.
==== Lightning ====
Lightning's event/task dialog is defined in [http://lxr.mozilla.org/mozilla/source/calendar/base/content/calendar-event-dialog.xul calendar-event-dialog.xul] and [http://lxr.mozilla.org/mozilla/source/calendar/base/content/calendar-event-dialog.js calendar-event-dialog.js]. It also relies on code in [http://lxr.mozilla.org/mozilla/source/calendar/base/content/calendar-item-editing.js calendar-item-editing.js]None.
Lightning's publish dialog lives in [http://lxr.mozilla.org/mozilla/source/calendar/base/content/calendar-publish-dialog.xul calendar-publish-dialog.xul] and [http://lxr.mozilla.org/mozilla/source/calendar/base/content/calendar-publish-dialog.js calendar-publish-dialog.js]. At the time of this writing, its functionality is suspect.
 
==== Shared UI ====
None yet. It is hoped to soon unite the publish dialogs, and implement the goToDate dialog in Lightning.
See also the backend section on 'Events/Tasks'
278
edits

Navigation menu