gdata.widthHint= convertWidthInCharsToPixels(80); gdata.heightHint= convertHeightInCharsToPixels(15);
gdata.widthHint= convertWidthInCharsToPixels(30); gdata.heightHint= convertHeightInCharsToPixels(5);
	private SourceViewer createPreview(Composite parent) {		SourceViewer previewViewer= new SourceViewer(parent, null, SWT.V_SCROLL | SWT.H_SCROLL | SWT.BORDER);		JavaTextTools tools= JavaPlugin.getDefault().getJavaTextTools();		previewViewer.configure(new JavaSourceViewerConfiguration(tools, null));		previewViewer.getTextWidget().setFont(JFaceResources.getFontRegistry().get(JFaceResources.TEXT_FONT));		previewViewer.getTextWidget().setTabs(getPositiveIntValue((String) fWorkingValues.get(PREF_TAB_SIZE), 0));		previewViewer.setEditable(false);		previewViewer.setDocument(fPreviewDocument);		Control control= previewViewer.getControl();		GridData gdata= new GridData(GridData.FILL_BOTH);		gdata.widthHint= convertWidthInCharsToPixels(80);		gdata.heightHint= convertHeightInCharsToPixels(15);		control.setLayoutData(gdata);		return previewViewer;	}