<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="org.eclipse.acceleo.ui.interpreter" xmlns="http://www.w3.org/2001/XMLSchema"> | |
<annotation> | |
<appinfo> | |
<meta.schema plugin="org.eclipse.acceleo.ui.interpreter" id="org.eclipse.acceleo.ui.language.interpreter" name="Language Interpreter"/> | |
</appinfo> | |
<documentation> | |
This extension point allows a third-party plugin to provide interpreters for any given language. | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<annotation> | |
<appinfo> | |
<meta.element /> | |
</appinfo> | |
</annotation> | |
<complexType> | |
<sequence minOccurs="1" maxOccurs="unbounded"> | |
<element ref="languageInterpreter"/> | |
</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="languageInterpreter"> | |
<annotation> | |
<documentation> | |
Describes a language interpreter class for the registry. | |
</documentation> | |
</annotation> | |
<complexType> | |
<attribute name="class" type="string" use="required"> | |
<annotation> | |
<documentation> | |
Fully qualified class name of the language interpreter implementation. Must be an instance of org.eclipse.acceleo.ui.interpreter.language.AbstractLanguageInterpreter. | |
</documentation> | |
<appinfo> | |
<meta.attribute kind="java" basedOn="org.eclipse.acceleo.ui.interpreter.language.AbstractLanguageInterpreter:"/> | |
</appinfo> | |
</annotation> | |
</attribute> | |
<attribute name="label" type="string" use="required"> | |
<annotation> | |
<documentation> | |
This label will be used whenever a human-readable name must be provided to the user for this language interpreter extension. This is usually the language name. | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="icon" type="string"> | |
<annotation> | |
<documentation> | |
This icon will be used as the view's icon when this language is selected. If no image is provided, a default icon will be used instead. | |
</documentation> | |
<appinfo> | |
<meta.attribute kind="resource"/> | |
</appinfo> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<annotation> | |
<appinfo> | |
<meta.section type="since"/> | |
</appinfo> | |
<documentation> | |
3.2 | |
</documentation> | |
</annotation> | |
<annotation> | |
<appinfo> | |
<meta.section type="copyright"/> | |
</appinfo> | |
<documentation> | |
Copyright (c) 2011, 2012 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 | |
</documentation> | |
</annotation> | |
</schema> |