Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Issues with resource filters
Issues with resource filters [message #683990] Tue, 14 June 2011 20:10 Go to next message
Eugene K is currently offline Eugene KFriend
Messages: 11
Registered: February 2010
Junior Member
Hello All,

I am having strange behavior with linked resource filters. I create filters programmatically:

IResourceFilterDescription.EXCLUDE_ALL |
new FileInfoMatcherDescription("org.eclipse.ui.ide.patternFilterMatcher", "Test"),
IResource.BACKGROUND_REFRESH, new NullProgressMonitor());

Filters are created and resources are filtered. However, when I open Eclipse resource filter editing dialog I see following in the place of the filter pattern - "1.0-name-matches-false-false-Test".

When I click Apply or OK filters stop working. The next time I open this dialog I see Eclipse append extra string to the filter pattern - "1.0-name-matches-false-false-1.0-name-matches-false-false-Test". Extra ""1.0-name-matches-false-false-" is being added each time Apply or OK button is clicked.

Could someone explain this or help with setting resource filters from plugin?


Re: Issues with resource filters [message #903569 is a reply to message #683990] Fri, 24 August 2012 11:28 Go to previous message
chavi   is currently offline chavi Friend
Messages: 67
Registered: April 2011
Its too late for reply..
But still ,u can provide below argument to solve this issue

project.createFilter(IResourceFilterDescription.EXCLUDE_ALL | IResourceFilterDescription.FOLDERS|IResourceFilterDescription.FILES, new FileInfoMatcherDescription("org.eclipse.ui.ide.multiFilter", "1.0-name-matches-false-false-Test"),IResource.BACKGROUND_REFRESH, new NullProgressMonitor());
Previous Topic:How can I upgrade Eclipse 3.6.1 to 3.6.2?
Next Topic:Finish button will not work when creating new class
Goto Forum:

Current Time: Sun May 20 21:45:49 GMT 2018

Powered by FUDForum. Page generated in 0.02071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top