File: markers.exsd

package info (click to toggle)
eclipse-platform-resources 4.10-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,584 kB
  • sloc: java: 96,534; xml: 1,812; ansic: 870; makefile: 37
file content (170 lines) | stat: -rw-r--r-- 6,004 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.core.resources" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
      <appinfo>
         <meta.schema plugin="org.eclipse.core.resources" id="markers" name="Resource Markers"/>
      </appinfo>
      <documentation>
         The workspace supports the notion of markers on arbitrary
resources.  A marker is a kind of metadata 
(similar to properties) which can be used to 
tag resources with user information.  Markers are 
optionally persisted by the workspace whenever a 
workspace save or snapshot is done. 
&lt;p&gt;
Users can define and query for markers of a given type.  
Marker types are defined in a hierarchy that supports 
multiple-inheritance.  Marker type definitions also 
specify a number attributes which must or may be 
present on a marker of that type as well as whether 
or not markers of that type should be persisted. 
&lt;p&gt;
The markers extension-point allows marker writers to 
register their marker types under a symbolic name that 
is then used from within the workspace to create and 
query markers. The symbolic name is the id of the 
marker extension. When defining a marker extension, 
users are encouraged to include a human-readable value 
for the &quot;name&quot; attribute which indentifies their marker 
and potentially may be presented to users.
      </documentation>
   </annotation>

   <element name="extension">
      <complexType>
         <sequence>
            <element ref="super" minOccurs="0" maxOccurs="unbounded"/>
            <element ref="persistent" minOccurs="0" maxOccurs="1"/>
            <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="point" type="string" use="required">
            <annotation>
               <documentation>
                  a fully qualified identifier of the target extension point
               </documentation>
            </annotation>
         </attribute>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  a required identifier of the extension instance
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string">
            <annotation>
               <documentation>
                  an optional name of the extension instance
               </documentation>
               <appinfo>
                  <meta.attribute translatable="true"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="super">
      <complexType>
         <attribute name="type" type="string" use="required">
            <annotation>
               <documentation>
                  the fully-qualified id of a marker super type (i.e., a marker type defined by another marker extension)
               </documentation>
               <appinfo>
                  <meta.attribute kind="identifier" basedOn="org.eclipse.core.resources.markers/@id"/>
               </appinfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="persistent">
      <complexType>
         <attribute name="value" type="boolean" use="required">
            <annotation>
               <documentation>
                  &quot;&lt;tt&gt;true&lt;/tt&gt;&quot; or &quot;&lt;tt&gt;false&lt;/tt&gt;&quot; indicating whether or not markers of this type
should be persisted by the workspace.  If the persistent characteristic
is not specified, the marker type is &lt;b&gt;not&lt;/b&gt; persisted.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="attribute">
      <complexType>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  the name of an attribute which may be present on markers of this type
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <annotation>
      <appinfo>
         <meta.section type="examples"/>
      </appinfo>
      <documentation>
         Following is an example of a marker configuration: 

&lt;p&gt;
&lt;pre&gt;
   &lt;extension id=&quot;com.xyz.coolMarker&quot; point=&quot;org.eclipse.core.resources.markers&quot; name=&quot;Cool Marker&quot;&gt; 
      &lt;persistent value=&quot;true&quot;/&gt; 
      &lt;super type=&quot;org.eclipse.core.resources.problemmarker&quot;/&gt; 
      &lt;super type=&quot;org.eclipse.core.resources.textmarker&quot;/&gt; 
      &lt;attribute name=&quot;owner&quot;/&gt; 
   &lt;/extension&gt; 
&lt;/pre&gt;
&lt;/p&gt;
      </documentation>
   </annotation>

   <annotation>
      <appinfo>
         <meta.section type="apiInfo"/>
      </appinfo>
      <documentation>
         All markers, regardless of their type, are instances of 
&lt;samp&gt;org.eclipse.core.resources.IMarker&lt;/samp&gt;.
      </documentation>
   </annotation>



   <annotation>
      <appinfo>
         <meta.section type="implementation"/>
      </appinfo>
      <documentation>
         The platform itself has a number of pre-defined 
marker types. Particular product installs may 
include additional markers as required.
      </documentation>
   </annotation>

   <annotation>
      <appinfo>
         <meta.section type="copyright"/>
      </appinfo>
      <documentation>
         Copyright (c) 2002, 2008 IBM Corporation and others.&lt;br&gt;

This program and the accompanying materials are made 
available under the terms of the Eclipse Public License 2.0 which 
accompanies 
this distribution, and is available at 
&lt;a 
href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/

SPDX-License-Identifier: EPL-2.0
      </documentation>
   </annotation>

</schema>