While addressing ticket #521 and #573 i noticed that there were to names for setting...
[phpeclipse.git] / net.sourceforge.phpeclipse / templates / default-codetemplates.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 /*******************************************************************************
5  * Copyright (c) 2000, 2004 IBM Corporation and others.
6  * All rights reserved. This program and the accompanying materials 
7  * are made available under the terms of the Common Public License v1.0
8  * which accompanies this distribution, and is available at
9  * http://www.eclipse.org/legal/cpl-v10.html
10  * 
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/ 
14 -->
15
16 <templates>
17
18 <!--
19 <template name="gettercomment" id="net.sourceforge.phpdt.ui.text.codetemplates.gettercomment" description="%CodeTemplates.gettercomment" context="php_gettercomment_context" enabled="true">/**
20  * @return %CodeTemplates.gettercomment.returntagcontent
21  */</template>
22
23 <template name="settercomment" id="net.sourceforge.phpdt.ui.text.codetemplates.settercomment" description="%CodeTemplates.settercomment" context="php_settercomment_context" enabled="true">/**
24  * @param ${param} %CodeTemplates.settercomment.paramtagcontent
25  */</template>
26
27 <template name="constructorcomment" id="net.sourceforge.phpdt.ui.text.codetemplates.constructorcomment" description="%CodeTemplates.constructorcomment" context="php_constructorcomment_context" enabled="true">/**
28  * ${tags}
29  */</template>
30
31 <template name="typecomment" id="net.sourceforge.phpdt.ui.text.codetemplates.typecomment" description="%CodeTemplates.typecomment" context="php_typecomment_context" enabled="true">/**
32  * @author ${user}
33  *
34  * ${todo} %CodeTemplates.typecomment.content1
35  * %CodeTemplates.typecomment.content2
36  */</template>
37  
38 <template name="fieldcomment" id="net.sourceforge.phpdt.ui.text.codetemplates.fieldcomment" description="%CodeTemplates.fieldcomment" context="php_fieldcomment_context" enabled="true">/**
39  * %CodeTemplates.fieldcomment.content
40  */</template>
41  
42 <template name="methodcomment" id="net.sourceforge.phpdt.ui.text.codetemplates.methodcomment" description="%CodeTemplates.nonoverridingcomment" context="php_methodcomment_context" enabled="true">/**
43  * ${tags}
44  */</template>
45
46 <template name="overridecomment" id="net.sourceforge.phpdt.ui.text.codetemplates.overridecomment" description="%CodeTemplates.overridecomment" context="php_overridecomment_context" enabled="true">/* %CodeTemplates.overridecomment.nonjd
47  * ${see_to_overridden}
48  */</template>
49 -->
50 <template name="newtype" id="net.sourceforge.phpdt.ui.text.codetemplates.newtype" description="%CodeTemplates.newfile" context="php_newtype_context" enabled="true">&lt;?php
51 /*
52  * %CodeTemplates.newfile.content1
53  *
54  * %CodeTemplates.newfile.content2
55  * %CodeTemplates.newfile.content3
56  */
57 ?&gt;
58 </template>
59
60 <template name="newhtml" id="net.sourceforge.phpdt.ui.text.codetemplates.newhtml" description="%CodeTemplates.newhtml" context="php_newhtml_context" enabled="true">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
61            &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
62
63 &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en_US&quot; xml:lang=&quot;en_US&quot;&gt;
64 &lt;!--
65  * %CodeTemplates.newhtml.content1
66  *
67  * %CodeTemplates.newhtml.content2
68  * %CodeTemplates.newhtml.content3
69 --&gt;
70  &lt;head&gt;
71   &lt;title&gt; &lt;/title&gt;
72  &lt;/head>
73  &lt;body>
74  
75  &lt;/body&gt;
76 &lt;/html>
77 </template>
78
79 <!--
80 <template name="catchblock" id="net.sourceforge.phpdt.ui.text.codetemplates.catchblock" description="%CodeTemplates.catchblock" context="php_catchblock_context" enabled="true">// ${todo} %CodeTemplates.catchblock.tododesc
81 ${exception_var}.printStackTrace();</template>
82
83 <template name="methodbody" id="net.sourceforge.phpdt.ui.text.codetemplates.methodbody" description="%CodeTemplates.methodstub" context="php_methodbody_context" enabled="true">// ${todo} %CodeTemplates.methodstub.tododesc
84 ${body_statement}</template>
85
86 <template name="constructorbody" id="net.sourceforge.phpdt.ui.text.codetemplates.constructorbody" description="%CodeTemplates.constructorstub" context="constructorbody_context" enabled="true">${body_statement}
87 // ${todo} %CodeTemplates.constructorstub.tododesc</template>
88  
89 <template name="getterbody" id="net.sourceforge.phpdt.ui.text.codetemplates.getterbody" description="%CodeTemplates.getterstub" context="php_getterbody_context" enabled="true">return ${field};</template>
90
91 <template name="setterbody" id="net.sourceforge.phpdt.ui.text.codetemplates.setterbody" description="%CodeTemplates.setterstub" context="php_setterbody_context" enabled="true">${field} = ${param};</template>
92 -->
93
94 </templates>