diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/c/CFunctionContextType.java')
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/c/CFunctionContextType.java | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/c/CFunctionContextType.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/c/CFunctionContextType.java deleted file mode 100644 index 0fa6d755ff6..00000000000 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/c/CFunctionContextType.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Created on 19/12/2003 - * - * To change the template for this generated file go to - * Window - Preferences - Java - Code Generation - Code and Comments - */ -package org.eclipse.cdt.internal.corext.template.c; - -import org.eclipse.cdt.internal.corext.template.ITemplateEditor; -import org.eclipse.cdt.internal.corext.template.TemplateContext; - -/** - * @author hamer - * - * To change the template for this generated type comment go to - * Window - Preferences - Java - Code Generation - Code and Comments - */ -public class CFunctionContextType extends CompilationUnitContextType { - - /** - * @param name - */ - public CFunctionContextType() { - super(ITemplateEditor.TemplateContextKind.C_FUNCTION_CONTEXT_TYPE); - // 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()); - // @@@ Need to add some specific C ones - } - /* (non-Javadoc) - * @see org.eclipse.cdt.internal.corext.template.ContextType#createContext() - */ - public TemplateContext createContext() { - return new CContext(this, fString, fPosition, fCompilationUnit); - } - - -} |