Package org.eclipse.jface.text

Examples of org.eclipse.jface.text.DefaultInformationControl$IInformationPresenterExtension


   * @since 2.0
   */
  public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent,new InformationPresenter());
      }
    };
  }
View Full Code Here


  @Override
  public IInformationControlCreator getInformationPresenterControlCreator() {
    return new IInformationControlCreator() {
      @Override
      public IInformationControl createInformationControl(Shell shell) {
        return new DefaultInformationControl(shell, true);
      }
    };
  }
View Full Code Here

        ContentAssistant assistant = new ContentAssistant();

        // required to display additional info
        assistant.setInformationControlCreator(new IInformationControlCreator() {
            public IInformationControl createInformationControl(Shell parent) {
                return new DefaultInformationControl(parent);
            }
        });

        processor.setFile(file);
        // Set this processor for each supported content type
View Full Code Here

        IXtextBrowserInformationControl control = new XtextBrowserInformationControl(parent, font, tbm);
        configureControl(control, tbm, font);
        return control;
      }
      // else {
      return new DefaultInformationControl(parent, true);
      // }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.text.DefaultInformationControl$IInformationPresenterExtension

Copyright © 2018 www.massapicom. 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.