| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.e4.ui.css.core" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.e4.ui.css.core" id="org.eclipse.e4.ui.css.core.elementProvider" name="DOM Element Provider"/> |
| </appinfo> |
| <documentation> |
| <p> |
| The <code>org.eclipse.e4.ui.css.core.elementProvider</code> extension point is used to map widgets or objects to elements of a <em>Document Object Model</em> (DOM). The Element Provider is responsible for checking whether the supplied widgets/objects are compatible with the provided CSS Engine. |
| </p> |
| |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="provider"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute translatable="true"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="provider"> |
| <annotation> |
| <documentation> |
| An object that maps widgets/objects to DOM elements. |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="widget" minOccurs="1" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="class" type="string"> |
| <annotation> |
| <documentation> |
| the implementation class for the element provider. This class must implement the <samp>org.eclipse.e4.ui.css.core.dom.IElementProvider</samp> interface. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.e4.ui.css.core.dom.IElementProvider"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="widget"> |
| <annotation> |
| <documentation> |
| A type of widget/object that this provider can map to a DOM element. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the type of a widget/object supported by this element provider. This type may be either a class or interface. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 0.9 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| <pre> |
| <extension point="org.eclipse.e4.ui.css.core.elementProvider"> |
| <provider class="org.eclipse.e4.ui.css.swt.dom.SWTElementProvider"> |
| <widget class="org.eclipse.swt.widgets.Control"/> |
| </provider> |
| </extension> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="apiinfo"/> |
| </appinfo> |
| <documentation> |
| <tt>elementProvider</tt> is currently internal and should not be considered API. |
| <p> |
| The supplied element provider must implement the <samp>org.eclipse.e4.ui.css.core.dom.IElementProvider<samp> interface. |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="implementation"/> |
| </appinfo> |
| <documentation> |
| None. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="copyright"/> |
| </appinfo> |
| <documentation> |
| Copyright (c) 2008 Angelo Zerr and others.<br> |
| 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> |
| </documentation> |
| </annotation> |
| |
| </schema> |