Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!-- Schema file written by PDE --> |
| 3 | <schema targetNamespace="org.eclipse.jdt.core"> |
| 4 | <annotation> |
| 5 | <appInfo> |
| 6 | <meta.schema plugin="org.eclipse.jdt.core" id="classpathContainerInitializer" name="Classpath Container Initializers"/> |
| 7 | </appInfo> |
| 8 | <documentation> |
| 9 | This extension point allows clients to contribute custom classpath container initializers, |
| 10 | which are used to lazily bind classpath containers to instances of org.eclipse.jdt.core.IClasspathContainer. |
| 11 | </documentation> |
| 12 | </annotation> |
| 13 | |
| 14 | <element name="extension"> |
| 15 | <complexType> |
| 16 | <sequence> |
| 17 | <element ref="classpathContainerInitializer" minOccurs="0" maxOccurs="unbounded"/> |
| 18 | </sequence> |
| 19 | <attribute name="point" type="string" use="required"> |
| 20 | <annotation> |
| 21 | <documentation> |
| 22 | a fully qualified identifier of the target extension point |
| 23 | </documentation> |
| 24 | </annotation> |
| 25 | </attribute> |
| 26 | <attribute name="id" type="string"> |
| 27 | <annotation> |
| 28 | <documentation> |
| 29 | an optional identifier of the extension instance |
| 30 | </documentation> |
| 31 | </annotation> |
| 32 | </attribute> |
| 33 | <attribute name="name" type="string"> |
| 34 | <annotation> |
| 35 | <documentation> |
| 36 | an optional name of the extension instance |
| 37 | </documentation> |
| 38 | <appInfo> |
| 39 | <meta.attribute translatable="true"/> |
| 40 | </appInfo> |
| 41 | </annotation> |
| 42 | </attribute> |
| 43 | </complexType> |
| 44 | </element> |
| 45 | |
| 46 | <element name="classpathContainerInitializer"> |
| 47 | <complexType> |
| 48 | <attribute name="id" type="string" use="required"> |
| 49 | <annotation> |
| 50 | <documentation> |
| 51 | a unique name identifying all containers for which this initializer will be activated. |
| 52 | </documentation> |
| 53 | </annotation> |
| 54 | </attribute> |
| 55 | <attribute name="class" type="string" use="required"> |
| 56 | <annotation> |
| 57 | <documentation> |
| 58 | the class that implements this container initializer. |
| 59 | This class must implement a public subclass of <code>org.eclipse.jdt.core.ClasspathContainerInitializer</code> with a public 0-argument constructor. |
| 60 | </documentation> |
| 61 | <appInfo> |
| 62 | <meta.attribute kind="java" basedOn="org.eclipse.jdt.core.ClasspathContainerInitializer"/> |
| 63 | </appInfo> |
| 64 | </annotation> |
| 65 | </attribute> |
| 66 | </complexType> |
| 67 | </element> |
| 68 | |
| 69 | <annotation> |
| 70 | <appInfo> |
| 71 | <meta.section type="since"/> |
| 72 | </appInfo> |
| 73 | <documentation> |
| 74 | 2.0 |
| 75 | </documentation> |
| 76 | </annotation> |
| 77 | |
| 78 | <annotation> |
| 79 | <appInfo> |
| 80 | <meta.section type="examples"/> |
| 81 | </appInfo> |
| 82 | <documentation> |
| 83 | Example of a declaration of a <code>ClasspathContainerInitializer</code> for a classpath container named "JDK": <pre> |
| 84 | <extension point="org.eclipse.jdt.core.classpathContainerInitializer"> |
| 85 | <classpathContainerInitializer |
| 86 | id="JDK" |
| 87 | class="com.example.MyInitializer"/> |
| 88 | </extension> |
| 89 | </pre> |
| 90 | </documentation> |
| 91 | </annotation> |
| 92 | |
| 93 | <annotation> |
| 94 | <appInfo> |
| 95 | <meta.section type="apiInfo"/> |
| 96 | </appInfo> |
| 97 | <documentation> |
| 98 | |
| 99 | </documentation> |
| 100 | </annotation> |
| 101 | |
| 102 | <annotation> |
| 103 | <appInfo> |
| 104 | <meta.section type="implementation"/> |
| 105 | </appInfo> |
| 106 | <documentation> |
| 107 | |
| 108 | </documentation> |
| 109 | </annotation> |
| 110 | |
| 111 | <annotation> |
| 112 | <appInfo> |
| 113 | <meta.section type="copyright"/> |
| 114 | </appInfo> |
| 115 | <documentation> |
| 116 | Copyright (c) 2000, 2004 IBM Corporation and others.<br> |
| 117 | All rights reserved. This program and the accompanying materials are made |
| 118 | available under the terms of the Eclipse Public License v1.0 which accompanies |
| 119 | this distribution, and is available at <a |
| 120 | href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| 121 | </documentation> |
| 122 | </annotation> |
| 123 | |
| 124 | </schema> |