diff options
author | Igor Fedorenko | 2011-04-27 19:51:25 +0000 |
---|---|---|
committer | Igor Fedorenko | 2011-04-27 19:51:25 +0000 |
commit | 05afc8b86908884e9bfb5a75f91d2405f452843c (patch) | |
tree | 329a01ac8dc9f773fb820a167aa496518d6175d8 /org.eclipse.m2e.core/schema | |
parent | 7845dfabd6f8d9164e5553aba0d7a80372c6fb9a (diff) | |
download | m2e-core-05afc8b86908884e9bfb5a75f91d2405f452843c.tar.gz m2e-core-05afc8b86908884e9bfb5a75f91d2405f452843c.tar.xz m2e-core-05afc8b86908884e9bfb5a75f91d2405f452843c.zip |
Experimental API to filter maven index entries3.7-M7
Introduced IArtifactFilter interface and corresponding artifactFilters
extension point that allows filtering of maven index entries. Updated
code-assist and artifact selection GUI to ignore/block filtered
entries.
Enabled decoration of maven index entries in Maven Repositories view
and Add Depenencies dialog, so filtered entries can appear visually
differently. Actual decoration is left up to artifact filter provider
bundle.
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.core/schema')
-rw-r--r-- | org.eclipse.m2e.core/schema/artifactFilters.exsd | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/org.eclipse.m2e.core/schema/artifactFilters.exsd b/org.eclipse.m2e.core/schema/artifactFilters.exsd new file mode 100644 index 00000000..94cc0946 --- /dev/null +++ b/org.eclipse.m2e.core/schema/artifactFilters.exsd @@ -0,0 +1,114 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.m2e.core" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appInfo> + <meta.schema plugin="org.eclipse.m2e.core" id="artifactFilters" name="%extension-point.artifactFilters-name"/> + </appInfo> + <documentation> + [Enter description of this extension point.] + </documentation> + </annotation> + + <element name="extension"> + <annotation> + <appInfo> + <meta.element /> + </appInfo> + </annotation> + <complexType> + <sequence> + <element ref="artifactFilter" minOccurs="1" maxOccurs="unbounded"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="id" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string"> + <annotation> + <documentation> + + </documentation> + <appInfo> + <meta.attribute translatable="true"/> + </appInfo> + </annotation> + </attribute> + </complexType> + </element> + + <element name="artifactFilter"> + <complexType> + <attribute name="class" type="string"> + <annotation> + <documentation> + + </documentation> + <appInfo> + <meta.attribute kind="java" basedOn=":org.eclipse.m2e.core.internal.index.filter.IArtifactFilter"/> + </appInfo> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appInfo> + <meta.section type="since"/> + </appInfo> + <documentation> + [Enter the first release in which this extension point appears.] + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="examples"/> + </appInfo> + <documentation> + [Enter extension point usage example here.] + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="apiinfo"/> + </appInfo> + <documentation> + [Enter API information here.] + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="implementation"/> + </appInfo> + <documentation> + [Enter information about supplied implementation of this extension point.] + </documentation> + </annotation> + + <annotation> + <appinfo> + <meta.section type="copyright"/> + </appinfo> + <documentation> + Copyright (c) 2007, 2008 Sonatype, Inc. +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 + </documentation> + </annotation> + +</schema> |