Package org.eclipse.xtext.ui.editor.templates

Examples of org.eclipse.xtext.ui.editor.templates.XtextTemplateProposal


 
  protected TemplateProposal doCreateProposal(Template template, TemplateContext templateContext,
      ContentAssistContext context, Image image, int relevance) {
    org.eclipse.jface.text.Region replaceRegion = context.getReplaceRegion();
    IRegion region = new Region(replaceRegion.getOffset() + replaceRegion.getLength(), 0);
    return new XtextTemplateProposal(template, templateContext, region , image, relevance);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.ui.editor.templates.XtextTemplateProposal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.