|
|||||||||
| Home >> All >> com >> eireneh >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.swing
Class DetailedExceptionPane

java.lang.Objectcom.eireneh.swing.DetailedExceptionPane
- public class DetailedExceptionPane
- extends java.lang.Object
A more detailed way of reporting problems to the user This is probably too complex for a full-on public app but it is probably simple enough for us to use here.
TODO: Think about allowing the users to give us some feedback TODO: Allow the configure system to set the source dirs based on this dialog - even down to passing on edited source.
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
| Nested Class Summary | |
(package private) static class |
DetailedExceptionPane.CustomAction
Someone clicked on contribute, so we need to bail |
(package private) static class |
DetailedExceptionPane.CustomLister
List listener to update the contents of the text area whenever someone clicks in the list |
| Field Summary | |
private static java.lang.String |
MESSAGE
The message for the user about the source code |
private static java.lang.String[] |
source_path
The StackTrace |
| Constructor Summary | |
DetailedExceptionPane()
|
|
| Method Summary | |
static javax.swing.ListModel |
getListModel(com.eireneh.util.StackTrace st)
To itterate over the full function names |
static java.lang.String[] |
getSourcePath()
Get the directories searched for source files. |
static void |
setSourcePath(java.lang.String[] source_path)
Set the directories to search for source files. |
static void |
showExceptionDialog(java.awt.Component parent,
java.lang.Throwable ex)
Show a dialog containing the exception |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
MESSAGE
private static final java.lang.String MESSAGE
- The message for the user about the source code
- See Also:
- Constant Field Values
source_path
private static java.lang.String[] source_path
- The StackTrace
| Constructor Detail |
DetailedExceptionPane
public DetailedExceptionPane()
| Method Detail |
showExceptionDialog
public static void showExceptionDialog(java.awt.Component parent, java.lang.Throwable ex)
- Show a dialog containing the exception
getListModel
public static final javax.swing.ListModel getListModel(com.eireneh.util.StackTrace st)
- To itterate over the full function names
setSourcePath
public static void setSourcePath(java.lang.String[] source_path)
- Set the directories to search for source files.
getSourcePath
public static java.lang.String[] getSourcePath()
- Get the directories searched for source files.
|
|||||||||
| Home >> All >> com >> eireneh >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.eireneh.swing.DetailedExceptionPane