if (!fEnabled)
if (TemplateEditor.isEditorActive(viewer))
	public void complete(ITextViewer viewer, int completionPosition, ICompilationUnit sourceUnit)		throws JavaModelException	{		Assert.isNotNull(viewer);		// disallow recursion		if (!fEnabled)			return;				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);		}	}