| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.objectteams.otequinox" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.objectteams.otequinox" id="aspectBindingNegotiators" name="OT/Equinox negotiators for aspect binding requests"/> |
| </appInfo> |
| <documentation> |
| Allow client plugins to participate in negotiation whether aspect binding requests |
| (incl. forced exports) should be denied or granted. |
| <p> |
| All extensions will be asked whenever an aspect plugin requests an aspect binding |
| or a forced export for which no permission could be found in persistent storage |
| of neither the eclipse installation nor the workspace. |
| <ul> |
| <li>As soon as any extension DENYs a given request this aspect plugin is blocked.</li> |
| <li>If no extension GRANTs the request the aspect plugin is blocked, too.</li> |
| <li>Only if at least one extension GRANTs the request and no extension DENYs |
| the aspect may proceed and will be woven into its base entities.</li> |
| </ul> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appInfo> |
| <meta.element /> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="negotiator" minOccurs="1" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="negotiator"> |
| <annotation> |
| <documentation> |
| A participant in the protocol for aspect binding negotiation, |
| which is able to grant or deny a request by an aspect bundle. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Fully qualified name of the class that shall participate in the negotiation protocol. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.objectteams.otequinox.IAspectRequestNegotiator"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| OTDT 1.2.6 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| Example of a declaration of a <code>negotiator</code>:<pre> |
| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.2"?> |
| <plugin> |
| <extension |
| point="org.eclipse.objectteams.otequinox.aspectBindingNegotiators"> |
| <negotiator |
| class="yesser.AspectRequestGranter"> |
| </negotiator> |
| </extension> |
| </plugin> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| The class named in the <code>class</code> property must implement the <code>org.eclipse.objectteams.otequinox.IAspectRequestNegotiator</code> interface. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| <em> |
| <p> |
| This file is part of "Object Teams Development Tooling"-Software |
| </p><p> |
| Copyright 2009 Technical University Berlin, Germany. |
| 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 |
| <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| </p><p> |
| Please visit <a href="http://www.objectteams.org">www.objectteams.org</a> for updates and contact. |
| </p><p> |
| Contributors:<br> |
| Technical University Berlin - Initial API and implementation |
| </p> |
| </em> |
| </documentation> |
| </annotation> |
| |
| </schema> |