diff -r 5b32dc297d05 -r 3c36c452f013 sysmodellibs/sysmodelgen/doc/sysmodel/SMG-Input-Files/Colours-XMLFile.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysmodellibs/sysmodelgen/doc/sysmodel/SMG-Input-Files/Colours-XMLFile.html Wed Oct 13 16:21:25 2010 +0100 @@ -0,0 +1,98 @@ + + + + + + Colors Values XML File in Values XML Files + + + + + + + + + + +
+ + + + +
+
+
+
+
+
+

Colors Values XML File

+

Purpose

+ The colors values XML file is used to define the colors of components. + The valid value that can be specified for a color can be any CSS colors type. + For example, it can be #cc00aa, rgb(255,18,200), or + blue. +

+ For information about how to define new values colors, see + Customizing the System Model Presentation. +

+ Note: For more information, see + CSS2 Specification. +

+
+

Syntax

+

The Colors files use the common syntax for all Values XML files.

+

If a system model item has more than one color applied, the colour will appear as bands across the system model item. +

+ +
+
+

Example

+
<?xml version="1.0"?> +
<values default="grey" label="Technology Streams"> +
<item label="Base Services" value="#8f8fbd"> +
<m ref="apputils"/> +
<m ref="cafdrm"/> +
</item> +
<item label="Persistent Data Services" value="#993366"> +
<m ref="sql"/> +
<m ref="store"/> +
<m ref="dbms"/> +
</item> +
</values>
+

+ The following figure shows the generated legend for the preceding + colors values XML: +

+


+ +
+ +
+ +
+ +
+
+
+
+
+
+
+ +
+ +