org.eclipse.cdt.internal.corext.template.c
Class CContextType
java.lang.Object
org.eclipse.jface.text.templates.TemplateContextType
org.eclipse.cdt.internal.corext.template.c.TranslationUnitContextType
org.eclipse.cdt.internal.corext.template.c.CContextType
public class CContextType
- extends TranslationUnitContextType
A context type for C/C++ code.
Field Summary |
static java.lang.String |
ID
|
Method Summary |
TranslationUnitContext |
createContext(org.eclipse.jface.text.IDocument document,
int offset,
int length,
org.eclipse.cdt.core.model.ITranslationUnit translationUnit)
|
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 |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
CContextType
public CContextType()
createContext
public TranslationUnitContext createContext(org.eclipse.jface.text.IDocument document,
int offset,
int length,
org.eclipse.cdt.core.model.ITranslationUnit translationUnit)
- Specified by:
createContext
in class TranslationUnitContextType
createContext
public TranslationUnitContext createContext(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.Position position,
org.eclipse.cdt.core.model.ITranslationUnit translationUnit)
- Specified by:
createContext
in class TranslationUnitContextType