tmf: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.analysis.xml.core / schema / org.eclipse.linuxtools.tmf.analysis.xml.core.files.exsd
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.eclipse.linuxtools.tmf.analysis.xml.core" xmlns="http://www.w3.org/2001/XMLSchema">
4 <annotation>
5 <appinfo>
6 <meta.schema plugin="org.eclipse.linuxtools.tmf.analysis.xml.core" id="org.eclipse.linuxtools.tmf.analysis.xml.core.files" name="Builtin XML files"/>
7 </appinfo>
8 <documentation>
9 This extension point is used by plugins to contribute built-in XML files to provide XML-defined components. The files will not be writeable, but they can be copied and modified locally in the workspace by a user.
10 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <annotation>
15 <appinfo>
16 <meta.element />
17 </appinfo>
18 </annotation>
19 <complexType>
20 <sequence>
21 <element ref="xmlfile" minOccurs="1" maxOccurs="unbounded"/>
22 </sequence>
23 <attribute name="point" type="string" use="required">
24 <annotation>
25 <documentation>
26 a fully qualified identifier of the target extension point
27 </documentation>
28 </annotation>
29 </attribute>
30 <attribute name="id" type="string">
31 <annotation>
32 <documentation>
33 an optional identifier of the extension instance
34 </documentation>
35 </annotation>
36 </attribute>
37 <attribute name="name" type="string">
38 <annotation>
39 <documentation>
40 an optional name of the extension instance
41 </documentation>
42 <appinfo>
43 <meta.attribute translatable="true"/>
44 </appinfo>
45 </annotation>
46 </attribute>
47 </complexType>
48 </element>
49
50 <element name="xmlfile">
51 <complexType>
52 <attribute name="file" type="string" use="required">
53 <annotation>
54 <documentation>
55 The path to the XML file containing the XML-defined components.
56 </documentation>
57 <appinfo>
58 <meta.attribute kind="resource"/>
59 </appinfo>
60 </annotation>
61 </attribute>
62 </complexType>
63 </element>
64
65 <annotation>
66 <appinfo>
67 <meta.section type="since"/>
68 </appinfo>
69 <documentation>
70 1.0
71 </documentation>
72 </annotation>
73
74 <annotation>
75 <appinfo>
76 <meta.section type="examples"/>
77 </appinfo>
78 <documentation>
79 &lt;p&gt;
80 The xml file path is relative to the plugin&apos;s root directory. Here is an example where a plugin adds an XML file name &apos;test_builtin.xml&apos; located in the &apos;test_xml_files&apos; directory.
81 &lt;/p&gt;
82
83 &lt;extension
84 point=&quot;org.eclipse.linuxtools.tmf.analysis.xml.core.files&quot;&gt;
85 &lt;xmlfile
86 file=&quot;test_xml_files/test_builtin.xml&quot;&gt;
87 &lt;/xmlfile&gt;
88 &lt;/extension&gt;
89 </documentation>
90 </annotation>
91
92 <annotation>
93 <appinfo>
94 <meta.section type="apiinfo"/>
95 </appinfo>
96 <documentation>
97 &lt;p&gt;
98 The XML file advertised by this extension point should validate with the XML plugin&apos;s XSD files, or otherwise, it will be ignored. To validate it with the XSD, it can be imported in a project from a running TMF before adding it to an extension point. Any error will be reported.
99 &lt;/p&gt;
100 </documentation>
101 </annotation>
102
103 <annotation>
104 <appinfo>
105 <meta.section type="copyright"/>
106 </appinfo>
107 <documentation>
108 Copyright (c) 2014 École Polytechnique de Montréal
109
110 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 &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
111 </documentation>
112 </annotation>
113
114 </schema>
This page took 0.033746 seconds and 5 git commands to generate.