Dialog class Object [message #157796] |
Wed, 21 June 2006 08:18 |
Eclipse User |
|
|
|
Originally posted by: kulbir.singh.trianz.com
hi friends,
i have one query. plz responsd as soon as possible,
I have contributed 3 actions in "Main menu bar" and "Toolbar" say
"Action1", "action2" and "action3" and style is "toggled.". so "tick"
will come when we click on the action.
if click on any of the action, i am creating a new instance of the
dialogbox and opening a dialog box by "dialog.open". for eg:
run(IAction action){
Dialog d= new Dialog(shell);
d.open();
}
now the problem i am facing is... suppose i clicked on "Action1" then
"Action2" and then "Action3". okay.. 3 dialogs are getting created and
oepnning successfully. Now if i closed the dialog box from the "Close"
button of the dialog box in the same order which i used to crated the
dialogs, thats working fine and its reflecting the "Toolbar" and "Menu
Bar" also and you can say i am getting to contol back to next line
d.open().
but if i closed the dialog box in random order then i am not geeting the
control back to "run" method unless and untill i donot close the last
opend diaog box...
plz help me to solve this problem
thanks and regards
|
|
|
Powered by
FUDForum. Page generated in 0.07573 seconds