123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: uipe
- (C) Copyright IBM Corp. 2014
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:element name="resources">
- <xs:annotation>
- <xs:documentation>UIPE Resources</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element ref="toolbars" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Application level toolbars</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="menubars" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Application level menubars</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="menuPopups" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Application level popup menus</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="toolboxes" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Application level toolboxes</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="listViews" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Application level list views</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="defaultSettings" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Application level settings</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="menuPopups">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="menuPopup" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="menuPopup">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="menuItem" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="menuSeparator" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Separator line between menu items</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="menuItem">
- <xs:annotation>
- <xs:documentation>An individual menu entry such as "Open" or "Save".</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:choice minOccurs="0">
- <xs:element ref="menuPopup" minOccurs="0"/>
- </xs:choice>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="SmallIconAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="toolboxes">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="listView" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="listViews">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="listView" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="listView">
- <xs:complexType>
- <xs:sequence>
- <xs:sequence>
- <xs:element name="listItem" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>item can be idenfitied by one of (in priority) id, value, idsLabel.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- <xs:attributeGroup ref="SmallIconAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:sequence>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="toolbars">
- <xs:complexType>
- <xs:sequence minOccurs="0">
- <xs:element name="toolbar" maxOccurs="unbounded">
- <xs:complexType>
- <xs:choice maxOccurs="unbounded">
- <xs:element name="toolbarButton" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>A regular toolbar button.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:choice minOccurs="0">
- <xs:element ref="menuPopup"/>
- </xs:choice>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="SmallIconAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="toolbarSeparator" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Separator line between toolbar buttons</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="toolbarComboBox" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>A comboBox that appears on a toolbar.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="menubars">
- <xs:annotation>
- <xs:documentation>menu bars</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence minOccurs="0">
- <xs:element name="menubar" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>A menubar is a row of menus that usually appear at the top of the application window.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence maxOccurs="unbounded">
- <xs:element name="menu" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>A typically application menubar contains the menus "File", "Edit", "Help", ...</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:choice minOccurs="0">
- <xs:element ref="menuPopup" minOccurs="0"/>
- </xs:choice>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attributeGroup ref="IDAttributes"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="defaultSettings">
- <xs:complexType>
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:element name="settingsGroup">
- <xs:annotation>
- <xs:documentation>The setting groups.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="setting" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="setting">
- <xs:complexType>
- <xs:choice minOccurs="0">
- <xs:element ref="enumValues"/>
- </xs:choice>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- <xs:attribute name="dataType" use="required">
- <xs:annotation>
- <xs:documentation>The data type of the setting value.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="enum"/>
- <xs:enumeration value="string"/>
- <xs:enumeration value="boolean"/>
- <xs:enumeration value="integer"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="enumValues">
- <xs:annotation>
- <xs:documentation>The enum values if dataType is "enum".</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="enumValue" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>The enum value.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:attribute name="value" use="required"/>
- <xs:attributeGroup ref="LabelAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:attributeGroup name="IDAttributes">
- <xs:attribute name="id" type="xs:ID" use="required">
- <xs:annotation>
- <xs:documentation>The id uniquely identifies this element. This value must be unique within the entire document.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:attributeGroup>
- <xs:attributeGroup name="LabelAttributes">
- <xs:attribute name="idsLabel" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>The label displayed in the UI. The value is a string resource ID.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="idsDescription" type="xs:string" use="optional">
- <xs:annotation>
- <xs:documentation>The description displayed in the UI. The value is a string resource ID.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:attributeGroup>
- <xs:attributeGroup name="SmallIconAttributes">
- <xs:attribute name="smallIcon" type="xs:string" use="optional">
- <xs:annotation>
- <xs:documentation>The 16x16 image file name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:attributeGroup>
- </xs:schema>
|