blob: 2c646df9fec7db0203a05471d27b89c1dca38f20 [file] [log] [blame]
Stephan Herrmann01664412010-04-01 20:28:43 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
3<schema targetNamespace="org.eclipse.objectteams.otequinox" xmlns="http://www.w3.org/2001/XMLSchema">
4<annotation>
5 <appInfo>
6 <meta.schema plugin="org.eclipse.objectteams.otequinox" id="aspectBindingNegotiators" name="OT/Equinox negotiators for aspect binding requests"/>
7 </appInfo>
8 <documentation>
9 Allow client plugins to participate in negotiation whether aspect binding requests
10(incl. forced exports) should be denied or granted.
11&lt;p&gt;
12All extensions will be asked whenever an aspect plugin requests an aspect binding
13or a forced export for which no permission could be found in persistent storage
14of neither the eclipse installation nor the workspace.
15&lt;ul&gt;
16&lt;li&gt;As soon as any extension DENYs a given request this aspect plugin is blocked.&lt;/li&gt;
17&lt;li&gt;If no extension GRANTs the request the aspect plugin is blocked, too.&lt;/li&gt;
18&lt;li&gt;Only if at least one extension GRANTs the request and no extension DENYs
19the aspect may proceed and will be woven into its base entities.&lt;/li&gt;
20&lt;/ul&gt;
21&lt;/p&gt;
22 </documentation>
23 </annotation>
24
25 <element name="extension">
26 <annotation>
27 <appInfo>
28 <meta.element />
29 </appInfo>
30 </annotation>
31 <complexType>
32 <sequence>
33 <element ref="negotiator" minOccurs="1" maxOccurs="unbounded"/>
34 </sequence>
35 <attribute name="point" type="string" use="required">
36 <annotation>
37 <documentation>
38
39 </documentation>
40 </annotation>
41 </attribute>
42 <attribute name="id" type="string">
43 <annotation>
44 <documentation>
45
46 </documentation>
47 </annotation>
48 </attribute>
49 <attribute name="name" type="string">
50 <annotation>
51 <documentation>
52
53 </documentation>
54 <appInfo>
55 <meta.attribute translatable="true"/>
56 </appInfo>
57 </annotation>
58 </attribute>
59 </complexType>
60 </element>
61
62 <element name="negotiator">
63 <annotation>
64 <documentation>
65 A participant in the protocol for aspect binding negotiation,
66which is able to grant or deny a request by an aspect bundle.
67 </documentation>
68 </annotation>
69 <complexType>
70 <attribute name="class" type="string" use="required">
71 <annotation>
72 <documentation>
73 Fully qualified name of the class that shall participate in the negotiation protocol.
74 </documentation>
75 <appInfo>
76 <meta.attribute kind="java" basedOn=":org.eclipse.objectteams.otequinox.IAspectRequestNegotiator"/>
77 </appInfo>
78 </annotation>
79 </attribute>
80 </complexType>
81 </element>
82
83 <annotation>
84 <appInfo>
85 <meta.section type="since"/>
86 </appInfo>
87 <documentation>
88 OTDT 1.2.6
89 </documentation>
90 </annotation>
91
92 <annotation>
93 <appInfo>
94 <meta.section type="examples"/>
95 </appInfo>
96 <documentation>
97 Example of a declaration of a &lt;code&gt;negotiator&lt;/code&gt;:&lt;pre&gt;
98&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
99&lt;?eclipse version=&quot;3.2&quot;?&gt;
100&lt;plugin&gt;
101 &lt;extension
102 point=&quot;org.eclipse.objectteams.otequinox.aspectBindingNegotiators&quot;&gt;
103 &lt;negotiator
104 class=&quot;yesser.AspectRequestGranter&quot;&gt;
105 &lt;/negotiator&gt;
106 &lt;/extension&gt;
107&lt;/plugin&gt;
108&lt;/pre&gt;
109 </documentation>
110 </annotation>
111
112 <annotation>
113 <appInfo>
114 <meta.section type="apiInfo"/>
115 </appInfo>
116 <documentation>
117 The class named in the &lt;code&gt;class&lt;/code&gt; property must implement the &lt;code&gt;org.eclipse.objectteams.otequinox.IAspectRequestNegotiator&lt;/code&gt; interface.
118 </documentation>
119 </annotation>
120
121 <annotation>
122 <appInfo>
123 <meta.section type="copyright"/>
124 </appInfo>
125 <documentation>
126 &lt;em&gt;
127&lt;p&gt;
128This file is part of &quot;Object Teams Development Tooling&quot;-Software
129&lt;/p&gt;&lt;p&gt;
130Copyright 2009 Technical University Berlin, Germany.
131All rights reserved. This program and the accompanying materials
132are made available under the terms of the Eclipse Public License v1.0
133which accompanies this distribution, and is available at
134&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;
135&lt;/p&gt;&lt;p&gt;
Stephan Herrmannb0d35352014-08-17 01:05:24 +0200136Please visit &lt;a href=&quot;http://www.eclipse.org/objectteams&quot;&gt;www.eclipse.org/objectteams&lt;/a&gt; for updates and contact.
Stephan Herrmann01664412010-04-01 20:28:43 +0000137&lt;/p&gt;&lt;p&gt;
138Contributors:&lt;br&gt;
139Technical University Berlin - Initial API and implementation
140&lt;/p&gt;
141&lt;/em&gt;
142 </documentation>
143 </annotation>
144
145</schema>