Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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




Back to the top