org.eclipse.cdt.internal.corext.template.c
Class TranslationUnitContextType
java.lang.Object
org.eclipse.jface.text.templates.TemplateContextType
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.
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 |
TranslationUnitContextType
public TranslationUnitContextType()
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)