Invoking jface WizardDialog from Swing Action [message #6745] |
Mon, 28 April 2008 10:59  |
Eclipse User |
|
|
|
Hi,
Good effort on albireo. Quick question. I'm looking through the alpha's
as I type this, but I don't see what I'm looking for.
I want to be able to invoke a jface Dialog from a swing action but am not
having any luck.
The higher level view is that I had a complex swing tree which I've
brought into an Eclipse view via a n EmbeddedSwingComposite. Everything
working fine. however:
1. from a node + context menu, I want to be able to invoke a jface Dialog
w/ eclipse wizard pages. I know I can bring in the swing wizard api via
Tim Bodreau / swingx, however I'd rather not bring in the extra jars if I
don't have to.
Thanks
|
|
|
|
|
Re: Invoking jface WizardDialog from Swing Action [message #6765 is a reply to message #6759] |
Mon, 28 April 2008 11:19  |
Eclipse User |
|
|
|
Gordon Hirsch wrote:
> Gordon Hirsch wrote:
>> javaguy wrote:
>>>
>>> 1. from a node + context menu, I want to be able to invoke a jface
>>> Dialog w/ eclipse wizard pages.
>>
>> You should be able to fire up your JFace dialog ( within a
>> Display.asyncExec runnable)
>
> Doh! I should have said from within a java.awt.EventQueue.invokeLater
> runnable.
>
It's a bad Monday morning, apparently. I was right the first time. Sorry.
|
|
|
Re: Invoking jface WizardDialog from Swing Action [message #573986 is a reply to message #6745] |
Mon, 28 April 2008 11:15  |
Eclipse User |
|
|
|
javaguy wrote:
>
> 1. from a node + context menu, I want to be able to invoke a jface
> Dialog w/ eclipse wizard pages.
You should be able to fire up your JFace dialog ( within a
Display.asyncExec runnable) from the Swing action's java code. Does this
not work for you? What's the error you are seeing?
|
|
|
Re: Invoking jface WizardDialog from Swing Action [message #574009 is a reply to message #6753] |
Mon, 28 April 2008 11:17  |
Eclipse User |
|
|
|
Gordon Hirsch wrote:
> javaguy wrote:
>>
>> 1. from a node + context menu, I want to be able to invoke a jface
>> Dialog w/ eclipse wizard pages.
>
> You should be able to fire up your JFace dialog ( within a
> Display.asyncExec runnable)
Doh! I should have said from within a java.awt.EventQueue.invokeLater
runnable.
|
|
|
Re: Invoking jface WizardDialog from Swing Action [message #574034 is a reply to message #6759] |
Mon, 28 April 2008 11:19  |
Eclipse User |
|
|
|
Gordon Hirsch wrote:
> Gordon Hirsch wrote:
>> javaguy wrote:
>>>
>>> 1. from a node + context menu, I want to be able to invoke a jface
>>> Dialog w/ eclipse wizard pages.
>>
>> You should be able to fire up your JFace dialog ( within a
>> Display.asyncExec runnable)
>
> Doh! I should have said from within a java.awt.EventQueue.invokeLater
> runnable.
>
It's a bad Monday morning, apparently. I was right the first time. Sorry.
|
|
|
Powered by
FUDForum. Page generated in 0.03495 seconds