| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <html lang="en"> |
| <head> |
| <link href="_stock/sysdoc.css" type="text/css" rel="stylesheet" media="screen"> |
| <link href="_stock/sysdoc.css" type="text/css" rel="stylesheet" media="print"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>How to extend the user interface using templates</title> |
| <style type="text/css" media="screen"> |
| .ButtonBox { background-image: url(_stock/gradient.jpg); } |
| </style> |
| </head> |
| <body> |
| <table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr> |
| </tr><tr><td class="DocSetBox" width="25%"> |
| <p> </p> |
| </td> |
| <td class="ButtonBox" align="right" width="40%"> |
| <p> <A href="Howtodeveloptemplates.html#howto%2edevelop%2etemplates"><IMG height=22 alt="[Next]" src="_stock/btn_next_wt.gif" width=58 border=0 ></a></p> |
| </td> |
| </tr></tbody></table> |
| <div class="AuthoredContent"> |
| |
| </div><div class="Head1"> |
| |
| <h1>How to add project templates to CDT</h1> |
| </div><div class="Bodytext"> |
| <p> |
| CDT 4.0 has a framework and extension points for allowing the contribution of project templates. Project templates |
| are used by the New Project Wizard to generate projects which are automatically populated with source files or settings. |
| The particular source files or settings can be dependent on information the user enters into the wizard. |
| </p> |
| <p> |
| The two main parts to integrating a template are writing the template itself (in XML format), and adding this to |
| a plug-in which extends the appropriate extension point. |
| </p> |
| <ul> |
| <li><A href="Howtodeveloptemplates.html#howto%2edevelop%2etemplates">How to develop templates</a> |
| <li><A href="Howtoregistertemplates.html#Howto%2eregister%2etemplates">How to register a template with Eclipse</a> |
| <li><A href="exampletemplate.html#Corona%2ecustomguide%2eexampletemplate">An example template</a></li> |
| </ul> |
| |
| </div><div class="Footer"> |
| <hr noshade size="1"> |
| <table cellpadding="0" cellspacing="0" border="0" width="100%"> |
| <tr> |
| <td class="ButtonBottomBox" align="right" height="12" width="67%"> |
| <p> |
| <A href="#_top"><IMG alt="[Top]" src="_stock/btn_top.gif" width=51 align=bottom border=0></a> |
| <A href="Howtodeveloptemplates.html#howto%2edevelop%2etemplates"><IMG height=22 alt="[Next]" src="_stock/btn_next.gif" width=58 border=0></a> |
| </p> |
| </td> |
| </tr> |
| </table> |
| </div> |
| </body> |
| </html> |
| |