项目:gama
文件:GamlHoverProvider.java
@Override
public IinformationControl doCreateinformationControl(final Shell parent) {
final String tooltipAffordanceString = EditorsUI.getTooltipAffordanceString();
if (browserinformationControl.isAvailable(parent)) {
final String font = "org.eclipse.jdt.ui.javadocfont"; // FIXME:
// PreferenceConstants.APPEaraNCE_JAVADOC_FONT;
final IXtextbrowserinformationControl iControl =
new GamlinformationControl(parent,font,tooltipAffordanceString) {
};
addLinkListener(iControl);
return iControl;
} else {
return new DefaultinformationControl(parent,tooltipAffordanceString);
}
}
项目:statecharts
文件:CustomCSSHelpHoverProvider.java