Skip to main content



      Home
Home » Newcomers » Newcomers » problem with MessageDialog.openInformation
problem with MessageDialog.openInformation [message #252401] Tue, 25 March 2008 18:28 Go to next message
Eclipse UserFriend
Originally posted by: hisastro.gmail.com

hi.
when I write this in the Run method :

MessageDialog.openInformation (......... )

it does not work :(

i have also written this for import :
import org.eclipse.jface.dialogs.*;


what is the problem ?

thank you in advance
Re: problem with MessageDialog.openInformation [message #252416 is a reply to message #252401] Tue, 25 March 2008 19:12 Go to previous messageGo to next message
Eclipse UserFriend
Could you please provide more details on how it does not work

Darins
http://runnerwhocodes.blogspot.com

"Astro" <hisastro@gmail.com> wrote in message
news:627eb027a3fd59e96e264503fa053627$1@www.eclipse.org...
> hi.
> when I write this in the Run method :
>
> MessageDialog.openInformation (......... )
>
> it does not work :(
>
> i have also written this for import :
> import org.eclipse.jface.dialogs.*;
>
>
> what is the problem ?
>
> thank you in advance
>
Re: problem with MessageDialog.openInformation [message #252423 is a reply to message #252416] Tue, 25 March 2008 21:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hisastro.gmail.com

thank you for reply.

when I write the "MessageDialog" and I press the "." the editor does not
have any openInformation command to propose .. and if I write it by hand
..
MessageDialog.openInformation(workbenchwindow.getShell(),"something ","something");

it says that it the method"openInformation" is undefined for the type
MessageDialog.
Re: problem with MessageDialog.openInformation [message #252427 is a reply to message #252423] Tue, 25 March 2008 21:42 Go to previous messageGo to next message
Eclipse UserFriend
Can you provide the source code?
org.eclipse.jface.dialogs.MessageDialog has that method for me.

Darins
http://runnerwhocodes.blogspot.com

"Babak" <hisastro@gmail.com> wrote in message
news:8866bec9a44f966c1bafc3a5e01a3bed$1@www.eclipse.org...
> thank you for reply.
>
> when I write the "MessageDialog" and I press the "." the editor does not
> have any openInformation command to propose .. and if I write it by hand .
> MessageDialog.openInformation(workbenchwindow.getShell(),"something ","something");
>
> it says that it the method"openInformation" is undefined for the type
> MessageDialog.
>
>
>
Re: problem with MessageDialog.openInformation [message #252438 is a reply to message #252427] Tue, 25 March 2008 23:29 Go to previous message
Eclipse UserFriend
Originally posted by: hisastro.gmail.com

thank you Darins.
i was following the EClipse book by ORILLY publications... chapter 12 ..

if it works for you .i will try again from begining by the instructions .

thanks again
Previous Topic:Import, File System, Filter Types do not work
Next Topic:Configuring Eclipse to use McKoi JDBC drivers?
Goto Forum:
  


Current Time: Wed Apr 30 21:31:43 EDT 2025

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

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

Back to the top