blob: d216daf581b6b280cb58563db5a9443ad9c32beb [file] [log] [blame]
ndaib94eb262004-10-13 15:55:37 +00001<?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>
6 <meta.schema plugin="org.eclipse.wst.server.core" id="clients" name="Clients"/>
7 </appInfo>
8 <documentation>
9 This extension point provides a way to launch a client for a specific type of resource that is being run on a server.
10 </documentation>
11 </annotation>
12
deboerd5d77e72005-03-09 14:55:12 +000013 <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
14
ndaib94eb262004-10-13 15:55:37 +000015 <element name="extension">
16 <complexType>
17 <sequence>
18 <element ref="client" minOccurs="0" maxOccurs="unbounded"/>
19 </sequence>
20 <attribute name="point" type="string" use="required">
21 <annotation>
22 <documentation>
23 a fully qualified identifier of the target extension point
24 </documentation>
25 </annotation>
26 </attribute>
27 <attribute name="id" type="string">
28 <annotation>
29 <documentation>
30 an optional identifier of the extension instance
31 </documentation>
32 </annotation>
33 </attribute>
34 <attribute name="name" type="string">
35 <annotation>
36 <documentation>
37 an optional name of the extension instance
38 </documentation>
39 </annotation>
40 </attribute>
41 </complexType>
42 </element>
43
44 <element name="client">
45 <annotation>
46 <appInfo>
47 <meta.element labelAttribute="name"/>
48 </appInfo>
49 </annotation>
50 <complexType>
51 <sequence>
deboerd5d77e72005-03-09 14:55:12 +000052 <element ref="enablement"/>
ndaib94eb262004-10-13 15:55:37 +000053 </sequence>
54 <attribute name="id" type="string" use="required">
55 <annotation>
56 <documentation>
57 specifies a unique identifier for this extension point
58 </documentation>
59 </annotation>
60 </attribute>
61 <attribute name="class" type="string" use="required">
62 <annotation>
63 <documentation>
deboerda1df6a2004-12-03 13:35:32 +000064 specifies the fully qualified name of the Java class that extend &lt;samp&gt;ClientDelegate&lt;/samp&gt;.
ndaib94eb262004-10-13 15:55:37 +000065Clieint instances of this type will delegate to instances of this class to launch.
66 </documentation>
67 <appInfo>
deboer616c3a12005-03-08 16:28:10 +000068 <meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.model.ClientDelegate"/>
ndaib94eb262004-10-13 15:55:37 +000069 </appInfo>
70 </annotation>
71 </attribute>
72 <attribute name="name" type="string">
73 <annotation>
74 <documentation>
75 a translatable name used to identify the client
76 </documentation>
77 </annotation>
78 </attribute>
79 <attribute name="description" type="string">
80 <annotation>
81 <documentation>
82 a translatable description of this client
83 </documentation>
84 </annotation>
85 </attribute>
deboerd09590e2005-03-22 16:58:01 +000086 <attribute name="launchable" type="string">
87 <annotation>
88 <documentation>
89 the fully qualified classname of the launchable object that this client supports
90 </documentation>
91 </annotation>
92 </attribute>
ndaib94eb262004-10-13 15:55:37 +000093 </complexType>
94 </element>
95
96 <annotation>
97 <appInfo>
98 <meta.section type="examples"/>
99 </appInfo>
100 <documentation>
101 The following is an example of a client extension point:
102
103&lt;p&gt;
104&lt;pre&gt;
105&lt;extension point=&quot;org.eclipse.wst.server.core.clients&quot;&gt;
106 &lt;client
107 id=&quot;com.example.clients&quot;
108 name=&quot;%clientName&quot;
109 description=&quot;%clientDescription&quot;
110 class=&quot;com.example.ExampleClient&quot;/&gt;
111&lt;/extension&gt;
112&lt;/pre&gt;
113&lt;/p&gt;
114 </documentation>
115 </annotation>
116
117 <annotation>
118 <appInfo>
119 <meta.section type="apiInfo"/>
120 </appInfo>
121 <documentation>
deboerda1df6a2004-12-03 13:35:32 +0000122 Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that extends &lt;b&gt;org.eclipse.wst.server.core.model.ClientDelegate&lt;/b&gt; and contains a public 0-arg constructor.
ndaib94eb262004-10-13 15:55:37 +0000123 </documentation>
124 </annotation>
125
126 <annotation>
127 <appInfo>
128 <meta.section type="copyright"/>
129 </appInfo>
130 <documentation>
deboer09c692b2005-04-20 15:07:15 +0000131 Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
ndaib94eb262004-10-13 15:55:37 +0000132All rights reserved. This program and the accompanying materials are made
deboerdf10c152005-02-17 18:24:46 +0000133available under the terms of the Eclipse Public License v1.0 which accompanies
ndaib94eb262004-10-13 15:55:37 +0000134this distribution, and is available at
deboerdf10c152005-02-17 18:24:46 +0000135&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
ndaib94eb262004-10-13 15:55:37 +0000136 </documentation>
137 </annotation>
138
139</schema>