sysmodelgen/extra/stshapes.xml
branchHighFidelityModel
changeset 311 e9d0240c3e66
equal deleted inserted replaced
309:35553ee25464 311:e9d0240c3e66
       
     1 <?xml version="1.0"?>
       
     2 <shapes xmlns:s="http://www.w3.org/2000/svg">
       
     3 <s:defs>
       
     4     <s:style type="text/css">
       
     5 	 text.layer {
       
     6 		font-size: 10px;
       
     7 	 }
       
     8 	svg.package text.package, svg.package-fixed text.package {
       
     9 		font-size: 17.00px;
       
    10 		font-weight: normal
       
    11 	} 
       
    12 	
       
    13 	svg.collection-fixed text.layer,  svg.collection text.layer {
       
    14 		font-size: 12px;
       
    15 		font-weight: normal
       
    16 	} 
       
    17 	svg.collection-fixed	text.package {
       
    18 		font-size: 6px;
       
    19 		font-weight: normal;
       
    20 	}
       
    21     </s:style>
       
    22 </s:defs>
       
    23 
       
    24 
       
    25     <borders label="Usage">
       
    26             <border type="box"/>
       
    27             <border label="Imported Compo&#xad;nent" rule="unit/@prebuilt" type="hexagon"/>
       
    28             <border rule="CLASS('plugin')" label="Plugin"  viewBox="0 0 20 20">
       
    29                 <s:path d="M 0 0 L 0 20 L 20 20 L 20 8 L 17.6 5.6 A 2.7 2.7 30 1 0 14.4 2.4 L12 0 z" stroke="black"/>
       
    30             </border>
       
    31             <border rule="CLASS('config')" type="box-clipAll" label="Config&#xad;uration"/>
       
    32             <border rule="CLASS('doc')" type="box-clipRT" label="Document&#xad;ation"/>
       
    33             <border rule="CLASS('api')" type="round" label="Inter&#xad;face"/>
       
    34     </borders>
       
    35 
       
    36 <patterns match="collection[ancestor::SystemDefintion/@detail!='component']" detail="collection">  
       
    37 	<overlay rule="count(component[@deprecated]) = count(component)" label="Depre&#xad;cated" count=" (1)" type="big-X"/>
       
    38 </patterns>
       
    39 
       
    40 
       
    41   <patterns>
       
    42           <overlay rule="not(unit)" label="Place&#xad;holder Compo&#xad;nent">
       
    43               <s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14">
       
    44                 <s:stop offset="15%" stop-color="white" stop-opacity="0"/>
       
    45                 <s:stop offset="20%" stop-color="white" stop-opacity="0.75"/>
       
    46                 <s:stop offset="25%" stop-color="white" stop-opacity="0"/>
       
    47                 <s:stop offset="35%" stop-color="white" stop-opacity="0"/>
       
    48                 <s:stop offset="40%" stop-color="white" stop-opacity="0.75"/>
       
    49                 <s:stop offset="45%" stop-color="white" stop-opacity="0"/>
       
    50                 <s:stop offset="55%" stop-color="white" stop-opacity="0"/>
       
    51                 <s:stop offset="60%" stop-color="white" stop-opacity="0.75"/>
       
    52                 <s:stop offset="65%" stop-color="white" stop-opacity="0"/>
       
    53               </s:radialGradient>
       
    54           </overlay>
       
    55  </patterns>
       
    56 
       
    57   <patterns>          
       
    58           <overlay rule="@purpose='development'" type="striped-diag-up" label="Test Compo&#xad;nent" count=" (1)"/>
       
    59   </patterns>
       
    60 
       
    61   <patterns>
       
    62            <overlay rule="@deprecated and VERSION(@deprecated) &lt;= VERSION('^3')" label="Depre&#xad;cated in ^3" count=" (1)" type="big-X"/>
       
    63            <overlay rule="@deprecated" label="Depre&#xad;cated after ^3" count=" (1)">
       
    64                   <s:pattern patternUnits="userSpaceOnUse" x="0" y="0" width="100%" height="100%" viewBox="0 0 10 10">
       
    65                           <s:path d="M 1 1 L 9 9 M 1 9  L 9 1" stroke="yellow" stroke-width="0.7" stroke-linecap="round"/>
       
    66                   </s:pattern>
       
    67           </overlay>
       
    68 </patterns>
       
    69 
       
    70 
       
    71   <patterns>          
       
    72           <overlay rule="VERSION(@introduced) = VERSION('^2')" type="radial-grad" label="New in ^2" count=" (1)"/>
       
    73           <overlay rule="VERSION(@introduced) = VERSION('^3')" label="New in ^3" count=" (1)">
       
    74                   <s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14">
       
    75                           <s:stop offset="0%" stop-color="yellow" stop-opacity="1"/>
       
    76                           <s:stop offset="85%" stop-opacity="0" stop-color="white" />
       
    77                           <s:stop offset="100%" stop-opacity="0" stop-color="white" />
       
    78                   </s:radialGradient>
       
    79           </overlay>
       
    80           <overlay rule="VERSION(@introduced) = VERSION('^4')" label="New in ^4" count=" (1)">
       
    81                   <s:radialGradient gradientUnits="userSpaceOnUse" cx="10" cy="10" r="14">
       
    82                           <s:stop offset="0%" stop-color="rgb(180  52 255)" stop-opacity="1"/>
       
    83                           <s:stop offset="85%" stop-opacity="0" stop-color="white" />
       
    84                           <s:stop offset="100%" stop-opacity="0" stop-color="white" />
       
    85                   </s:radialGradient>
       
    86           </overlay>
       
    87 </patterns>
       
    88 
       
    89     <styles show-unused="yes">
       
    90           <style>stroke-width: 0.5</style>
       
    91           <style rule="@purpose='mandatory'" label="Mandatory Compo&#xad;nent">stroke-width: 2</style>
       
    92    </styles>
       
    93   
       
    94 
       
    95 <colors match="package" label="BRAG Status">
       
    96 	<color color="grey" rule="@critical &gt; 0" label="Black" count=" (1)"/>
       
    97 	<color color="rgb(228,14,98)" rule="@major &gt; 0" label="Red" count=" (1)"/>
       
    98 	<color color="rgb(249,242,6)" rule="@minor &gt; 0 or  @unknown &gt; 0" label="Amber" count=" (1)"/>
       
    99 	<color color="rgb(68,165,28)" rule="@critical" label="Green" count=" (1)"/>
       
   100 	<color color="white" label="Not built" count=" (1)"/>
       
   101 </colors> 
       
   102 
       
   103 <!--  
       
   104 <styles match="package" use="@tech-domain" label="Technology Domain">
       
   105 	<style value="hb" label="OS Base Services" count=" (1)">stroke: tan</style>
       
   106 	<style value="se" label="Security" count=" (1)">stroke: rgb(228,14,98)</style>
       
   107 	<style value="lo" label="Location" count=" (1)">stroke: whitesmoke</style>
       
   108 	<style value="dc" label="Data Communications" count=" (1)">stroke: moccasin</style>
       
   109 	<style value="vc" label="Personal Communications" count=" (1)">stroke: darkkhaki</style>
       
   110 	<style value="de" label="Device Connectivity" count=" (1)">stroke: orchid</style>
       
   111 	<style value="dm" label="Device Management" count=" (1)">stroke: darkseagreen</style>
       
   112 	<style value="pr" label="Productivity" count=" (1)">stroke: lightpink</style>
       
   113 	<style value="mm" label="Multimedia" count=" (1)">stroke: rgb(175,212,240)</style>
       
   114 	<style value="ma" label="Multimedia Apps" count=" (1)">stroke: #ffff00</style>
       
   115 	<style value="ui" label="User Interface" count=" (1)">stroke: orange</style>
       
   116 	<style value="rt" label="Runtimes and Web" count=" (1)">stroke: slateblue</style>
       
   117 	<style value="to" label="Tools" count=" (1)">stroke: darkgray</style>
       
   118 </styles> 
       
   119 
       
   120 
       
   121 -->
       
   122 
       
   123 <colors match="collection" use="../@tech-domain" label="Technology Domain">
       
   124 	<color color="tan" value="hb" label="OS Base Services" count=" (1)"/>
       
   125 	<color color="rgb(228,14,98)" value="se" label="Security" count=" (1)"/>
       
   126 	<color color="whitesmoke" value="lo" label="Location" count=" (1)"/>
       
   127 	<color color="moccasin" value="dc" label="Data Communications" count=" (1)"/>
       
   128 	<color color="darkkhaki" value="vc" label="Personal Communications" count=" (1)"/>
       
   129 	<color color="orchid" value="de" label="Device Connectivity" count=" (1)"/>
       
   130 	<color color="darkseagreen" value="dm" label="Device Management" count=" (1)"/>
       
   131 	<color color="lightpink" value="pr" label="Productivity" count=" (1)"/>
       
   132 	<color color="rgb(175,212,240)" value="mm" label="Multimedia" count=" (1)"/>
       
   133 	<color color="#ffff00" value="ma" label="Multimedia Apps" count=" (1)"/>
       
   134 	<color color="orange" value="ui" label="User Interface" count=" (1)"/>
       
   135 	<color color="slateblue" value="rt" label="Runtimes and Web" count=" (1)"/>
       
   136 	<color color="darkgray" value="to" label="Tools" count=" (1)"/>
       
   137 </colors> 
       
   138 
       
   139 
       
   140 <colors default="grey" match="component" label="Origin">
       
   141   <color color="#32cd99" rule="descendant-or-self::*[contains(@filter,'s60')]" label="S60"/>
       
   142   <color color="rgb(93,155,205)" rule="self::component" label="Symbian"/>
       
   143 </colors>
       
   144 </shapes>