*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / corext / template / php / HTMLContextType.java
1 /*
2  * (c) Copyright IBM Corp. 2000, 2001.
3  * All Rights Reserved.
4  */
5 package net.sourceforge.phpdt.internal.corext.template.php;
6
7 //import org.eclipse.jdt.core.ICompilationUnit;
8
9 import net.sourceforge.phpdt.internal.corext.template.TemplateContext;
10
11 /**
12  * A context type for javadoc.
13  */
14 public class HTMLContextType extends CompilationUnitContextType {
15
16         /**
17          * Creates a java context type.
18          */
19         public HTMLContextType() {
20                 super("html"); //$NON-NLS-1$
21                 
22                 // global
23                 addVariable(new GlobalVariables.Cursor());
24                 addVariable(new GlobalVariables.Dollar());
25                 addVariable(new GlobalVariables.Date());
26                 addVariable(new GlobalVariables.Time());
27                 addVariable(new GlobalVariables.User());
28                 
29                 // compilation unit
30         /*      addVariable(new File());
31                 addVariable(new Method());
32                 addVariable(new ReturnType());
33                 addVariable(new Arguments());
34                 addVariable(new Type());
35                 addVariable(new Package());
36                 addVariable(new Project());*/
37         }
38         
39         /*
40          * @see ContextType#createContext()
41          */     
42         public TemplateContext createContext() {
43                 return new HTMLUnitContext(this, fDocument, fPosition); //, fCompilationUnit);
44         }
45
46 }