Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/layouts/GUILayout.xsd @ 11999

Last change on this file since 11999 was 9348, checked in by landauf, 12 years ago

merged branch presentation2012merge back to trunk

  • Property svn:eol-style set to native
File size: 3.0 KB
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3
4    <xsd:element name="GUILayout" type="GUILayoutType"/>
5
6    <xsd:complexType name="GUILayoutType">
7        <xsd:sequence>
8            <xsd:element name="Window" type="WindowType" />
9        </xsd:sequence>
10        <xsd:attribute name="Parent" type="xsd:string" use="optional" default=""/>
11    </xsd:complexType>
12
13    <xsd:complexType name="WindowType">
14        <xsd:sequence>
15            <xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
16            <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
17            <xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
18            <xsd:choice minOccurs="0" maxOccurs="unbounded">
19                <xsd:element name="Window" type="WindowType" />
20                <xsd:element name="AutoWindow" type="AutoWindowType" />
21            </xsd:choice>
22            <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
23        </xsd:sequence>
24        <xsd:attribute name="Type" type="xsd:string" use="required"/>
25        <xsd:attribute name="Name" type="xsd:string" use="optional" default="" />
26    </xsd:complexType>
27
28    <xsd:complexType name="AutoWindowType">
29        <xsd:sequence>
30            <xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
31            <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
32            <xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
33            <xsd:choice minOccurs="0" maxOccurs="unbounded">
34                <xsd:element name="Window" type="WindowType" />
35                <xsd:element name="AutoWindow" type="AutoWindowType" />
36            </xsd:choice>
37            <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
38        </xsd:sequence>
39        <xsd:attribute name="NameSuffix" type="xsd:string" use="required"/>
40    </xsd:complexType>
41
42    <xsd:complexType name="PropertyType">
43        <xsd:simpleContent>
44            <xsd:extension base="xsd:string">
45                <xsd:attribute name="Name" type="xsd:string" use="required"/>
46                <xsd:attribute name="Value" type="xsd:string" use="optional"/>
47            </xsd:extension>
48        </xsd:simpleContent>
49    </xsd:complexType>
50
51    <xsd:complexType name="LayoutImportType">
52        <xsd:attribute name="Filename" type="xsd:string" use="required"/>
53        <xsd:attribute name="Prefix" type="xsd:string" use="optional" default="" />
54        <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
55    </xsd:complexType>
56
57    <xsd:complexType name="EventType">
58        <xsd:attribute name="Name" type="xsd:string" use="required"/>
59        <xsd:attribute name="Function" type="xsd:string" use="required"/>
60    </xsd:complexType>
61
62</xsd:schema>
63
Note: See TracBrowser for help on using the repository browser.