Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to disable a MessageDialog
How to disable a MessageDialog [message #462050] Wed, 05 October 2005 03:13 Go to next message
Eclipse UserFriend
Hello,
I'm developing an swt application and I need a way to realize a "waiting
dialog" that I can close when it is the moment. I've represented a waiting
dialog by a MessageDialog (JFace) that I run in separated Thread.
Nevertheless, I need a way to close manually the MessageDialog. A close()
method does not exists, I tried to call the dispose() method but it does not
work!

Any idea?
Thanks
Giovanni
Re: How to disable a MessageDialog [message #462071 is a reply to message #462050] Wed, 05 October 2005 12:35 Go to previous message
Eclipse UserFriend
> A close() method does not exists

You didn't say what version you are using, but org.eclipse.jface.dialogs.Dialog has had a close() method since at least 3.0. MessageDialog inherits this method from Dialog.
Previous Topic:Tree CCombo KeyListener traverse problem swt 3.1.1
Next Topic:Excel event handling solution
Goto Forum:
  


Current Time: Thu Jul 03 09:13:22 EDT 2025

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

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

Back to the top