Changes between Version 16 and Version 17 of APP_BUG_REPORT_FORM_R0


Ignore:
Timestamp:
05/21/09 13:44:22 (16 years ago)
Author:
mitex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • APP_BUG_REPORT_FORM_R0

    v16 v17  
    6363 * Save the error report in a file. 
    6464 * Open the file to show the collected information. 
     65 
    6566= Design = 
     67 
     68 * Create a menu item "Send an &Error Report..." in {{{main.func.help}}} module and attach it to the Help menu. 
     69 
     70 * Create a class {{{BugReportDialogInput}}} that extends {{{DialogInput<Void>}}} and represents the bug report data: 
     71  * {{{Throwable throwable}}} - can be null 
     72  * {{{String log}}} - the contents of Sophie log file 
     73  * {{{Properties systemProperties}}} - java system properties ([http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperties()]) 
     74  * {{{String email}}} 
     75  * {{{String explanation}}} - can be empty 
     76  * {{{File attachment}}} - can be null 
     77 
     78 * Create a class {{{BugReportDialog}}} that extends {{{org.sophie2.base.dialogs.Dialog<BugReportDialogInput, Void>}}}. 
     79  * ... 
     80  * Register the dialog in the help module. 
     81 
     82 * Create a controller enumeration {{{BugReportLogic}}} 
     83  * SHOW_BUG_REPORT_FORM: invokes the dialog using the {{{showDialog}}} method in {{{DialogManager}}}. 
    6684 
    6785= Implementation =