| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- Schema file written by PDE --> | |
| <schema targetNamespace="org.eclipse.modisco.infra.browser" xmlns="http://www.w3.org/2001/XMLSchema"> | |
| <annotation> | |
| <appInfo> | |
| <meta.schema plugin="org.eclipse.modisco.infra.browser" id="loadingDepth" name="resources loading depth"/> | |
| </appInfo> | |
| <documentation> | |
| Specify the loading depth for Resources of a given metamodel. | |
| </documentation> | |
| </annotation> | |
| <element name="extension"> | |
| <annotation> | |
| <appInfo> | |
| <meta.element /> | |
| </appInfo> | |
| </annotation> | |
| <complexType> | |
| <sequence minOccurs="1" maxOccurs="unbounded"> | |
| <element ref="loadingDepth"/> | |
| </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="loadingDepth"> | |
| <complexType> | |
| <attribute name="metamodel" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| The nsURI of the metamodel for which the loading depth is defined. | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="depth" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| The depth with which to initially load Resources linked to the main Resource. | |
| <ul> | |
| <li>-1 means load all Resources (no lazy loading) | |
| <li>0 means only load the main Resource (the one defined in the file opened in the model browser) | |
| <li>1 means load directly referenced Resources | |
| <li>2 means load directly referenced Resources and their referenced Resources | |
| <li>etc. | |
| </ul> | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="since"/> | |
| </appInfo> | |
| <documentation> | |
| 0.9 M2 | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="examples"/> | |
| </appInfo> | |
| <documentation> | |
| The following is an example of an extension that defines a loading depth for 2 metamodels: | |
| <p> | |
| <pre> | |
| <extension point="org.eclipse.modisco.infra.browser.loadingDepth"> | |
| <loadingDepth | |
| depth="1" | |
| metamodel="http://www.eclipse.org/MoDisco/Java/0.2.incubation/java"/> | |
| <loadingDepth | |
| depth="1" | |
| metamodel="http://www.eclipse.org/MoDisco/infra/browser/custom/0.8"/> | |
| </extension> | |
| </pre> | |
| </p> | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="copyright"/> | |
| </appInfo> | |
| <documentation> | |
| Copyright (c) 2010 Mia-Software and others. | |
| All rights reserved. This program and the accompanying materials | |
| are made available under the terms of the Eclipse Public License v2.0 | |
| which accompanies this distribution, and is available at | |
| http://www.eclipse.org/legal/epl-v20.html | |
| </documentation> | |
| </annotation> | |
| </schema> |