Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to disable a MessageDialog
How to disable a MessageDialog [message #462050] Wed, 05 October 2005 07:13 Go to next message
Giovanni Aiello is currently offline Giovanni AielloFriend
Messages: 11
Registered: July 2009
Junior Member
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 16:35 Go to previous message
Chris Merrill is currently offline Chris MerrillFriend
Messages: 19
Registered: July 2009
Junior Member
> 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: Mon Sep 28 07:04:56 GMT 2020

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

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

Back to the top