The Eclipse folder properties dialog allows you to edit the resource filters ( see eclipse 3.5 filter .git folder) . I would like to do the same programmatically. My current solution is to use internal code as shown below to include only file that match 'xml'. Does anyone know how to do this without the use of internal code?
Thanks in advance
folder.createFilter(
IResourceFilterDescription.FILES | IResourceFilterDescription.INCLUDE_ONLY,
new FileInfoMatcherDescription("NameofFolder",
"1.0-name-matches-false-false-xml"), 0, null);