blob: 02d7217b74dde1d14f3efc790c052d5e6a0ff208 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2006, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Templates</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<h2><a name="dialog_help">Editing Templates</a></h2>
<p>The following fields and buttons appear in the dialog:</p>
<table border="1" cellspacing="0" cellpadding="5" width="100%">
<thead>
<tr>
<th>Option</th>
<th>Description</th>
</tr>
</thead>
<tbody valign="baseline">
<tr>
<td>Name</td>
<td>The name of the template.</td>
</tr>
<tr>
<td>Context</td>
<td>The context determines where the template can be used and the set of available pre-defined template variables. The Java editor defines a context for Java and Javadoc areas.</td>
</tr>
<tr>
<td>Automatically insert</td>
<td>If selected, code assist will automatically insert the template if it is the only proposal available at the caret position.</td>
</tr>
<tr>
<td>Description</td>
<td>A description of the template, which is displayed to the user when choosing the template.</td>
</tr>
<tr>
<td>Pattern</td>
<td>The template pattern.</td>
</tr>
<tr>
<td>Insert Variables...</td>
<td>Displays a list of pre-defined context specific <a href="ref-preferences-template-variables.htm">template variables.</a></td>
</tr>
</tbody>
</table>
<p><img src="../images/ngrelc.png" alt="Related concepts" border="0" ></p>
<p><a href="../concepts/ctemplates.htm">Templates</a><br></p>
<p><img border="0" src="../images/ngrelr.png" alt="Related reference"></p>
<p>
<a href="../reference/ref-preferences-template-variables.htm">Templates variables</a><br>
<a href="../reference/ref-preferences-templates.htm">Templates preferences</a><br>
<a href="../reference/ref-143.htm">Java content assist</a><br>
<a href="../reference/ref-preferences-task-tags.htm">Task tag preferences</a><br>
<a href="../reference/ref-preferences-code-templates.htm">Code templates preferences</a><br>
<a href="../reference/ref-preferences-code-generation.htm">Code style preferences</a>
</p>
</body>
</html>