[[BackLinksMenu]] = 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 == - == Related == - == 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 contains felix activator, dialog module which extends sophie module, dialog object and dialog input(with settings to the dialog), dialog manager which controls the dialogs. * [source:trunk/sophie2-platform/modules/org.sophie2.base.dialogs/src/main/java/org/sophie2/base/dialogs/BaseDialogModule.java BaseDialogModule] already provides extension point for the dialog extentions * There is [source:trunk/sophie2-platform/modules/org.sophie2.base.dialogs/src/main/java/org/sophie2/base/dialogs/TestingDialogManager.java TestingDialogManager] class. All dialog tests should use it, otherwise the automatic testing can break while the dialogs are shown. * there is DialogManagerTest for the [source:trunk/sophie2-platform/modules/org.sophie2.base.dialogs/src/main/java/org/sophie2/base/dialogs/DialogManager DialogManager] but it is now in messy module. When creating file dialogs module we have to move it in test dir of the base.dialogs because it depends on the file dialogs. = Implementation = ^(Implementation results should be described and linked here (from the wiki or the repository)^ = Testing = = Comments = = Log = [[Include(wiki:BASE_DIALOGS_R0_LOG)]]