|
|
Re: Display of custom dialog on exporting file/project [message #1781512 is a reply to message #1781477] |
Thu, 08 February 2018 05:23 |
Gaurav Tripathi Messages: 43 Registered: September 2015 |
Member |
|
|
I have extended WizardFileSystemResourceExportPage1. This class has finish() method which is overridden. Now my executable line inside finish() method is like this :
boolean finishreturn = executeExportOperation(new FileSystemExportOperation(null, resourcesToExport, destinationPath, this));
if (finishreturn) {
MessageDialog.openInformation(Display.getCurrent().getActiveShell(), "Information",
"The selected file(s) are exported successfully");
}
new FileSystemExportOperation(null, resourcesToExport, destinationPath, this) will open question dialog saying "Overwrite "xxFileName" in "xxFolder path" " with 5 buttons: Yes, Yes to All, No, No to All, Cancel.
I want to collect the status of this button pressed in a dialog so that when a user presses No or No to All button I won't display successful message dialog.
|
|
|
Powered by
FUDForum. Page generated in 0.03287 seconds