Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Error Dialogs in CDI Plugin Core

You can use the extension point "org.eclipse.debug.core.statusHandlers", but
the best way is to throw exceptions from the core plugin and catch it in the
ui plugin.

----- Original Message -----
From: <Rudi.Dienstbeck@xxxxxxxxxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Wednesday, July 16, 2003 6:43 AM
Subject: [cdt-debug-dev] Error Dialogs in CDI Plugin Core


>
> Hi Listies!
>
> I am trying to write my own CDI Debugger Plugin.
> As used in the GDB MI Debugger, I separated it to
> two plugins, i.e. core and ui.
>
> Inside the core, I throw some own exceptions, which
> I want to catch and notify the user. I tried several
> ways (the SWT MessageBox, the JFace ErrorDialog), but
> any time I tried to call them, the creation of this
> dialog threw an exception, too.
> (Especially PlatformUI.getWorkbench() excepted)
>
> Is there an easy way, to show an error message box
> inside the CDI plugin core implementation? Or should
> I use the plugin ui implementation? (Currently the
> core doesn't know anything about the UI, and I wanted
> to keep it so.)
>
> Best Regards
> Rudi Dienstbeck
>
>
>
> ------------------------------------------------
> Rudolf Dienstbeck, Third Party Tool Integrations
> Lauterbach Datentechnik GmbH
> Email: Rudolf.Dienstbeck@xxxxxxxxxxxxxx
>
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>



Back to the top