nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!-- Schema file written by PDE --> |
| 3 | <schema targetNamespace="org.eclipse.wst.sse.ui"> |
| 4 | <annotation> |
| 5 | <appInfo> |
| 6 | <meta.schema plugin="org.eclipse.wst.sse.ui" id="editorConfiguration" name="Editor Configuration"/> |
| 7 | </appInfo> |
| 8 | <documentation> |
| 9 | The SSE StructuredTextEditor is intended to be as flexible as possible. Much of its design centers around the notion of defining and redefining its behavior and appearance based on the content type of its input. This extension point allows clients to provide an editor configuration to the StructuredTextEditor without having to subclass the editor. |
| 10 | </documentation> |
| 11 | </annotation> |
| 12 | |
| 13 | <element name="extension"> |
| 14 | <complexType> |
| 15 | <sequence> |
| 16 | <element ref="sourceViewerConfiguration" minOccurs="0" maxOccurs="unbounded"/> |
| 17 | <element ref="contentOutlineConfiguration" minOccurs="0" maxOccurs="unbounded"/> |
| 18 | <element ref="propertySheetConfiguration" minOccurs="0" maxOccurs="unbounded"/> |
| 19 | <element ref="provisionalConfiguration" minOccurs="0" maxOccurs="unbounded"/> |
| 20 | <element ref="provisionalDefinition" minOccurs="0" maxOccurs="unbounded"/> |
| 21 | </sequence> |
| 22 | <attribute name="point" type="string" use="required"> |
| 23 | <annotation> |
| 24 | <documentation> |
lmandel | a6e536c | 2005-11-29 21:15:02 +0000 | [diff] [blame] | 25 | a fully qualified identifier of the target extension point |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 26 | </documentation> |
| 27 | </annotation> |
| 28 | </attribute> |
| 29 | <attribute name="id" type="string"> |
| 30 | <annotation> |
| 31 | <documentation> |
lmandel | a6e536c | 2005-11-29 21:15:02 +0000 | [diff] [blame] | 32 | an optional identifier of the extension instance |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 33 | </documentation> |
| 34 | </annotation> |
| 35 | </attribute> |
| 36 | <attribute name="name" type="string"> |
| 37 | <annotation> |
| 38 | <documentation> |
lmandel | a6e536c | 2005-11-29 21:15:02 +0000 | [diff] [blame] | 39 | an optional name of the extension instance |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 40 | </documentation> |
| 41 | </annotation> |
| 42 | </attribute> |
| 43 | </complexType> |
| 44 | </element> |
| 45 | |
| 46 | <element name="sourceViewerConfiguration"> |
| 47 | <annotation> |
| 48 | <documentation> |
| 49 | Defines the source viewer configuration, affecting syntax highlighting, content assist, hover help, and more in the current editor. |
| 50 | </documentation> |
| 51 | </annotation> |
| 52 | <complexType> |
| 53 | <attribute name="target" type="string" use="required"> |
| 54 | <annotation> |
| 55 | <documentation> |
| 56 | A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value. |
| 57 | </documentation> |
| 58 | </annotation> |
| 59 | </attribute> |
| 60 | <attribute name="class" type="string" use="required"> |
| 61 | <annotation> |
| 62 | <documentation> |
| 63 | Must subclass org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration |
| 64 | </documentation> |
| 65 | <appInfo> |
| 66 | <meta.attribute kind="java"/> |
| 67 | </appInfo> |
| 68 | </annotation> |
| 69 | </attribute> |
| 70 | </complexType> |
| 71 | </element> |
| 72 | |
| 73 | <element name="contentOutlineConfiguration"> |
| 74 | <annotation> |
| 75 | <documentation> |
| 76 | Defines how the current editor's input maps to elements with in a Tree control, as well as selection filtering, toolbar and menu contributions, etc in the Outline view. |
| 77 | </documentation> |
| 78 | </annotation> |
| 79 | <complexType> |
| 80 | <attribute name="target" type="string" use="required"> |
| 81 | <annotation> |
| 82 | <documentation> |
| 83 | A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value. |
| 84 | </documentation> |
| 85 | </annotation> |
| 86 | </attribute> |
| 87 | <attribute name="class" type="string" use="required"> |
| 88 | <annotation> |
| 89 | <documentation> |
| 90 | Must subclass org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration |
| 91 | </documentation> |
| 92 | <appInfo> |
| 93 | <meta.attribute kind="java"/> |
| 94 | </appInfo> |
| 95 | </annotation> |
| 96 | </attribute> |
| 97 | </complexType> |
| 98 | </element> |
| 99 | |
| 100 | <element name="propertySheetConfiguration"> |
| 101 | <annotation> |
| 102 | <documentation> |
| 103 | Defines how the current editor's input maps to properties in a Table control, as well as toolbar contributions, etc in the Properties view. |
| 104 | </documentation> |
| 105 | </annotation> |
| 106 | <complexType> |
| 107 | <attribute name="target" type="string" use="required"> |
| 108 | <annotation> |
| 109 | <documentation> |
| 110 | A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value. |
| 111 | </documentation> |
| 112 | </annotation> |
| 113 | </attribute> |
| 114 | <attribute name="class" type="string" use="required"> |
| 115 | <annotation> |
| 116 | <documentation> |
| 117 | Must subclass org.eclipse.wst.sse.ui.views.properties.PropertySheetConfiguration |
| 118 | </documentation> |
| 119 | <appInfo> |
| 120 | <meta.attribute kind="java"/> |
| 121 | </appInfo> |
| 122 | </annotation> |
| 123 | </attribute> |
| 124 | </complexType> |
| 125 | </element> |
| 126 | |
| 127 | <element name="provisionalConfiguration"> |
| 128 | <annotation> |
| 129 | <documentation> |
| 130 | Declares a class fulfilling the requirements of a type to be used for the given target(s). |
| 131 | <br />Note: this is not API and is only used for provisional configuration types. |
| 132 | </documentation> |
| 133 | </annotation> |
| 134 | <complexType> |
| 135 | <attribute name="target" type="string" use="required"> |
| 136 | <annotation> |
| 137 | <documentation> |
| 138 | A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value. |
| 139 | </documentation> |
| 140 | </annotation> |
| 141 | </attribute> |
| 142 | <attribute name="type" type="string" use="required"> |
| 143 | <annotation> |
| 144 | <documentation> |
| 145 | The type of configuration to find. |
| 146 | </documentation> |
| 147 | </annotation> |
| 148 | </attribute> |
| 149 | <attribute name="class" type="string" use="required"> |
| 150 | <annotation> |
| 151 | <documentation> |
| 152 | Implementation class for this type. |
| 153 | </documentation> |
| 154 | <appInfo> |
| 155 | <meta.attribute kind="java"/> |
| 156 | </appInfo> |
| 157 | </annotation> |
| 158 | </attribute> |
| 159 | </complexType> |
| 160 | </element> |
| 161 | |
| 162 | <element name="provisionalDefinition"> |
| 163 | <annotation> |
| 164 | <documentation> |
| 165 | Defines a value for a type to be used for the given target(s). |
| 166 | <br />Note: this is not API and is only used for provisional configuration types. |
| 167 | </documentation> |
| 168 | </annotation> |
| 169 | <complexType> |
| 170 | <attribute name="type" type="string" use="required"> |
| 171 | <annotation> |
| 172 | <documentation> |
| 173 | The type of definition to find. |
| 174 | </documentation> |
| 175 | </annotation> |
| 176 | </attribute> |
| 177 | <attribute name="value" type="string"> |
| 178 | <annotation> |
| 179 | <documentation> |
| 180 | The value of this definition. |
| 181 | </documentation> |
| 182 | </annotation> |
| 183 | </attribute> |
| 184 | <attribute name="target" type="string" use="required"> |
| 185 | <annotation> |
| 186 | <documentation> |
| 187 | A string defining when to use this extension, either an editor or content type id. Multiple targets may be given as a comma delimited value. |
| 188 | </documentation> |
| 189 | </annotation> |
| 190 | </attribute> |
| 191 | </complexType> |
| 192 | </element> |
| 193 | |
| 194 | <annotation> |
| 195 | <appInfo> |
| 196 | <meta.section type="since"/> |
| 197 | </appInfo> |
| 198 | <documentation> |
| 199 | 1.0 |
| 200 | </documentation> |
| 201 | </annotation> |
| 202 | |
| 203 | <annotation> |
| 204 | <appInfo> |
| 205 | <meta.section type="examples"/> |
| 206 | </appInfo> |
| 207 | <documentation> |
| 208 | <pre> |
lmandel | 1556d52 | 2005-12-09 22:43:25 +0000 | [diff] [blame] | 209 | <extension |
| 210 | point="org.eclipse.wst.sse.ui.editorConfiguration"> |
| 211 | <!-- associating a source viewer configuration to an input's content type--> |
| 212 | <sourceViewerConfiguration |
| 213 | class="org.eclipse.wst.html.ui.StructuredTextViewerConfigurationHTML" |
| 214 | target="org.eclipse.wst.html.core.htmlsource"/> |
| 215 | <!-- associating an outline configuration to an input's content type --> |
| 216 | <contentOutlineConfiguration |
| 217 | class="org.eclipse.wst.sse.xml.ui.views.contentoutline.XMLContentOutlineConfiguration" |
| 218 | target="org.eclipse.core.runtime.xml"/> |
| 219 | <!-- associating a property sheet configuration to multiple content types --> |
| 220 | <propertySheetConfiguration |
| 221 | class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration" |
| 222 | target="org.eclipse.wst.sse.contenttype.xml, org.eclipse.wst.html.core.htmlsource, org.eclipse.jst.jsp.core.jspsource"/> |
| 223 | </extension> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 224 | </pre> |
| 225 | </documentation> |
| 226 | </annotation> |
| 227 | |
| 228 | <annotation> |
| 229 | <appInfo> |
| 230 | <meta.section type="apiInfo"/> |
| 231 | </appInfo> |
| 232 | <documentation> |
| 233 | see <code>org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration</code>, <code>org.eclipse.wst.sse.ui.views.contentoutline.ContentOutlineConfiguration</code>, <code>org.eclipse.wst.sse.ui.views.properties.StructuredPropertySheetConfiguration</code>. |
| 234 | </documentation> |
| 235 | </annotation> |
| 236 | |
| 237 | <annotation> |
| 238 | <appInfo> |
| 239 | <meta.section type="implementation"/> |
| 240 | </appInfo> |
| 241 | <documentation> |
| 242 | |
| 243 | </documentation> |
| 244 | </annotation> |
| 245 | |
| 246 | <annotation> |
| 247 | <appInfo> |
| 248 | <meta.section type="copyright"/> |
| 249 | </appInfo> |
| 250 | <documentation> |
| 251 | Copyright (c) 2005 IBM Corporation and others. |
| 252 | 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 253 | </documentation> |
| 254 | </annotation> |
| 255 | |
| 256 | </schema> |