}
}
});
ViewForm fForm = new ViewForm(area, SWT.BORDER | SWT.FLAT);
gd = new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan = 2;
fForm.setLayoutData(gd);
fLabel = new CLabel(fForm, SWT.FLAT);
fLabel.setFont(fForm.getFont());
fForm.setContent(fLabel);
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
ISelection selection = window.getSelectionService().getSelection();
if (selection instanceof ITextSelection) {
String text = ((ITextSelection) selection).getText();