Bug 58921 Texts created with unsupported styles
- org.eclipse.jdt.internal.ui.text.AbstractInformationControl.createFilterText creates a Text with style SWT.FLAT - org.eclipse.jdt.internal.ui.filters.CustomFiltersDialog.createCheckBoxList creates a Text with style SWT.VERTICAL (perhaps V_SCROLL was meant?)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java
public void widgetDisposed(DisposeEvent event) {
		if (fStatusTextFont != null && !fStatusTextFont.isDisposed())
			fStatusTextFont.dispose();
		
		fShell= null;
		fTreeViewer= null;
		fComposite= null;
		fFilterText= null;
		fStatusTextFont= null;
	}
	/**
	 * {@inheritDoc}
	 */
	public boolean hasContents() {
		return fTreeViewer != null && fTreeViewer.getInput() != null;
	}
	/**
	 * {@inheritDoc}
	 */
	public void setSizeConstraints(int maxWidth, int maxHeight) {
		if (maxWidth > -1 && maxHeight > -1) {
			GridData gd= new GridData(GridData.FILL_BOTH);
			if (maxWidth > -1)
				gd.widthHint= maxWidth; 
			if (maxHeight > -1)
				gd.heightHint= maxHeight;
			
			fShell.setLayoutData(gd);
		}
	}