org.eclipse.cdt.internal.corext.template.c
Class TranslationUnitContextType

java.lang.Object
  extended by org.eclipse.jface.text.templates.TemplateContextType
      extended by org.eclipse.cdt.internal.corext.template.c.TranslationUnitContextType
Direct Known Subclasses:
CContextType, CommentContextType

public abstract class TranslationUnitContextType
extends org.eclipse.jface.text.templates.TemplateContextType

A context type for translation units.


Constructor Summary
TranslationUnitContextType()
           
 
Method Summary
abstract  TranslationUnitContext createContext(org.eclipse.jface.text.IDocument document, int offset, int length, org.eclipse.cdt.core.model.ITranslationUnit translationUnit)
           
abstract  TranslationUnitContext createContext(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.Position position, org.eclipse.cdt.core.model.ITranslationUnit translationUnit)
           
 
Methods inherited from class org.eclipse.jface.text.templates.TemplateContextType
addResolver, getId, getName, removeAllResolvers, removeResolver, resolve, resolvers, setId, setName, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslationUnitContextType

public TranslationUnitContextType()
Method Detail

createContext

public abstract TranslationUnitContext createContext(org.eclipse.jface.text.IDocument document,
                                                     int offset,
                                                     int length,
                                                     org.eclipse.cdt.core.model.ITranslationUnit translationUnit)

createContext

public abstract TranslationUnitContext createContext(org.eclipse.jface.text.IDocument document,
                                                     org.eclipse.jface.text.Position position,
                                                     org.eclipse.cdt.core.model.ITranslationUnit translationUnit)