/** * {@inheritDoc} */ public void createControl(Composite parent) { fForm= new ViewForm(parent, SWT.BORDER | SWT.FLAT); fForm.marginWidth= 0; fForm.marginHeight= 0; fLabel= new CLabel(fForm, SWT.NONE); fForm.setTopLeft(fLabel); fForm.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { if (fPaneImage != null) fPaneImage.dispose(); } }); Dialog.applyDialogFont(parent); fSourceViewer= createSourceViewer(fForm); fSourceViewer.setEditable(false); fForm.setContent(fSourceViewer.getControl()); }