final BrowserInformationControl info = new BrowserInformationControl(
parent, JFaceResources.DIALOG_FONT,
EditorsUI.getTooltipAffordanceString()) {
@Override
public IInformationControlCreator getInformationPresenterControlCreator() {
return new PresenterControlCreator(editor);
}
};
return info;
}
return new DefaultInformationControl(parent,