diff options
author | Shashank | 2017-05-29 12:40:26 +0530 |
---|---|---|
committer | Shashank | 2017-05-29 12:40:26 +0530 |
commit | 0345245e860375a32c9a437c4a9d9cae807134e9 (patch) | |
tree | ad51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/xcos/etc/XcosConfiguration.xsd | |
download | scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2 scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip |
CMSCOPE changed
Diffstat (limited to 'modules/xcos/etc/XcosConfiguration.xsd')
-rwxr-xr-x | modules/xcos/etc/XcosConfiguration.xsd | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/modules/xcos/etc/XcosConfiguration.xsd b/modules/xcos/etc/XcosConfiguration.xsd new file mode 100755 index 000000000..90cf48671 --- /dev/null +++ b/modules/xcos/etc/XcosConfiguration.xsd @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:annotation> + <xs:documentation> +This package contain class for managing Xcos configuration. + +To serialize/deserialize values, {@link javax.xml.bind.JAXB} is used. + </xs:documentation> + </xs:annotation> + + <xs:element name="settings" type="SettingType"/> + + <xs:complexType name="SettingType"> + <xs:annotation> + <xs:documentation> +Global configuration. + </xs:documentation> + </xs:annotation> + <xs:sequence> + <!-- Recent document list --> + <xs:element maxOccurs="10" minOccurs="0" name="recent" type="DocumentType"/> + <!-- Currently opened tab --> + <xs:element maxOccurs="unbounded" minOccurs="0" name="tab" type="DocumentType"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="DocumentType"> + <xs:annotation> + <xs:documentation> +Any document is linked to the real file with an URL. + </xs:documentation> + </xs:annotation> + <xs:attribute name="url" type="xs:anyURI" use="optional"/> + <xs:attribute name="date" type="xs:dateTime" use="optional"/> + <xs:attribute name="path" type="xs:string" use="optional"/> + <xs:attribute name="uuid" type="xs:string" use="optional"/> + <xs:attribute name="viewport" type="xs:string" use="optional"/> + </xs:complexType> +</xs:schema> + |