--- /dev/null
+/*
+ * (c) Copyright IBM Corp. 2000, 2001.
+ * All Rights Reserved.
+ */
+package net.sourceforge.phpdt.internal.corext.template.php;
+
+//import org.eclipse.jdt.core.ICompilationUnit;
+
+import net.sourceforge.phpdt.internal.corext.template.ContextType;
+import net.sourceforge.phpdt.internal.corext.template.TemplateContext;
+import net.sourceforge.phpdt.internal.corext.template.TemplateVariable;
+
+/**
+ * A context type for javadoc.
+ */
+public class HTMLContextType extends CompilationUnitContextType {
+
+ /**
+ * Creates a java context type.
+ */
+ public HTMLContextType() {
+ super("html"); //$NON-NLS-1$
+
+ // global
+ addVariable(new GlobalVariables.Cursor());
+ addVariable(new GlobalVariables.Dollar());
+ addVariable(new GlobalVariables.Date());
+ addVariable(new GlobalVariables.Time());
+ addVariable(new GlobalVariables.User());
+
+ // compilation unit
+ /* addVariable(new File());
+ addVariable(new Method());
+ addVariable(new ReturnType());
+ addVariable(new Arguments());
+ addVariable(new Type());
+ addVariable(new Package());
+ addVariable(new Project());*/
+ }
+
+ /*
+ * @see ContextType#createContext()
+ */
+ public TemplateContext createContext() {
+ return new HTMLUnitContext(this, fDocument, fPosition); //, fCompilationUnit);
+ }
+
+}