fPatternViewer.getTextWidget().setText(template.getPattern()); } else { fPatternViewer.getTextWidget().setText("");
fPatternViewer.getDocument().set(template.getPattern()); } else { fPatternViewer.getDocument().set("");
	protected void updateSourceViewerInput(List selection) {		if (fPatternViewer == null || fPatternViewer.getTextWidget().isDisposed()) {			return;		}		if (selection.size() == 1 && selection.get(0) instanceof Template) {			Template template= (Template) selection.get(0);			fPatternViewer.getTextWidget().setText(template.getPattern());		} else {					fPatternViewer.getTextWidget().setText(""); //$NON-NLS-1$		}			}