ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?>
|
| 2 | <!-- Schema file written by PDE -->
|
| 3 | <schema targetNamespace="org.eclipse.wst.server.core">
|
| 4 | <annotation>
|
| 5 | <appInfo>
|
deboer | da1df6a | 2004-12-03 13:35:32 +0000 | [diff] [blame] | 6 | <meta.schema plugin="org.eclipse.wst.server.core" id="moduleTypes" name="Module Types"/>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 7 | </appInfo>
|
| 8 | <documentation>
|
| 9 | This extension point is used to provide a new module type.
|
| 10 | </documentation>
|
| 11 | </annotation>
|
| 12 |
|
| 13 | <element name="extension">
|
| 14 | <complexType>
|
| 15 | <sequence>
|
deboer | f5c03a1 | 2006-11-29 15:15:35 +0000 | [diff] [blame] | 16 | <element ref="moduleType" minOccurs="1" maxOccurs="unbounded"/>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 17 | </sequence>
|
| 18 | <attribute name="point" type="string" use="required">
|
| 19 | <annotation>
|
| 20 | <documentation>
|
| 21 | a fully qualified identifier of the target extension point
|
| 22 | </documentation>
|
| 23 | </annotation>
|
| 24 | </attribute>
|
| 25 | <attribute name="id" type="string">
|
| 26 | <annotation>
|
| 27 | <documentation>
|
| 28 | an optional identifier of the extension instance
|
| 29 | </documentation>
|
| 30 | </annotation>
|
| 31 | </attribute>
|
| 32 | <attribute name="name" type="string">
|
| 33 | <annotation>
|
| 34 | <documentation>
|
| 35 | an optional name of the extension instance
|
| 36 | </documentation>
|
| 37 | </annotation>
|
| 38 | </attribute>
|
| 39 | </complexType>
|
| 40 | </element>
|
| 41 |
|
deboer | da1df6a | 2004-12-03 13:35:32 +0000 | [diff] [blame] | 42 | <element name="moduleType">
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 43 | <annotation>
|
| 44 | <appInfo>
|
| 45 | <meta.element labelAttribute="name"/>
|
| 46 | </appInfo>
|
| 47 | </annotation>
|
| 48 | <complexType>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 49 | <attribute name="id" type="string" use="required">
|
| 50 | <annotation>
|
| 51 | <documentation>
|
| 52 | specifies a unique identifier for this extension point
|
| 53 | </documentation>
|
| 54 | </annotation>
|
| 55 | </attribute>
|
| 56 | <attribute name="name" type="string" use="required">
|
| 57 | <annotation>
|
| 58 | <documentation>
|
| 59 | a translatable name used to identify the module type
|
| 60 | </documentation>
|
deboer | 7502f5e | 2005-04-22 15:55:23 +0000 | [diff] [blame] | 61 | <appInfo>
|
| 62 | <meta.attribute translatable="true"/>
|
| 63 | </appInfo>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 64 | </annotation>
|
| 65 | </attribute>
|
| 66 | </complexType>
|
| 67 | </element>
|
| 68 |
|
| 69 | <annotation>
|
| 70 | <appInfo>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 71 | <meta.section type="since"/>
|
| 72 | </appInfo>
|
| 73 | <documentation>
|
| 74 | 1.0
|
| 75 | </documentation>
|
| 76 | </annotation>
|
| 77 |
|
| 78 | <annotation>
|
| 79 | <appInfo>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 80 | <meta.section type="examples"/>
|
| 81 | </appInfo>
|
| 82 | <documentation>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 83 | The following is an example of a module type extension point:
|
| 84 |
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 85 | <pre>
|
lmandel | eef9611 | 2005-12-09 22:43:22 +0000 | [diff] [blame] | 86 | <extension
|
| 87 | point="org.eclipse.wst.server.core.moduleTypes">
|
| 88 | <moduleType
|
| 89 | id="com.example"
|
| 90 | name="%moduleTypeName"
|
| 91 | description="%moduleTypeDescription"/>
|
| 92 | </extension>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 93 | </pre>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 94 | </documentation>
|
| 95 | </annotation>
|
| 96 |
|
| 97 | <annotation>
|
| 98 | <appInfo>
|
| 99 | <meta.section type="apiInfo"/>
|
| 100 | </appInfo>
|
| 101 | <documentation>
|
| 102 |
|
| 103 | </documentation>
|
| 104 | </annotation>
|
deboer | f5c03a1 | 2006-11-29 15:15:35 +0000 | [diff] [blame] | 105 |
|
lmandel | eef9611 | 2005-12-09 22:43:22 +0000 | [diff] [blame] | 106 | <annotation>
|
| 107 | <appInfo>
|
| 108 | <meta.section type="implementation"/>
|
| 109 | </appInfo>
|
| 110 | <documentation>
|
| 111 |
|
| 112 | </documentation>
|
| 113 | </annotation>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 114 |
|
| 115 | <annotation>
|
| 116 | <appInfo>
|
| 117 | <meta.section type="copyright"/>
|
| 118 | </appInfo>
|
| 119 | <documentation>
|
lmandel | 5773ece | 2005-11-29 06:02:22 +0000 | [diff] [blame] | 120 | Copyright (c) 2000, 2005 IBM Corporation and others.<br>
|
| 121 | All rights reserved. This program and the accompanying materials are made
|
| 122 | available under the terms of the Eclipse Public License v1.0 which accompanies
|
| 123 | this distribution, and is available at
|
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 124 | <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 125 | </documentation>
|
| 126 | </annotation>
|
| 127 |
|
| 128 | </schema>
|