Search in sources :

Example 1 with XtextTemplateContext

use of org.eclipse.xtext.ui.editor.templates.XtextTemplateContext in project xtext-eclipse by eclipse.

the class XtextTemplateContextTest method setUp.

@Before
public void setUp() throws Exception {
    document = new Document();
    position = new Position(0);
    testMe = new XtextTemplateContext(new TemplateContextType(), document, position, null, null);
}
Also used : Position(org.eclipse.jface.text.Position) XtextTemplateContext(org.eclipse.xtext.ui.editor.templates.XtextTemplateContext) Document(org.eclipse.jface.text.Document) TemplateContextType(org.eclipse.jface.text.templates.TemplateContextType) Before(org.junit.Before)

Aggregations

Document (org.eclipse.jface.text.Document)1 Position (org.eclipse.jface.text.Position)1 TemplateContextType (org.eclipse.jface.text.templates.TemplateContextType)1 XtextTemplateContext (org.eclipse.xtext.ui.editor.templates.XtextTemplateContext)1 Before (org.junit.Before)1