2 * (c) Copyright IBM Corp. 2000, 2001.
5 package net.sourceforge.phpdt.internal.corext.template.php;
7 //import org.eclipse.jdt.core.ICompilationUnit;
9 import net.sourceforge.phpdt.internal.corext.template.TemplateContext;
12 * A context type for javadoc.
14 public class HTMLContextType extends CompilationUnitContextType {
17 * Creates a java context type.
19 public HTMLContextType() {
20 super("html"); //$NON-NLS-1$
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());
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());*/
40 * @see ContextType#createContext()
42 public TemplateContext createContext() {
43 return new HTMLUnitContext(this, fDocument, fPosition); //, fCompilationUnit);