fViewer.getTable().setLayoutData(gd); fViewer.getTable().getAccessible().addAccessibleListener(new AccessibleAdapter() {
table.setLayoutData(gd); table.getAccessible().addAccessibleListener(new AccessibleAdapter() {
	private void createContent(final String message, int elementKind) {		GridLayout layout= new GridLayout();		layout.numColumns= 2;		layout.marginWidth= 0; layout.marginHeight= 0;		setLayout(layout);		Font font= getFont();				Control header= createHeader(this, font, message);		GridData gd= new GridData(GridData.FILL_HORIZONTAL);		gd.horizontalSpan= 2;		header.setLayoutData(gd);				fFilter= new Text(this, SWT.BORDER | SWT.FLAT);		fFilter.setFont(font);		if (fInitialFilterText != null) {			fFilter.setText(fInitialFilterText);		}		gd= new GridData(GridData.FILL_HORIZONTAL);		gd.horizontalSpan= 2;		fFilter.setLayoutData(gd);		fFilter.addModifyListener(new ModifyListener() {			public void modifyText(ModifyEvent e) {				patternChanged((Text)e.widget);			}		});		fFilter.addKeyListener(new KeyListener() {			public void keyReleased(KeyEvent e) {			}			public void keyPressed(KeyEvent e) {				if (e.keyCode == SWT.ARROW_DOWN) {					fViewer.setFocus();				}			}		});		fFilter.getAccessible().addAccessibleListener(new AccessibleAdapter() {			public void getName(AccessibleEvent e) {				e.result= message;			}		});		TextFieldNavigationHandler.install(fFilter);				Label label= new Label(this, SWT.NONE);		label.setFont(font);		label.setText(JavaUIMessages.TypeSelectionComponent_label);		label.addTraverseListener(new TraverseListener() {			public void keyTraversed(TraverseEvent e) {				if (e.detail == SWT.TRAVERSE_MNEMONIC && e.doit) {					e.detail= SWT.TRAVERSE_NONE;					fViewer.setFocus();				}			}		});		label= new Label(this, SWT.RIGHT);		label.setFont(font);		gd= new GridData(GridData.FILL_HORIZONTAL);		label.setLayoutData(gd);		fViewer= new TypeInfoViewer(this, fMultipleSelection ? SWT.MULTI : SWT.NONE, label, 			fScope, elementKind, fInitialFilterText, 			fTypeSelectionExtension != null ? fTypeSelectionExtension.getFilterExtension() : null,			fTypeSelectionExtension != null ? fTypeSelectionExtension.getImageProvider() : null);		gd= new GridData(GridData.FILL_BOTH);		PixelConverter converter= new PixelConverter(fViewer.getTable());		gd.widthHint= converter.convertWidthInCharsToPixels(70);		gd.heightHint= SWTUtil.getTableHeightHint(fViewer.getTable(), 10);		gd.horizontalSpan= 2;		fViewer.getTable().setLayoutData(gd);		fViewer.getTable().getAccessible().addAccessibleListener(new AccessibleAdapter() {			public void getName(AccessibleEvent e) {				e.result= JavaUIMessages.TypeSelectionComponent_label;			}		});		fViewer.setFullyQualifyDuplicates(fSettings.getBoolean(FULLY_QUALIFY_DUPLICATES), false);		if (fTypeSelectionExtension != null) {			Control addition= fTypeSelectionExtension.createContentArea(this);			if (addition != null) {				addition.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));			}		}		if (!fMultipleSelection) {			fForm= new ViewForm(this, SWT.BORDER | SWT.FLAT);			fForm.setFont(font);			gd= new GridData(GridData.FILL_HORIZONTAL);			gd.horizontalSpan= 2;			boolean showStatusLine= fSettings.getBoolean(SHOW_STATUS_LINE);			gd.exclude= !showStatusLine;			fForm.setVisible(showStatusLine);			fForm.setLayoutData(gd);			fLabel= new CLabel(fForm, SWT.FLAT);			fLabel.setFont(fForm.getFont());			fForm.setContent(fLabel);			fViewer.getTable().addSelectionListener(new SelectionAdapter() {				private TypeInfoLabelProvider fLabelProvider= new TypeInfoLabelProvider(					TypeInfoLabelProvider.SHOW_TYPE_CONTAINER_ONLY + TypeInfoLabelProvider.SHOW_ROOT_POSTFIX);				public void widgetSelected(SelectionEvent event) {					TypeInfo[] selection= fViewer.getSelection();					if (selection.length != 1) {						fLabel.setText(""); //$NON-NLS-1$						fLabel.setImage(null);					} else {						TypeInfo type= selection[0];						fLabel.setText(fViewer.getLabelProvider().getQualificationText(type));						fLabel.setImage(fLabelProvider.getImage(type));					}				}			});		}		addDisposeListener(new DisposeListener() {			public void widgetDisposed(DisposeEvent event) {				disposeComponent();			}		});		if (fTypeSelectionExtension != null) {			fTypeSelectionExtension.initialize(this);		}	}