开发者

When implementing a WizardExportResourcesPage, how can I modify the selected resources?

开发者 https://www.devze.com 2023-02-03 18:23 出处:网络
My custom Export Wizard implements a WizardExportResourcesPage. The initially selected resources are whichever workspace resources were selected when the user clicked Export.

My custom Export Wizard implements a WizardExportResourcesPage. The initially selected resources are whichever workspace resources were selected when the user clicked Export.

However the eclipse project contains a .set开发者_JAVA百科tings folder, as well as a .project file. I want these files to be unselected by default, and/or maybe even hidden in the resources list.

Is there a way to do this?


Override the method hasExportableExtension and here check if the resource matches settings/project and return false for files you dont want to export.

0

精彩评论

暂无评论...
验证码 换一张
取 消