0

I want to extend the behavior of the finish method of the class 'org.eclipse.ui.internal.wizards.datatransfer.WizardArchiveFileResourceExportPage1'. The finish method basically gets the list of type IResources to export.
executeExportOperation(new ArchiveFileExportOperation(null, resourcesToExport, getDestinationValue()))
I want to modify this list of resources(projects to export) in such a way, that resourcesToExport are first added to one folder(folder1) and then sent to executeExportOperation method for exporting.However, resourcesToExport are of type IResource only. So, how can make folder1 and all its contents(the projects) as IResource?

Sheetal Bhatewara
  • 1,537
  • 2
  • 9
  • 10
  • `IFolder` and `IProject` are already derived from `IResource`. However `WizardArchiveFileResourceExportPage1` is an **internal** class so you are violating the [Eclipse API Rules of Engagement](http://www.eclipse.org/articles/Article-API-Use/index.html) by trying to use it. – greg-449 Jul 09 '15 at 14:15
  • Our requirement is to extend the existing behavior of eclipse export functionality. So, we have to either extend or override its behavior. – Sheetal Bhatewara Jul 10 '15 at 04:41

0 Answers0