Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 1 | <?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 | <p> |
| 12 | All extensions will be asked whenever an aspect plugin requests an aspect binding |
| 13 | or a forced export for which no permission could be found in persistent storage |
| 14 | of neither the eclipse installation nor the workspace. |
| 15 | <ul> |
| 16 | <li>As soon as any extension DENYs a given request this aspect plugin is blocked.</li> |
| 17 | <li>If no extension GRANTs the request the aspect plugin is blocked, too.</li> |
| 18 | <li>Only if at least one extension GRANTs the request and no extension DENYs |
| 19 | the aspect may proceed and will be woven into its base entities.</li> |
| 20 | </ul> |
| 21 | </p> |
| 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, |
| 66 | which 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 <code>negotiator</code>:<pre> |
| 98 | <?xml version="1.0" encoding="UTF-8"?> |
| 99 | <?eclipse version="3.2"?> |
| 100 | <plugin> |
| 101 | <extension |
| 102 | point="org.eclipse.objectteams.otequinox.aspectBindingNegotiators"> |
| 103 | <negotiator |
| 104 | class="yesser.AspectRequestGranter"> |
| 105 | </negotiator> |
| 106 | </extension> |
| 107 | </plugin> |
| 108 | </pre> |
| 109 | </documentation> |
| 110 | </annotation> |
| 111 | |
| 112 | <annotation> |
| 113 | <appInfo> |
| 114 | <meta.section type="apiInfo"/> |
| 115 | </appInfo> |
| 116 | <documentation> |
| 117 | The class named in the <code>class</code> property must implement the <code>org.eclipse.objectteams.otequinox.IAspectRequestNegotiator</code> interface. |
| 118 | </documentation> |
| 119 | </annotation> |
| 120 | |
| 121 | <annotation> |
| 122 | <appInfo> |
| 123 | <meta.section type="copyright"/> |
| 124 | </appInfo> |
| 125 | <documentation> |
| 126 | <em> |
| 127 | <p> |
| 128 | This file is part of "Object Teams Development Tooling"-Software |
| 129 | </p><p> |
| 130 | Copyright 2009 Technical University Berlin, Germany. |
| 131 | All rights reserved. This program and the accompanying materials |
| 132 | are made available under the terms of the Eclipse Public License v1.0 |
| 133 | which accompanies this distribution, and is available at |
| 134 | <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| 135 | </p><p> |
Stephan Herrmann | b0d3535 | 2014-08-17 01:05:24 +0200 | [diff] [blame] | 136 | Please visit <a href="http://www.eclipse.org/objectteams">www.eclipse.org/objectteams</a> for updates and contact. |
Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 137 | </p><p> |
| 138 | Contributors:<br> |
| 139 | Technical University Berlin - Initial API and implementation |
| 140 | </p> |
| 141 | </em> |
| 142 | </documentation> |
| 143 | </annotation> |
| 144 | |
| 145 | </schema> |