fSourceViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH));
GridData gd= new GridData(GridData.FILL_BOTH); gd.heightHint= convertHeightInCharsToPixels(10); fSourceViewer.getControl().setLayoutData(gd);
	private void createSourceViewer(Composite parent){		Composite c= new Composite(parent, SWT.NONE);		c.setLayoutData(new GridData(GridData.FILL_BOTH));		c.setLayout(new GridLayout());				Label l= new Label(c, SWT.NONE);		l.setText(NLSUIMessages.getString("wizardPage.context")); //$NON-NLS-1$		l.setLayoutData(new GridData());				// source viewer		JavaTextTools tools= JavaPlugin.getDefault().getJavaTextTools();				int styles= SWT.V_SCROLL | SWT.H_SCROLL | SWT.MULTI | SWT.BORDER | SWT.FULL_SELECTION;		fSourceViewer= new SourceViewer(c, null, styles);		fSourceViewer.configure(new JavaSourceViewerConfiguration(tools, null));				try {						String contents= getCu().getBuffer().getContents();			IDocument document= new Document(contents);						IDocumentPartitioner partitioner= tools.createDocumentPartitioner();			partitioner.connect(document);			document.setDocumentPartitioner(partitioner);						fSourceViewer.setDocument(document);			fSourceViewer.setEditable(false);			fSourceViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH));					} catch (JavaModelException e) {			ExceptionHandler.handle(e, NLSUIMessages.getString("wizardPage.title"), NLSUIMessages.getString("wizardPage.exception")); //$NON-NLS-2$ //$NON-NLS-1$		}	}