Community
Participate
Working Groups
Build Identifier: 20100917-0705 The schema for extension point org.eclipse.core.resources.filterMatchers (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.core.resources/schema/filterMatchers.exsd?revision=1.1&view=markup) specifies that the class to implement the matcher should be based on "org.eclipse.core.resources.AbstractFileInfoMatcher". Such a class doesn't exist, the AbstractFileInfoMatcher class actually resides in package org.eclipse.core.resources.filtermatchers (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.core.resources/src/org/eclipse/core/resources/filtermatchers/AbstractFileInfoMatcher.java?revision=1.6&view=markup). I propose the attached patch to the schema (untested since I'm not currently set up to build Eclipse from CVS, but should be straightforward enough). Reproducible: Always Steps to Reproduce: 1. In an Eclipse plugin project, make a new extension to point org.eclipse.core.resources.filterMatchers. 2. Click on the "class" hyperlink under Extension Element Details to bring up the "New Java Class" dialog. 3. Click Finish, accepting the default values in the dialog. 4. Note the error "org.eclipse.core.resources.AbstractFileInfoMatcher cannot be resolved to a type" in the generated class. 5. Change the superclass to "org.eclipse.core.resources.filtermatchers.AbstractFileInfoMatcher" and note that the error goes away.
Created attachment 183383 [details] proposed patch
Fixed in HEAD. Thanks Christian.