When implementing WizardExportResourcesPage, how can I change the selected resources?

My custom Export Wizard implements WizardExportResourcesPage. The resources originally selected were regardless of which workspace resources were selected when the user clicked Export.

However, the eclipse project contains a .settings folder as well as a .project file. I want these files not to be selected by default and / or maybe even hidden in the list of resources.

Is there any way to do this?

+3
source share
1 answer

Override the method hasExportableExtensionand check if the resource matches the parameters / project and returns false for files that you do not want to export.

0

Source: https://habr.com/ru/post/1785085/


All Articles