Revision 8336cf65
Added by Katja Luther over 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/CdmErrorDialog.java | ||
---|---|---|
53 | 53 |
message, status, |
54 | 54 |
IStatus.OK| IStatus.INFO | IStatus.WARNING | IStatus.ERROR); |
55 | 55 |
this.stackTrace = stackTrace; |
56 |
|
|
57 |
|
|
58 |
} |
|
59 |
|
|
60 |
/** |
|
61 |
* @param parentShell |
|
62 |
* @param dialogTitle |
|
63 |
* @param message |
|
64 |
* @param status |
|
65 |
* @param stackTrace |
|
66 |
*/ |
|
67 |
public CdmErrorDialog(Shell parentShell, |
|
68 |
String dialogTitle, |
|
69 |
String message, |
|
70 |
IStatus status, |
|
71 |
String stackTrace, |
|
72 |
Object[] updatedObjects) { |
|
73 |
this(parentShell, dialogTitle, message, status, stackTrace); |
|
74 |
this.message = message == null ? status.getMessage() |
|
75 |
: message + "\n " + status.getMessage(); //$NON-NLS-1$ |
|
56 | 76 |
} |
57 | 77 |
|
58 | 78 |
/** |
... | ... | |
136 | 156 |
new Transfer[] { TextTransfer.getInstance() }); |
137 | 157 |
} |
138 | 158 |
} |
159 |
|
|
160 |
|
|
139 | 161 |
} |
Also available in: Unified diff
improve messaging for deleteresults