public void complete(ITextViewer viewer, int completionPosition, ICompilationUnit sourceUnit) throws JavaModelException
public void complete(ITextViewer viewer, int completionPosition, ICompilationUnit sourceUnit, IEditorPart editor) throws JavaModelException
	public void complete(ITextViewer viewer, int completionPosition, ICompilationUnit sourceUnit)		throws JavaModelException	{		Assert.isNotNull(viewer);		TemplateContext context= new TemplateContext(viewer, completionPosition, sourceUnit, fContextType);		Template[] templates= TemplateSet.getInstance().getMatchingTemplates(context);		for (int i= 0; i != templates.length; i++) {			TemplateProposal proposal= new TemplateProposal(templates[i], context);			fProposals.add(proposal);		}	}