wiki:BASE_DIALOGS_R0

Version 6 (modified by pavlina, 17 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Analysis

Overview

Enable easily writing of source code and tests (unit or system) with dialogs.

Task requirements

  • Revise the existing source code for the dialogs.
  • Define the extension points and the extensions connected with dialogs.
  • Writing system tests with dialogs should be easy.

Task result

  • The result of the task should be source code.

Implementation idea

-

-

How to demo

  • Run Sophie and show the dialogs.
  • Run unit tests to demonstrate that it would be easy to use base dialogs with tests (unit or system).

Design

  • The module org.sophie2.base.dialogs dialog module which extends sophie module, dialog object and dialog input(with settings to the dialog), dialog manager which controls the dialogs. We should remove the Activator class and use only the dialog module for activation.
  • BaseDialogModule already provides extension point for the dialog extentions
  • There is TestingDialogManager class. All dialog tests should use it, otherwise the automatic testing can break while the dialogs are shown.
  • there is DialogManagerTest for the DialogManager but it is now in messy module. It should be moved in the test dir of base.dialogs and should not depends on file dialogs.

Implementation

(Implementation results should be described and linked here (from the wiki or the repository)

Testing

Comments

Log

Error: Macro Include(wiki:BASE_DIALOGS_R0_LOG) failed
current transaction is aborted, commands ignored until end of transaction block