sysmodellibs/sysmodelgen/doc/sysmodel/SMG-Input-Files/Patterns-XMLFile.html
author Bob Rosenberg <bob.rosenberg@nokia.com>
Wed, 13 Oct 2010 16:21:25 +0100
changeset 7 3c36c452f013
permissions -rw-r--r--
Version 2.0 release of System Model Generator, which draws 3.x syntax system definition files

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <!-- Generated by Xbuild version: 5.0.20 -->
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="show-comments" content="" />
	<title>Patterns Values XML File in Values XML Files</title>    
	<link href="../../_stock/css/reset.css" rel="stylesheet" type="text/css" />
	<link href="../../_stock/css/portal.css" rel="stylesheet" type="text/css" />
	<link href="../../_stock/css/iefix.css" rel="stylesheet" type="text/css" />
	<link href="../../_stock/css/ui.tabs.css" rel="stylesheet" type="text/css" />
	<link href="../../_stock/css/developer.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="../../_stock/css/ui.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="../../_stock/css/sysdoc.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="../../_stock/css/sdlplugin.css" media="screen" />
    </head>
    <body>
	<div id="main_content">
	    <table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
		    <td valign="top" width="100%">
			<div id="main_content_txt">
			    <div class="main_content_padding">		
                                <div id="main">
                                    <div id="authoredContent">
                                        <div class="section">
<a name="patternsxml"></a><h1>Patterns Values XML File</h1><div class="section">
<h2>Purpose</h2><p>
		The patterns values XML file is used to define the patterns of
		components. The valid values for a pattern can be <code>striped-diag-up</code>,
		<code>radial-grad</code>, <code>big-X</code> or a reference (<code>#<var>xxxx<var></code>) to a pattern specified
		in a Shapes XML file. 
	  </p><p>
		The following figure shows the various predefined patterns:
	  </p><div class="Figure">
		<p class="Image"><img src="patterns.gif" alt=""  border="0"/></p><br clear="all"/>

	  </div><p>
		For information about how to define new values for patterns, see
		<a href="../CustomSysmodel/index.html#cust%2eindex" title="This document describes how to customise a System Model diagram using a Shapes XML file to specify the styling of components and generated legend items.">Customizing the System Model Presentation</a>. 
	  </p></div>
<div class="section">
<h2>Syntax</h2>
<p>The Patterns files use the common syntax for all <a href="Values-XML-index.html">Values XML files</a>. </p>
</div>
 
<div class="section">
<h2>Example</h2>
<div class="Example"><code class="xml">&lt;?xml version="1.0"?&gt;<br>&lt;values&gt;
<div class="indent">    &lt;item label="Reference Compo#xad;nent" value="striped-diag-up"&gt;
<div class="indent">            &lt;component name="OMAP 1623"/&gt;
<br>            &lt;component name="SD Card Driver"/&gt;
<br>            &#133;
</div>    &lt;/item&gt;
<br>    &lt;item label="New in 9.4" value="radial-grad"&gt;
<div class="indent">           &lt;component name="Wireless LAN"/&gt;
<br>            &lt;component name="Graphics Effects"/&gt;
</div>    &lt;/item&gt;
<br>    &lt;item label="Depre&amp;#ad;cated" value="#my-pattern"&gt;
<div class="indent">          &lt;component name="Word Engine"/&gt;
</div>    &lt;/item&gt;
</div>&lt;/values&gt;</code></div><p>
		The following figure shows the generated legend for the preceding
		patterns values XML:
	  </p><div class="Figure">
		<p class="Image"><a name=""><img src="patternsxmloutput.gif" alt=""  border="0"/></a></p><br clear="all"/>

	  </div></div>
<div class="section">
<h2>See also</h2><p>
		<a href="Colours-XMLFile.html#coloursxml">Colors Values XML File</a> 
	  </p><p>
		<a href="Border-Shapes-XMLFile.html#bordershapesxml">Border Shapes Values XML File</a> 
	  </p><p>
		<a href="Border-Style-XMLFile.html#borderstylesxml">Border Styles Values XML File</a> 
	  </p></div>
</div>

                                    </div>
                                    <div id="printer_copyright">
                                        <div id="printer_copyright_padding">
                                            Copyright &copy;2009  Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>
                                        </div>
                                    </div>
                                </div>
			    </div>
			</div>
		    </td>
		</tr>
	    </table>
	    <div style="clear: both"></div>
	</div>
	<div id="includedFooter">
	    <div id="devnet_footer">
            <div style="float: left;">Copyright &copy;2009  Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>. </div>
            <div id='BUILD_VERSION'></div>
	    </div>
	</div>
</body>
</html>