home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / CMCD1203.ISO / Software / Freeware / Programare / sharpdevelop / 098setup.exe / $INSTDIR / data / resources / AddIn.xsd next >
Encoding:
Extensible Markup Language  |  2003-10-24  |  8.4 KB  |  221 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Ivo Kovacka (Kovacka) -->
  3. <!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
  4. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  5.     <xs:complexType name="AddIn">
  6.         <xs:choice maxOccurs="unbounded">
  7.             <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
  8.             <xs:element ref="Runtime" minOccurs="0" maxOccurs="unbounded"/>
  9.         </xs:choice>
  10.         <xs:attribute name="name" type="xs:string" use="required"/>
  11.         <xs:attribute name="author" type="xs:string" use="required"/>
  12.         <xs:attribute name="copyright" type="xs:string" use="required"/>
  13.         <xs:attribute name="url" type="xs:anyURI" use="required"/>
  14.         <xs:attribute name="description" type="xs:string" use="required"/>
  15.         <xs:attribute name="version" type="xs:string" use="required"/>
  16.     </xs:complexType>
  17.     <xs:element name="AddIn" type="AddIn"/>
  18.     <xs:complexType name="Import">
  19.         <xs:attribute name="assembly" type="xs:string" use="required"/>
  20.     </xs:complexType>
  21.     <xs:element name="Import" type="Import"/>
  22.     <xs:complexType name="Runtime">
  23.         <xs:sequence>
  24.             <xs:element ref="Import" maxOccurs="unbounded"/>
  25.         </xs:sequence>
  26.     </xs:complexType>
  27.     <xs:element name="Runtime" type="Runtime"/>
  28.     <xs:complexType name="Extension" mixed="true">
  29.         <xs:choice minOccurs="0" maxOccurs="unbounded">
  30.             <xs:element ref="FileFilter"/>
  31.             <xs:element ref="Conditional"/>
  32.             <xs:element ref="Icon"/>
  33.             <xs:element ref="DisplayBinding"/>
  34.             <xs:element ref="ToolbarItem"/>
  35.             <xs:element ref="EditAction"/>
  36.             <xs:element ref="DialogPanel"/>
  37.             <xs:element ref="LanguageBinding"/>
  38.             <xs:element ref="Class"/>
  39.             <xs:element ref="MenuItem"/>
  40.         </xs:choice>
  41.         <xs:attribute name="path" type="xs:string" use="required"/>
  42.     </xs:complexType>
  43.     <xs:element name="Extension" type="Extension"/>
  44.     <xs:complexType name="Condition">
  45.         <xs:attribute name="activewindow" type="xs:string" use="optional"/>
  46.         <xs:attribute name="openwindow" type="xs:string" use="optional"/>
  47.         <xs:attribute name="iscombineopen" type="xs:string" use="optional"/>
  48.         <xs:attribute name="activeproject" type="xs:string" use="optional"/>
  49.         <xs:attribute name="openproject" type="xs:string" use="optional"/>
  50.         <xs:attribute name="textcontent" type="xs:string" use="optional"/>
  51.         <xs:attribute name="ownerstate" type="xs:string" use="optional"/>
  52.         <xs:attribute name="string" type="xs:string" use="optional"/>
  53.         <xs:attribute name="equals" type="xs:string" use="optional"/>
  54.         <xs:attribute name="action" use="optional">
  55.             <xs:simpleType>
  56.                 <xs:restriction base="xs:string">
  57.                     <xs:enumeration value="Exclude"/>
  58.                     <xs:enumeration value="Disable"/>
  59.                     <xs:enumeration value="Nothing"/>
  60.                 </xs:restriction>
  61.             </xs:simpleType>
  62.         </xs:attribute>
  63.     </xs:complexType>
  64.     <xs:element name="Condition" type="Condition"/>
  65.     <xs:complexType name="Conditional">
  66.         <xs:complexContent>
  67.             <xs:extension base="Condition">
  68.                 <xs:choice maxOccurs="unbounded">
  69.                     <xs:element ref="Condition"/>
  70.                     <xs:element ref="Conditional"/>
  71.                     <xs:element ref="And"/>
  72.                     <xs:element ref="Or"/>
  73.                     <xs:element ref="Not"/>
  74.                     <xs:element ref="Class"/>
  75.                     <xs:element ref="DialogPanel"/>
  76.                     <xs:element ref="DisplayBinding"/>
  77.                     <xs:element ref="LanguageBinding"/>
  78.                     <xs:element ref="MenuItem"/>
  79.                     <xs:element ref="ToolbarItem"/>
  80.                 </xs:choice>
  81.             </xs:extension>
  82.         </xs:complexContent>
  83.     </xs:complexType>
  84.     <xs:element name="Conditional" type="Conditional"/>
  85.     <xs:complexType name="Not">
  86.         <xs:choice>
  87.             <xs:element ref="Condition"/>
  88.             <xs:element ref="And"/>
  89.             <xs:element ref="Not"/>
  90.             <xs:element ref="Or"/>
  91.         </xs:choice>
  92.     </xs:complexType>
  93.     <xs:element name="Not" type="Not"/>
  94.     <xs:complexType name="And">
  95.         <xs:choice minOccurs="2" maxOccurs="unbounded">
  96.             <xs:element ref="Not"/>
  97.             <xs:element ref="Or"/>
  98.             <xs:element ref="And"/>
  99.             <xs:element ref="Condition"/>
  100.         </xs:choice>
  101.     </xs:complexType>
  102.     <xs:element name="And" type="And"/>
  103.     <xs:complexType name="Or">
  104.         <xs:choice minOccurs="2" maxOccurs="unbounded">
  105.             <xs:element ref="Not"/>
  106.             <xs:element ref="Or"/>
  107.             <xs:element ref="And"/>
  108.             <xs:element ref="Condition"/>
  109.         </xs:choice>
  110.     </xs:complexType>
  111.     <xs:element name="Or" type="Or"/>
  112.     <xs:complexType name="AbstractCodon" abstract="true">
  113.         <xs:attribute name="id" type="xs:string" use="required"/>
  114.         <xs:attribute name="class" type="xs:string" use="optional"/>
  115.         <xs:attribute name="insertbefore" type="xs:string" use="optional"/>
  116.         <xs:attribute name="insertafter" type="xs:string" use="optional"/>
  117.     </xs:complexType>
  118.     <xs:complexType name="Class">
  119.         <xs:complexContent>
  120.             <xs:extension base="AbstractCodon"/>
  121.         </xs:complexContent>
  122.     </xs:complexType>
  123.     <xs:element name="Class" type="Class"/>
  124.     <xs:complexType name="DialogPanel">
  125.         <xs:complexContent>
  126.             <xs:extension base="AbstractCodon">
  127.                 <xs:choice minOccurs="0" maxOccurs="unbounded">
  128.                     <xs:element ref="Conditional"/>
  129.                     <xs:element ref="DialogPanel"/>
  130.                     <xs:element ref="Condition"/>
  131.                 </xs:choice>
  132.                 <xs:attribute name="label" type="xs:string" use="required"/>
  133.             </xs:extension>
  134.         </xs:complexContent>
  135.     </xs:complexType>
  136.     <xs:element name="DialogPanel" type="DialogPanel"/>
  137.     <xs:complexType name="DisplayBinding">
  138.         <xs:complexContent>
  139.             <xs:extension base="AbstractCodon">
  140.                 <xs:attribute name="supportedformats" type="xs:string" use="optional"/>
  141.             </xs:extension>
  142.         </xs:complexContent>
  143.     </xs:complexType>
  144.     <xs:element name="DisplayBinding" type="DisplayBinding"/>
  145.     <xs:complexType name="FileFilter">
  146.         <xs:complexContent>
  147.             <xs:extension base="AbstractCodon">
  148.                 <xs:attribute name="name" type="xs:string" use="required"/>
  149.                 <xs:attribute name="extensions" type="xs:string" use="required"/>
  150.             </xs:extension>
  151.         </xs:complexContent>
  152.     </xs:complexType>
  153.     <xs:element name="FileFilter" type="FileFilter"/>
  154.     <xs:complexType name="Icon">
  155.         <xs:complexContent>
  156.             <xs:extension base="AbstractCodon">
  157.                 <xs:attribute name="extensions" type="xs:string" use="optional"/>
  158.                 <xs:attribute name="language" type="xs:string" use="optional"/>
  159.                 <xs:attribute name="location" type="xs:string" use="optional"/>
  160.                 <xs:attribute name="resource" type="xs:string" use="optional"/>
  161.             </xs:extension>
  162.         </xs:complexContent>
  163.     </xs:complexType>
  164.     <xs:element name="Icon" type="Icon"/>
  165.     <xs:complexType name="LanguageBinding">
  166.         <xs:complexContent>
  167.             <xs:extension base="AbstractCodon">
  168.                 <xs:attribute name="supportedextensions" type="xs:string" use="required"/>
  169.             </xs:extension>
  170.         </xs:complexContent>
  171.     </xs:complexType>
  172.     <xs:element name="LanguageBinding" type="LanguageBinding"/>
  173.     <xs:complexType name="MenuItem">
  174.         <xs:complexContent>
  175.             <xs:extension base="AbstractCodon">
  176.                 <xs:choice minOccurs="0" maxOccurs="unbounded">
  177.                     <xs:element ref="Condition"/>
  178.                     <xs:element ref="MenuItem"/>
  179.                     <xs:element ref="Conditional"/>
  180.                 </xs:choice>
  181.                 <xs:attribute name="label" type="xs:string" use="required"/>
  182.                 <xs:attribute name="description" type="xs:string" use="optional"/>
  183.                 <xs:attribute name="icon" type="xs:string" use="optional"/>
  184.                 <xs:attribute name="shortcut" type="xs:string" use="optional"/>
  185.                 <xs:attribute name="attribute" use="optional">
  186.                     <xs:simpleType>
  187.                         <xs:restriction base="xs:string">
  188.                             <xs:enumeration value="RecentFiles"/>
  189.                             <xs:enumeration value="RecentProjects"/>
  190.                         </xs:restriction>
  191.                     </xs:simpleType>
  192.                 </xs:attribute>
  193.                 <xs:attribute name="link" type="xs:anyURI" use="optional"/>
  194.             </xs:extension>
  195.         </xs:complexContent>
  196.     </xs:complexType>
  197.     <xs:element name="MenuItem" type="MenuItem"/>
  198.     <xs:complexType name="ToolbarItem">
  199.         <xs:complexContent>
  200.             <xs:extension base="AbstractCodon">
  201.                 <xs:choice minOccurs="0" maxOccurs="unbounded">
  202.                     <xs:element ref="Condition"/>
  203.                     <xs:element ref="ToolbarItem"/>
  204.                     <xs:element ref="Conditional"/>
  205.                 </xs:choice>
  206.                 <xs:attribute name="icon" type="xs:string" use="optional"/>
  207.                 <xs:attribute name="tooltip" type="xs:string" use="optional"/>
  208.             </xs:extension>
  209.         </xs:complexContent>
  210.     </xs:complexType>
  211.     <xs:element name="ToolbarItem" type="ToolbarItem"/>
  212.     <xs:complexType name="EditAction">
  213.         <xs:complexContent>
  214.             <xs:extension base="AbstractCodon">
  215.                 <xs:attribute name="keys" type="xs:string" use="required"/>
  216.             </xs:extension>
  217.         </xs:complexContent>
  218.     </xs:complexType>
  219.     <xs:element name="EditAction" type="EditAction"/>
  220. </xs:schema>
  221.