Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/tutorial/data/gui/schemes/GUIScheme.xsd

Last change on this file was 7916, checked in by landauf, 14 years ago

replaced tabs with spaces in files where they were used mixed

  • Property svn:eol-style set to native
File size: 2.9 KB
Line 
1<?xml version="1.0" ?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3    <xsd:element name="GUIScheme" type="SchemeType" />
4    <xsd:complexType name="SchemeType">
5        <xsd:choice minOccurs="0" maxOccurs="unbounded">
6            <xsd:element name="Imageset" type="NamedDataType" />
7            <xsd:element name="ImagesetFromImage" type="NamedDataType" />
8            <xsd:element name="Font" type="NamedDataType" />
9            <xsd:element name="LookNFeel" type="FileDataType" />
10            <xsd:element name="WindowSet" type="WindowSetType" />
11            <xsd:element name="WindowRendererSet" type="WindowRendererSetType" />
12            <xsd:element name="WindowAlias" type="WindowAliasType" />
13            <xsd:element name="FalagardMapping" type="FalagardMapType" />
14        </xsd:choice>
15        <xsd:attribute name="Name" type="xsd:string" use="required" />
16    </xsd:complexType>
17    <xsd:complexType name="WindowSetType">
18        <xsd:sequence>
19            <xsd:element name="WindowFactory" type="WindowFactoryType" minOccurs="0" maxOccurs="unbounded" />
20        </xsd:sequence>
21        <xsd:attribute name="Filename" type="xsd:string" use="required" />
22    </xsd:complexType>
23    <xsd:complexType name="WindowRendererSetType">
24        <xsd:sequence>
25            <xsd:element name="WindowRendererFactory" type="WindowRendererFactoryType" minOccurs="0" maxOccurs="unbounded" />
26        </xsd:sequence>
27        <xsd:attribute name="Filename" type="xsd:string" use="required" />
28    </xsd:complexType>
29    <xsd:complexType name="FileDataType">
30        <xsd:attribute name="Filename" type="xsd:string" use="required" />
31        <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
32    </xsd:complexType>
33    <xsd:complexType name="NamedDataType">
34        <xsd:attribute name="Name" type="xsd:string" use="required" />
35        <xsd:attribute name="Filename" type="xsd:string" use="required" />
36        <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
37    </xsd:complexType>
38    <xsd:complexType name="WindowFactoryType">
39        <xsd:attribute name="Name" type="xsd:string" use="required" />
40    </xsd:complexType>
41    <xsd:complexType name="WindowRendererFactoryType">
42        <xsd:attribute name="Name" type="xsd:string" use="required" />
43    </xsd:complexType>
44    <xsd:complexType name="WindowAliasType">
45        <xsd:attribute name="Alias" type="xsd:string" use="required" />
46        <xsd:attribute name="Target" type="xsd:string" use="required" />
47    </xsd:complexType>
48    <xsd:complexType name="FalagardMapType">
49        <xsd:attribute name="WindowType" type="xsd:string" use="required" />
50        <xsd:attribute name="TargetType" type="xsd:string" use="required" />
51        <xsd:attribute name="Renderer" type="xsd:string" use="required" />
52        <xsd:attribute name="LookNFeel" type="xsd:string" use="required" />
53    </xsd:complexType>
54</xsd:schema>
Note: See TracBrowser for help on using the repository browser.