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
}
		stringMatcherUpdated();
	}
	
	protected StringMatcher getMatcher() {
		return fStringMatcher;
	}
	
	/**
	 * Implementers can modify
	 * 
	 * @return the selected element
	 */
	protected Object getSelectedElement() {
		if (fTreeViewer == null)
			return null;
		
		return ((IStructuredSelection) fTreeViewer.getSelection()).getFirstElement();
	}
	private void gotoSelectedElement() {
		Object selectedElement= getSelectedElement();
		if (selectedElement != null) {
			try {
				dispose();
				OpenActionUtil.open(selectedElement, true);
			} catch (CoreException ex) {
				JavaPlugin.log(ex);
			}
		}
	}