MessageDialog doesn't work! [message #54892] |
Wed, 24 October 2007 06:03  |
Eclipse User |
|
|
|
Originally posted by: lifesting.gmail.com
I wrote a action for RAP, whose "run" method body contains a simple
statement:
MessageDialog.openConfirm(window.getShell(), "test", "test dialog");
it's text can be displayed on the menu, but it doesn't work when I click
it and even has no any error message.
why? I saw library "org.eclipse.rap.jface" defined a lots of elements as
the SWT/JFace did.
|
|
|
Re: MessageDialog doesn't work! [message #54919 is a reply to message #54892] |
Wed, 24 October 2007 07:55  |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
I can't reproduce your problem without any further information. You may
check the org.eclipse.rap.demo.actions.SampleAction example which does quite
what you are describing. I even changed the action's run method to also use
MessageDialog#openConfirm(Shell, String, String) and it worked without any
problem.
Ciao
Frank
"David BY Chan" <lifesting@gmail.com> schrieb im Newsbeitrag
news:ffmnav$tvt$1@build.eclipse.org...
>I wrote a action for RAP, whose "run" method body contains a simple
>statement:
> MessageDialog.openConfirm(window.getShell(), "test", "test dialog");
>
> it's text can be displayed on the menu, but it doesn't work when I click
> it and even has no any error message.
>
> why? I saw library "org.eclipse.rap.jface" defined a lots of elements as
> the SWT/JFace did.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02080 seconds