|
From: <ma...@us...> - 2010-12-12 13:22:48
|
Revision: 206
http://openautomation.svn.sourceforge.net/openautomation/?rev=206&view=rev
Author: mayerch
Date: 2010-12-12 13:22:42 +0000 (Sun, 12 Dec 2010)
Log Message:
-----------
Added statusbar widget and align attribute of text widget.
Modified Paths:
--------------
CometVisu/trunk/visu/visu_config.xsd
Modified: CometVisu/trunk/visu/visu_config.xsd
===================================================================
--- CometVisu/trunk/visu/visu_config.xsd 2010-12-12 13:09:28 UTC (rev 205)
+++ CometVisu/trunk/visu/visu_config.xsd 2010-12-12 13:22:42 UTC (rev 206)
@@ -60,6 +60,7 @@
<xsd:element ref="plugins" />
<xsd:element ref="mappings" />
<xsd:element ref="stylings" />
+ <xsd:element ref="statusbar" />
</xsd:choice>
</xsd:complexType>
</xsd:element>
@@ -112,12 +113,29 @@
</xsd:complexType>
</xsd:element>
+<xsd:complexType name="status">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="type" type="xsd:string" use="optional" />
+ <xsd:attribute name="condition" type="xsd:string" use="optional" />
+ </xsd:extension>
+ </xsd:simpleContent>
+</xsd:complexType>
+
+<xsd:element name="statusbar">
+ <xsd:complexType>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="status" type="status" minOccurs="1" />
+ </xsd:choice>
+ </xsd:complexType>
+</xsd:element>
+
<!-- define a page - if you add a new widget, you need to list it here -->
<xsd:element name="page">
<xsd:complexType>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<!-- list all possbile widgets here -->
- <xsd:element name="text" type="xsd:string" />
+ <xsd:element name="text" type="text" />
<xsd:element name="line" type="line" />
<xsd:element name="switch" type="switch" />
<xsd:element name="toggle" type="switch" />
@@ -138,6 +156,14 @@
<!-- more fun part - all widgets - if you add a new widget, you need to define it here -->
+<xsd:complexType name="text">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="align" type="xsd:string" />
+ </xsd:extension>
+ </xsd:simpleContent>
+</xsd:complexType>
+
<xsd:complexType name="switch">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|