Filter Matchers

Identifier:
org.eclipse.core.resources.filterMatchers

Since:
3.6

Description:
The filter matchers extension point allows plug-ins to contribute matchers. The matchers are used by filters applied on containers (folders or projects) to include or exclude some file system objects while populating the resources tree.

Configuration Markup:

<!ELEMENT extension (filterMatcher+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT filterMatcher EMPTY>

<!ATTLIST filterMatcher

class        CDATA #REQUIRED

argumentType (none|string|filterMatcher|filterMatchers)

name         CDATA #REQUIRED

description  CDATA #IMPLIED

ordering     (first|last)

id           CDATA #REQUIRED>


Examples:
The following is an example of using the modelProvider extension point. (in file plugin.xml)

   <extension
         point="org.eclipse.core.resources.filterMatchers">
      <filterMatcher
            argumentType="string"
            class="org.eclipse.core.internal.resources.RegexFileInfoMatcher">
      </filterMatcher>
   </extension>

API Information:
The value of the class attribute must represent a subclass of org.eclipse.core.resources.filtermatchers.AbstractFileInfoMatcher.

Supplied Implementation:
The core resource plugin provides the regex matcher, allowing the user to specify string arguments matching the specification supported by java.util.regex.Pattern.


Copyright (c) 2008, 2009 Freescale Semiconductor and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html