Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » problem with MessageDialog.openInformation
problem with MessageDialog.openInformation [message #252401] Tue, 25 March 2008 22: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 23:12 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
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] Wed, 26 March 2008 01: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] Wed, 26 March 2008 01:42 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
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] Wed, 26 March 2008 03: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: Sun Jun 30 09:55:26 GMT 2024

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

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

Back to the top