How to get Details button to show on ErrorDialog [message #56189] |
Fri, 30 May 2003 10:56  |
Eclipse User |
|
|
|
Originally posted by: mpjohn.us.ibm.com
The subject line pretty much says it all. I've tried several different
incantations and variations of Status objects to pass into the
ErrorDialog.openError() method -- none of which results in a Details button
on the dialog. Can anyone point me in the right direction.
Thanks!
Maynard
|
|
|
Re: How to get Details button to show on ErrorDialog [message #56245 is a reply to message #56189] |
Fri, 30 May 2003 12:43  |
Eclipse User |
|
|
|
I'm not absolutely sure, but I think that the IStatus parameter of
ErrorDialog.openError() is maybe incorrect.
Does it contain any childs?
IStatus myState = new MultiStatus(myPluginId, ERROR, IStatus[] myChildren,
myMessage, myThrowable);
ErrorDialog.openError(myParent, "MyDialog", "My dialog", myState);
Michael
"Maynard Johnson" <mpjohn@us.ibm.com> schrieb im Newsbeitrag
news:bb7ri2$tub$1@rogue.oti.com...
> The subject line pretty much says it all. I've tried several different
> incantations and variations of Status objects to pass into the
> ErrorDialog.openError() method -- none of which results in a Details
button
> on the dialog. Can anyone point me in the right direction.
>
> Thanks!
> Maynard
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03339 seconds