~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/EmptyClass.xft

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<Template author="Daniel Grunwald" version="1.0">
 
3
        
 
4
        <Config
 
5
                  name        = "${res:Templates.File.EmptyClass.Name}"
 
6
                  icon        = "Boo.File.EmptyFile"
 
7
                  category    = "Boo"
 
8
                  defaultname = "Class${Number}.boo"
 
9
                  language    = "Boo"/>
 
10
         
 
11
        <Description>${res:Templates.File.EmptyClass.Description}</Description>
 
12
        
 
13
        <!-- 
 
14
        Special new file templates:
 
15
                ${StandardNamespace}        -> Standardnamespace of the current project or FileNameWithoutExtension
 
16
                ${FullName}                 -> Full generated path name
 
17
                ${FileName}                 -> File name with extension
 
18
                ${FileNameWithoutExtension} -> File name without extension
 
19
                ${Extension}                -> Extension in the form ".cs"
 
20
                ${Path}                     -> Full path of the file
 
21
                ${ClassName}                -> Class name (generally FileNameWithoutExtension w/o 'bad' characters)
 
22
         -->
 
23
        <Files>
 
24
                <File name="${FullName}" language="Boo"><![CDATA[namespace ${StandardNamespace}
 
25
 
 
26
import System
 
27
 
 
28
class ${ClassName}:
 
29
"""Description of ${ClassName}"""
 
30
        public def constructor():
 
31
                pass
 
32
 
 
33
]]></File>
 
34
        </Files>
 
35
        
 
36
        <AdditionalOptions/>
 
37
</Template>
 
38