Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » MessageDialog doesn't work!
MessageDialog doesn't work! [message #54892] Wed, 24 October 2007 06:03 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Installing RAP, if you didn't follow the directions...
Next Topic:Starting Equinox service programmatically
Goto Forum:
  


Current Time: Fri Apr 19 17:10:08 GMT 2024

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top