Package org.eclipse.jface.internal.text

Examples of org.eclipse.jface.internal.text.InformationControlReplacer


       */
      if (fAdditionalInfoController != null) {
        IInformationControl informationControl= fAdditionalInfoController.getCurrentInformationControl2();
        if (informationControl != null && informationControl.isFocusControl())
          return true;
        InformationControlReplacer replacer= fAdditionalInfoController.getInternalAccessor().getInformationControlReplacer();
        if (replacer != null) {
          informationControl= replacer.getCurrentInformationControl2();
          if (informationControl != null && informationControl.isFocusControl())
            return true;
        }
      }
    }
View Full Code Here


     * having a double black line.
     */
      int spacing= -1;
    setMargins(spacing, spacing); // see also adjustment in #computeLocation
   
    InformationControlReplacer replacer= new InformationControlReplacer(new DefaultPresenterControlCreator());
    getInternalAccessor().setInformationControlReplacer(replacer);
  }
View Full Code Here

    fProposalTable.addSelectionListener(fSelectionListener);
    getInternalAccessor().getInformationControlReplacer().install(fProposalTable);
   
    fTimer= new Timer(fProposalTable.getDisplay(), fDelay) {
      protected void showInformation(ICompletionProposal proposal, Object info) {
        InformationControlReplacer replacer= getInternalAccessor().getInformationControlReplacer();
        if (replacer != null)
          replacer.hideInformationControl();
        AdditionalInfoController.this.showInformation(proposal, info);
      }
    };
  }
View Full Code Here

        break;
 
      case SWT.Deactivate:
        if (fAdditionalInfoController == null)
          break;
        InformationControlReplacer replacer= fAdditionalInfoController.getInternalAccessor().getInformationControlReplacer();
        if (replacer != null && fContentAssistant != null) {
          IInformationControl iControl= replacer.getCurrentInformationControl2();
          if (event.widget instanceof Control && iControl instanceof IInformationControlExtension5) {
            Control control= (Control) event.widget;
            IInformationControlExtension5 iControl5= (IInformationControlExtension5) iControl;
            if (iControl5.containsControl(control)) {
              control.getDisplay().asyncExec(new Runnable() {
View Full Code Here

       */
      if (fAdditionalInfoController != null) {
        IInformationControl informationControl= fAdditionalInfoController.getCurrentInformationControl2();
        if (informationControl != null && informationControl.isFocusControl())
          return true;
        InformationControlReplacer replacer= fAdditionalInfoController.getInternalAccessor().getInformationControlReplacer();
        if (replacer != null) {
          informationControl= replacer.getCurrentInformationControl2();
          if (informationControl != null && informationControl.isFocusControl())
            return true;
        }
      }
    }
View Full Code Here

       */
      if (fAdditionalInfoController != null) {
        IInformationControl informationControl= fAdditionalInfoController.getCurrentInformationControl2();
        if (informationControl != null && informationControl.isFocusControl())
          return true;
        InformationControlReplacer replacer= fAdditionalInfoController.getInternalAccessor().getInformationControlReplacer();
        if (replacer != null) {
          informationControl= replacer.getCurrentInformationControl2();
          if (informationControl != null && informationControl.isFocusControl())
            return true;
        }
      }
    }
View Full Code Here

     * having a double black line.
     */
      int spacing= -1;
    setMargins(spacing, spacing); // see also adjustment in #computeLocation

    InformationControlReplacer replacer= new InformationControlReplacer(new DefaultPresenterControlCreator());
    getInternalAccessor().setInformationControlReplacer(replacer);
  }
View Full Code Here

    fProposalTable.addSelectionListener(fSelectionListener);
    getInternalAccessor().getInformationControlReplacer().install(fProposalTable);

    fTimer= new Timer(fProposalTable.getDisplay(), fDelay) {
      protected void showInformation(ICompletionProposal proposal, Object info) {
        InformationControlReplacer replacer= getInternalAccessor().getInformationControlReplacer();
        if (replacer != null)
          replacer.hideInformationControl();
        AdditionalInfoController.this.showInformation(proposal, info);
      }
    };
  }
View Full Code Here

        break;

      case SWT.Deactivate:
        if (fAdditionalInfoController == null)
          break;
        InformationControlReplacer replacer= fAdditionalInfoController.getInternalAccessor().getInformationControlReplacer();
        if (replacer != null && fContentAssistant != null) {
          IInformationControl iControl= replacer.getCurrentInformationControl2();
          if (event.widget instanceof Control && iControl instanceof IInformationControlExtension5) {
            Control control= (Control) event.widget;
            IInformationControlExtension5 iControl5= (IInformationControlExtension5) iControl;
            if (iControl5.containsControl(control)) {
              control.getDisplay().asyncExec(new Runnable() {
View Full Code Here

TOP

Related Classes of org.eclipse.jface.internal.text.InformationControlReplacer

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.