# Refresh Exclusion Contributor

###### Identifier:

org.eclipse.cdt.ui.RefreshExclusionContributor

###### Since:

5.3

###### Description:

This extension point allows for contribution of new types of refresh exclusions to CDT's refresh exclusion system. A refresh exclusion is essentially some arbitrary rule that can be tested against a given resource and evaluates to true or false. The exclusion returns true if it should be applied (i.e. the tested resource should be excluded). Rules can be nested, so it is possible to have exclusions to exclusions.

###### Configuration Markup:

<!ELEMENT extension (exclusionContributor)+>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT exclusionContributor EMPTY>

<!ATTLIST exclusionContributor

class CDATA #REQUIRED

id IDREF #REQUIRED

name CDATA #REQUIRED

isTest (true | false) >

A contribution of a new type of refresh exclusion.

- class - Java class corresponding to the contribution, responsible both for acting as a factory that creates concrete instances of the exclusion, as well as providing a UI for modifying properties specific to the exclusion.
- id - A unique string that identifies this contribution.
- name - The human readable name used to refer to this exclusion type in the UI.
- isTest - Attribute indicating this contribution is for testing purposes and hence the given contributor should not be considered for contributions to the UI.

###### Supplied Implementation:

There is a supplied implementation for Resource Exclusions.

Copyright (c) 2011 IBM Corporation 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