buildframework/helium/doc/src/api/propertygroup.html.ftl
changeset 1 be27ed110b50
child 217 0f5e3a7fb6af
equal deleted inserted replaced
0:044383f39525 1:be27ed110b50
       
     1 <#--
       
     2 ============================================================================ 
       
     3 Name        : 
       
     4 Part of     : Helium 
       
     5 
       
     6 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     7 All rights reserved.
       
     8 This component and the accompanying materials are made available
       
     9 under the terms of the License "Eclipse Public License v1.0"
       
    10 which accompanies this distribution, and is available
       
    11 at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    12 
       
    13 Initial Contributors:
       
    14 Nokia Corporation - initial contribution.
       
    15 
       
    16 Contributors:
       
    17 
       
    18 Description:
       
    19 
       
    20 ============================================================================
       
    21 -->
       
    22 <#include "api.ftllib"/>
       
    23 
       
    24 <#list data.heliumDataModel.group as group>
       
    25 <@pp.changeOutputFile name="propertygroup-${group.name}.html" />
       
    26 
       
    27 <@helium_api_header title="Property group ${group.name}"/>
       
    28 
       
    29 
       
    30 
       
    31 <h2>Property group ${group.name}</h2>
       
    32 
       
    33 <h3>Description </h3>
       
    34 <p>
       
    35 ${group.description}
       
    36 </p>
       
    37 
       
    38 <h3>Properties</h3>
       
    39 <#assign propertyList=group.propertyRef?sort>
       
    40 <p> 
       
    41 <table class="docutils" width="50%">
       
    42     <tr>
       
    43         <th class="head">Name</th>
       
    44         <th class="head">Edit status</th>
       
    45         <th class="head">Deprecated</th>
       
    46     </tr>
       
    47     <tr>
       
    48         <td colspan="3">User editable properties</td>
       
    49     </tr>
       
    50     <#list propertyList as property>
       
    51         <#list data.heliumDataModel.property as propDataModel>
       
    52             <#if property == propDataModel.name>
       
    53                 <#if propDataModel.editStatus == "must" || propDataModel.editStatus == "recommended" || propDataModel.editStatus == "allowed">
       
    54                     <tr>
       
    55                         <td><a href="property-${property}.html" title="${propDataModel.description}" target="classframe"><tt class="docutils literal">${property}</tt></a></td>
       
    56                         <td><a href="help.html" title="Help" target="classframe">${propDataModel.editStatus}</a></td>
       
    57                         <td>
       
    58                             <#if propDataModel.deprecated?size &gt; 0>
       
    59                                 ${propDataModel.deprecated}
       
    60                             </#if>
       
    61                         </td>
       
    62                     </tr>
       
    63                 </#if>
       
    64             </#if>
       
    65         </#list>
       
    66     </#list>
       
    67     <tr>
       
    68         <td colspan="3">Internal properties</td>
       
    69     </tr>
       
    70     <#list propertyList as property>
       
    71         <#list data.heliumDataModel.property as propDataModel>
       
    72             <#if property == propDataModel.name>
       
    73                 <#if propDataModel.editStatus == "never" || propDataModel.editStatus == "discouraged">
       
    74                     <tr>
       
    75                         <td><a href="property-${property}.html" title="${propDataModel.description}" target="classframe"><tt class="docutils literal">${property}</tt></a></td>
       
    76                         <td><a href="help.html" title="Help" target="classframe">${propDataModel.editStatus}</a></td>
       
    77                         <td>
       
    78                             <#if propDataModel.deprecated?size &gt; 0>
       
    79                                 ${propDataModel.deprecated}
       
    80                             </#if>
       
    81                         </td>
       
    82                     </tr>
       
    83                 </#if>
       
    84             </#if>
       
    85         </#list>
       
    86     </#list>
       
    87 </table>
       
    88 </p>
       
    89 
       
    90 
       
    91 
       
    92 <@helium_api_html_footer/>
       
    93 
       
    94 </#list>
       
    95 
       
    96