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.Year());
27 addVariable(new GlobalVariables.Time());
28 addVariable(new GlobalVariables.User());
31 /* addVariable(new File());
32 addVariable(new Method());
33 addVariable(new ReturnType());
34 addVariable(new Arguments());
35 addVariable(new Type());
36 addVariable(new Package());
37 addVariable(new Project());*/
41 * @see ContextType#createContext()
43 public TemplateContext createContext() {
44 return new HTMLUnitContext(this, fDocument, fOffset); //, fCompilationUnit);