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>
|
| 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 |
|
deboer | d5d77e7 | 2005-03-09 14:55:12 +0000 | [diff] [blame] | 13 | <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
|
| 14 |
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 15 | <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>
|
deboer | d5d77e7 | 2005-03-09 14:55:12 +0000 | [diff] [blame] | 52 | <element ref="enablement"/>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 53 | </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>
|
deboer | da1df6a | 2004-12-03 13:35:32 +0000 | [diff] [blame] | 64 | specifies the fully qualified name of the Java class that extend <samp>ClientDelegate</samp>. |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 65 | Clieint instances of this type will delegate to instances of this class to launch.
|
| 66 | </documentation>
|
| 67 | <appInfo>
|
deboer | 616c3a1 | 2005-03-08 16:28:10 +0000 | [diff] [blame] | 68 | <meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.model.ClientDelegate"/>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 69 | </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>
|
deboer | d09590e | 2005-03-22 16:58:01 +0000 | [diff] [blame] | 86 | <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>
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 93 | </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 | <p> |
| 104 | <pre> |
| 105 | <extension point="org.eclipse.wst.server.core.clients"> |
| 106 | <client |
| 107 | id="com.example.clients" |
| 108 | name="%clientName" |
| 109 | description="%clientDescription" |
| 110 | class="com.example.ExampleClient"/> |
| 111 | </extension> |
| 112 | </pre> |
| 113 | </p>
|
| 114 | </documentation>
|
| 115 | </annotation>
|
| 116 |
|
| 117 | <annotation>
|
| 118 | <appInfo>
|
| 119 | <meta.section type="apiInfo"/>
|
| 120 | </appInfo>
|
| 121 | <documentation>
|
deboer | da1df6a | 2004-12-03 13:35:32 +0000 | [diff] [blame] | 122 | Value of the attribute <b>class</b> must be a fully qualified name of a Java class that extends <b>org.eclipse.wst.server.core.model.ClientDelegate</b> and contains a public 0-arg constructor.
|
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 123 | </documentation>
|
| 124 | </annotation>
|
| 125 |
|
| 126 | <annotation>
|
| 127 | <appInfo>
|
| 128 | <meta.section type="copyright"/>
|
| 129 | </appInfo>
|
| 130 | <documentation>
|
deboer | 09c692b | 2005-04-20 15:07:15 +0000 | [diff] [blame^] | 131 | Copyright (c) 2000, 2005 IBM Corporation and others.<br> |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 132 | All rights reserved. This program and the accompanying materials are made |
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 133 | available under the terms of the Eclipse Public License v1.0 which accompanies |
ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame] | 134 | this distribution, and is available at |
deboer | df10c15 | 2005-02-17 18:24:46 +0000 | [diff] [blame] | 135 | <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] | 136 | </documentation>
|
| 137 | </annotation>
|
| 138 |
|
| 139 | </schema>
|