<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="org.eclipse.ui.ide"> | |
<annotation> | |
<appInfo> | |
<meta.schema plugin="org.eclipse.ui.ide" id="resourceFilters" name="Resource Filters"/> | |
</appInfo> | |
<documentation> | |
This extension point is used to add predefined filters to views which show resources, such as the Navigator view. | |
These filters can be selected to hide resources whose names match the filter's pattern. | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<complexType> | |
<sequence> | |
<element ref="filter" minOccurs="0" maxOccurs="unbounded"/> | |
</sequence> | |
<attribute name="point" type="string" use="required"> | |
<annotation> | |
<documentation> | |
a fully qualified identifier of the target extension point | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="id" type="string"> | |
<annotation> | |
<documentation> | |
an optional identifier of the extension instance | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="name" type="string"> | |
<annotation> | |
<documentation> | |
an optional name of the extension instance | |
</documentation> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<element name="filter"> | |
<complexType> | |
<sequence> | |
<element ref="description" minOccurs="0" maxOccurs="1"/> | |
</sequence> | |
<attribute name="pattern" type="string" use="required"> | |
<annotation> | |
<documentation> | |
the pattern to match. May contain * and ? wildcards. | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="selected" type="boolean" use="default" value="false"> | |
<annotation> | |
<documentation> | |
"true" if the pattern should be selected by default, "false" or undefined if not. | |
</documentation> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<element name="description" type="string"> | |
<annotation> | |
<documentation> | |
the description of the purpose of this filter. | |
</documentation> | |
</annotation> | |
</element> | |
<annotation> | |
<appInfo> | |
<meta.section type="since"/> | |
</appInfo> | |
<documentation> | |
3.0 (originally added in release 1.0 as org.eclipse.ui.resourceFilters) | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="examples"/> | |
</appInfo> | |
<documentation> | |
The following is an example of a resource filter extension, which filters out class files, and is selected by default: | |
<p> | |
<pre> | |
<extension point="org.eclipse.ui.ide.resourceFilters"> | |
<filter pattern="*.class" selected="true"/> | |
</extension> | |
</pre> | |
</p> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="apiInfo"/> | |
</appInfo> | |
<documentation> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="implementation"/> | |
</appInfo> | |
<documentation> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="copyright"/> | |
</appInfo> | |
<documentation> | |
Copyright (c) 2002, 2003 IBM Corporation and others.<br> | |
All rights reserved. This program and the accompanying materials are made | |
available under the terms of the Common Public License v1.0 which | |
accompanies | |
this distribution, and is available at | |
<a | |
href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a> | |
</documentation> | |
</annotation> | |
</schema> |