Examples of IXtextBrowserInformationControl


Examples of org.eclipse.xtext.ui.editor.hover.html.IXtextBrowserInformationControl

    @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);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.