| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.intent.mapping.ide" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.intent.mapping.ide" id="org.eclipse.intent.mapping.ide.location" name="Location"/> |
| </appinfo> |
| <documentation> |
| Defines a location class to instanciate for a location interface and a base implementation. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence minOccurs="1" maxOccurs="unbounded"> |
| <element ref="base"/> |
| </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="base"> |
| <complexType> |
| <sequence minOccurs="1" maxOccurs="unbounded"> |
| <element ref="location"/> |
| </sequence> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The IBase kind. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.intent.mapping.base.IBase"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="location"> |
| <complexType> |
| <attribute name="interface" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The ILocation interface. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.intent.mapping.base.ILocation"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="implementation" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Must implement the referenced ILocation interface. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.intent.mapping.base.ILocation"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 0.10.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| <extension |
| point="org.eclipse.intent.mapping.ide.location"> |
| <base |
| class="org.eclipse.intent.mapping.Base"> |
| <location |
| implementation="org.eclipse.intent.mapping.ide.impl.ResourceLocationImpl" |
| interface="org.eclipse.intent.mapping.ide.resource.IResourceLocation"> |
| </location> |
| <location |
| implementation="org.eclipse.intent.mapping.ide.impl.TextFileLocationImpl" |
| interface="org.eclipse.intent.mapping.ide.resource.ITextFileLocation"> |
| </location> |
| <location |
| implementation="org.eclipse.intent.mapping.ide.impl.EObjectFileLocationImpl" |
| interface="org.eclipse.intent.mapping.emf.ide.resource.IEObjectFileLocation"> |
| </location> |
| </base> |
| </extension> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="apiinfo"/> |
| </appinfo> |
| <documentation> |
| org.eclipse.intent.mapping.MappingUtils.registerLocationImplementation(Class<? extends IBase> baseClass, Class<L> locationInterface, Class<? extends L> locationClass) |
| </documentation> |
| </annotation> |
| |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="copyright"/> |
| </appinfo> |
| <documentation> |
| Copyright (c) 2015 Obeo. |
| 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 |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| Obeo - initial API and implementation and/or initial documentation |
| ... |
| </documentation> |
| </annotation> |
| |
| </schema> |