]> git.uio.no Git - ifi-stolz-refaktor.git/blob - case-study/jdt-after/schema/foldingStructureProviders.exsd
Case Study: adding data and statistics
[ifi-stolz-refaktor.git] / case-study / jdt-after / schema / foldingStructureProviders.exsd
1 <?xml version='1.0' encoding='UTF-8'?>\r
2 <!-- Schema file written by PDE -->\r
3 <schema targetNamespace="org.eclipse.jdt.ui">\r
4 <annotation>\r
5       <appInfo>\r
6          <meta.schema plugin="org.eclipse.jdt.ui" id="foldingStructureProviders" name="Java Folding Structure Provider"/>\r
7       </appInfo>\r
8       <documentation>\r
9          Contributions to this extension point define folding structures for the Java editor. That is, they define the regions of a Java source file that can be folded away. See &lt;code&gt;org.eclipse.jface.text.source.ProjectionViewer&lt;/code&gt; for reference.\r
10 &lt;p&gt;\r
11 Extensions may optionally contribute a preference block which will appear on the Java editor preference page.\r
12 &lt;/p&gt;\r
13       </documentation>\r
14    </annotation>\r
15 \r
16    <element name="extension">\r
17       <complexType>\r
18          <sequence>\r
19             <element ref="provider" minOccurs="1" maxOccurs="unbounded"/>\r
20          </sequence>\r
21          <attribute name="point" type="string" use="required">\r
22             <annotation>\r
23                <documentation>\r
24                   a fully qualified identifier of the target extension point\r
25                </documentation>\r
26             </annotation>\r
27          </attribute>\r
28          <attribute name="id" type="string">\r
29             <annotation>\r
30                <documentation>\r
31                   an optional identifier of the extension instance\r
32                </documentation>\r
33             </annotation>\r
34          </attribute>\r
35          <attribute name="name" type="string">\r
36             <annotation>\r
37                <documentation>\r
38                   an optional name of the extension instance\r
39                </documentation>\r
40                <appInfo>\r
41                   <meta.attribute translatable="true"/>\r
42                </appInfo>\r
43             </annotation>\r
44          </attribute>\r
45       </complexType>\r
46    </element>\r
47 \r
48    <element name="provider">\r
49       <annotation>\r
50          <appInfo>\r
51             <meta.element labelAttribute="name"/>\r
52          </appInfo>\r
53       </annotation>\r
54       <complexType>\r
55          <attribute name="id" type="string" use="required">\r
56             <annotation>\r
57                <documentation>\r
58                   the unique identifier of this provider\r
59                </documentation>\r
60             </annotation>\r
61          </attribute>\r
62          <attribute name="name" type="string">\r
63             <annotation>\r
64                <documentation>\r
65                   the name of this provider. If none is given, the id is used instead.\r
66                </documentation>\r
67                <appInfo>\r
68                   <meta.attribute translatable="true"/>\r
69                </appInfo>\r
70             </annotation>\r
71          </attribute>\r
72          <attribute name="class" type="string" use="required">\r
73             <annotation>\r
74                <documentation>\r
75                   an implementation of &lt;code&gt;org.eclipse.jdt.ui.text.folding.IJavaFoldingStructureProvider&lt;/code&gt;\r
76                </documentation>\r
77                <appInfo>\r
78                   <meta.attribute kind="java" basedOn="org.eclipse.jdt.ui.text.folding.IJavaFoldingStructureProvider"/>\r
79                </appInfo>\r
80             </annotation>\r
81          </attribute>\r
82          <attribute name="preferencesClass" type="string">\r
83             <annotation>\r
84                <documentation>\r
85                   an implementation of &lt;code&gt;org.eclipse.jdt.ui.text.folding.IJavaFoldingPreferenceBlock&lt;/code&gt;\r
86                </documentation>\r
87                <appInfo>\r
88                   <meta.attribute kind="java" basedOn="org.eclipse.jdt.ui.text.folding.IJavaFoldingPreferenceBlock"/>\r
89                </appInfo>\r
90             </annotation>\r
91          </attribute>\r
92       </complexType>\r
93    </element>\r
94 \r
95    <annotation>\r
96       <appInfo>\r
97          <meta.section type="since"/>\r
98       </appInfo>\r
99       <documentation>\r
100          3.0\r
101       </documentation>\r
102    </annotation>\r
103 \r
104    <annotation>\r
105       <appInfo>\r
106          <meta.section type="examples"/>\r
107       </appInfo>\r
108       <documentation>\r
109          See &lt;code&gt;org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider&lt;/code&gt; for an example.\r
110       </documentation>\r
111    </annotation>\r
112 \r
113    <annotation>\r
114       <appInfo>\r
115          <meta.section type="apiInfo"/>\r
116       </appInfo>\r
117       <documentation>\r
118          \r
119       </documentation>\r
120    </annotation>\r
121 \r
122    <annotation>\r
123       <appInfo>\r
124          <meta.section type="implementation"/>\r
125       </appInfo>\r
126       <documentation>\r
127          &lt;code&gt;org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider&lt;/code&gt; provides the default folding structure for the Java editor.\r
128          &lt;code&gt;org.eclipse.jdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock&lt;/code&gt; provides the preference block for the default structure provider.\r
129       </documentation>\r
130    </annotation>\r
131 \r
132    <annotation>\r
133       <appInfo>\r
134          <meta.section type="copyright"/>\r
135       </appInfo>\r
136       <documentation>\r
137          Copyright (c) 2001, 2004 IBM Corporation and others.&lt;br&gt;\r
138 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;\r
139       </documentation>\r
140    </annotation>\r
141 \r
142 </schema>\r