Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumshow to detect a child dialog is closed?
https://www.eclipse.org/forums/index.php/mv/msg/141845/446890/#msg_446890
I am having problem to detect child dialog events. On my main appication,
there is a button which will bring a child dialog when a user click on it.
This child dialog is an sub class of JFace dialog and is not an inner-class
of the main application
I want my main application to perform some action when ever the child dialog
is closed (2 types event, "OK" close and "Close" close")
I don't know how to caputure the events fired by the child dialog.
Can anyone help me on this?
Thanks.
Andrew]]>andrew2004-12-06T01:14:59-00:00Re: how to detect a child dialog is closed?
https://www.eclipse.org/forums/index.php/mv/msg/141845/446894/#msg_446894
Originally posted by: olivier.larivain.criltechnology.com
The class Dialog has a method open() wich opens the dialog box et returns a
code for Ok, Cancel and any Button you define in it, this should help you
with your Ok close event.
What do you mean by Close close? closing the windpw through the title bar?
"andrew" <andrewcomputer@yahoo.com> a ]]>2004-12-06T08:23:37-00:00Re: how to detect a child dialog is closed?
https://www.eclipse.org/forums/index.php/mv/msg/141845/447136/#msg_447136
Andrew]]>andrew2004-12-09T00:58:02-00:00