]> git.uio.no Git - ifi-stolz-refaktor.git/blob - case-study/jdt-before/schema/classpathAttributeConfiguration.exsd
Case Study: adding data and statistics
[ifi-stolz-refaktor.git] / case-study / jdt-before / schema / classpathAttributeConfiguration.exsd
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.eclipse.jdt.ui">
4 <annotation>
5       <appInfo>
6          <meta.schema plugin="org.eclipse.jdt.ui" id="classpathAttributeConfiguration" name="Classpath Attribute Configuration"/>
7       </appInfo>
8       <documentation>
9          This extension point allows to specify how contributed classpath attributes are presented and configured.
10       </documentation>
11    </annotation>
12
13    <element name="extension">
14       <complexType>
15          <sequence>
16             <element ref="classpathAttributeConfiguration" minOccurs="1" maxOccurs="unbounded"/>
17          </sequence>
18          <attribute name="point" type="string" use="required">
19             <annotation>
20                <documentation>
21                   a fully qualified identifier of the target extension point
22                </documentation>
23             </annotation>
24          </attribute>
25          <attribute name="id" type="string">
26             <annotation>
27                <documentation>
28                   an optional identifier of the extension instance
29                </documentation>
30             </annotation>
31          </attribute>
32          <attribute name="name" type="string">
33             <annotation>
34                <documentation>
35                   an optional name of the extension instance
36                </documentation>
37                <appInfo>
38                   <meta.attribute translatable="true"/>
39                </appInfo>
40             </annotation>
41          </attribute>
42       </complexType>
43    </element>
44
45    <element name="classpathAttributeConfiguration">
46       <complexType>
47          <attribute name="attributeName" type="string" use="required">
48             <annotation>
49                <documentation>
50                   identifies the name of the classpath attribute as specified in IClasspathAttribute.getName()
51                </documentation>
52             </annotation>
53          </attribute>
54          <attribute name="class" type="string" use="required">
55             <annotation>
56                <documentation>
57                   the name of the class that implements this attribute configuration.  The
58 class must be public and extend
59 &lt;samp&gt;org.eclipse.jdt.ui.wizards.ClasspathAttributeConfiguration&lt;/samp&gt;
60 with a public 0-argument constructor.
61                </documentation>
62                <appInfo>
63                   <meta.attribute kind="java" basedOn="org.eclipse.jdt.ui.wizards.ClasspathAttributeConfiguration"/>
64                </appInfo>
65             </annotation>
66          </attribute>
67       </complexType>
68    </element>
69
70    <annotation>
71       <appInfo>
72          <meta.section type="examples"/>
73       </appInfo>
74       <documentation>
75          The following is an example of a classpath entry container page:
76
77 &lt;p&gt;
78 &lt;pre&gt;
79  &lt;extension point=&quot;org.eclipse.jdt.ui.classpathAttributeConfiguration&quot;&gt;
80   &lt;classpathAttributeConfiguration
81    key=&quot;com.example.myplugin.myClasspathAttributeKey&quot;
82    name=&quot;Test property&quot;
83    class=&quot;com.example.MyAttributeConfiguration&quot;&gt;
84   &lt;/classpathAttributeConfiguration&gt;
85  &lt;/extension&gt;
86 &lt;/pre&gt;
87 &lt;/p&gt;
88       </documentation>
89    </annotation>
90
91    <annotation>
92       <appInfo>
93          <meta.section type="apiInfo"/>
94       </appInfo>
95       <documentation>
96          
97       </documentation>
98    </annotation>
99
100    <annotation>
101       <appInfo>
102          <meta.section type="implementation"/>
103       </appInfo>
104       <documentation>
105          
106       </documentation>
107    </annotation>
108    
109    <annotation>
110       <appInfo>
111          <meta.section type="since"/>
112       </appInfo>
113       <documentation>
114          3.3
115       </documentation>
116    </annotation>
117
118    <annotation>
119       <appInfo>
120          <meta.section type="copyright"/>
121       </appInfo>
122       <documentation>
123          Copyright (c) 2001, 2006 IBM Corporation and others.&lt;br&gt;
124 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;
125       </documentation>
126    </annotation>
127
128 </schema>