String name= fContextCombo.getText(); String contextId= getContextId(name);
String contextId= getContextId();
	protected void doTextWidgetChanged(Widget w) {		if (w == fNameText) {			fSuppressError= false;			updateButtons();					} else if (w == fContextCombo) {			String name= fContextCombo.getText();			String contextId= getContextId(name);			fTemplateProcessor.setContextType(fContextTypeRegistry.getContextType(contextId));			IDocument document= fPatternEditor.getDocument();			String prefix= getPrefix();			document.set(prefix + getPattern());			fPatternEditor.setVisibleRegion(prefix.length(), document.getLength() - prefix.length());		} else if (w == fDescriptionText) {			// nothing		}		}