Package org.eclipse.jface.text

Examples of org.eclipse.jface.text.DefaultInformationControl


    @Override
    public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
        return new IInformationControlCreator() {
            public IInformationControl createInformationControl(Shell parent) {
                return new DefaultInformationControl(parent, SWT.NONE, new HTMLTextPresenter(true));
            }
        };
    }
View Full Code Here


        .setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_ABOVE);
    contentAssistant
        .setInformationControlCreator(new IInformationControlCreator() {
          public IInformationControl createInformationControl(
              Shell parent) {
            return new DefaultInformationControl(parent, SWT.NONE,
                new HTMLTextPresenter(true));
          }
        });

    return contentAssistant;
View Full Code Here

   * @since 3.2
   */
  public IInformationControlCreator getInformationPresenterControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, (ToolBarManager)null, null);
      }
    };
  }
View Full Code Here

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

                return info.toString();
              }

              };
            }
      return new DefaultInformationControl(parent, fIsFocusable);
    }
View Full Code Here

   * @return an <code>IInformationControlCreator</code> to be used to display context information
   */
  private IInformationControlCreator getInformationControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, false);
      }
    };
  }
View Full Code Here

   * Default control creator for the information control replacer.
   * @since 3.4
   */
  private static class DefaultPresenterControlCreator extends AbstractReusableInformationControlCreator {
    public IInformationControl doCreateInformationControl(Shell shell) {
      return new DefaultInformationControl(shell, true);
    }
View Full Code Here

  }

  private IInformationControlCreator getPresenterControlCreator(final String commandId) {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, SWT.WRAP, null);
      }
    };
  }
View Full Code Here

                return new BrowserInformationControl(
                    parent,
                    PreferenceConstants.APPEARANCE_DOCUMENTATION_FONT,
                    true);
              } else {
                return new DefaultInformationControl(parent,
                    true);
              }
            }
          }, true);
    }
View Full Code Here

        .addSummarizableAnnotationType("org.cfeclipse.cfml.occurrenceAnnotation");
   
    this.fProjectionSupport.setHoverControlCreator(new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell shell) {

                IInformationControl returnIInformationControl = new DefaultInformationControl(
                        shell);
        return returnIInformationControl;
      }
    });
    this.fProjectionSupport.install();
View Full Code Here

TOP

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

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.