| 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}}}. |