@Override
public IInformationControl doCreateInformationControl(Shell parent) {
if(BrowserInformationControl.isAvailable(parent)) {
ToolBarManager tbm = new ToolBarManager(SWT.FLAT);
String font = "org.eclipse.jdt.ui.javadocfont"; // FIXME: mPreferenceConstants.APPEARANCE_JAVADOC_FONT;
IXtextBrowserInformationControl control = new XtextBrowserInformationControl(parent, font, tbm);
configureControl(control, tbm, font);
return control;
}
// else {
return new DefaultInformationControl(parent, true);