Package org.eclipse.jface.text

Examples of org.eclipse.jface.text.DefaultInformationControl


  }

  private IInformationControlCreator getInformationControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, new HTMLTextPresenter());
      }
    };
  }
View Full Code Here


  /**
   * The default information control creator.
   */
  private static class DefaultInformationControlCreator implements IInformationControlCreator {
    public IInformationControl createInformationControl(Shell shell) {
      return new DefaultInformationControl(shell, true);
    }
View Full Code Here

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

                try {
                    tooltipAffordanceString = EditorsUI.getTooltipAffordanceString();
                } catch (Throwable e) {
                    //Not available on Eclipse 3.2
                }
                DefaultInformationControl ret = new PyInformationControl(parent, SWT.NONE,
                        new PyInformationPresenter(), tooltipAffordanceString);
                return ret;
            }
        };
    }
View Full Code Here

    }

    public static IInformationControlCreator createInformationControlCreator(ISourceViewer sourceViewer) {
        return new IInformationControlCreator() {
            public IInformationControl createInformationControl(Shell parent) {
                return new DefaultInformationControl(parent, new PyInformationPresenter());
            }
        };
    }
View Full Code Here

            fProjectionSupport = new ProjectionSupport(projectionViewer, getAnnotationAccess(), getSharedColors());
            fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.error");
            fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.warning");
            fProjectionSupport.setHoverControlCreator(new IInformationControlCreator() {
                public IInformationControl createInformationControl(Shell shell) {
                    return new DefaultInformationControl(shell);
                }
            });
            fProjectionSupport.install();

            if (isFoldingEnabled()) {
View Full Code Here

                try {
                    tooltipAffordanceString = EditorsUI.getTooltipAffordanceString();
                } catch (Throwable e) {
                    //Not available on Eclipse 3.2
                }
                DefaultInformationControl ret = new PyInformationControl(parent, SWT.NONE,
                        new PyInformationPresenter(), tooltipAffordanceString);
                return ret;
            }
        };
    }
View Full Code Here

  public IInformationControlCreator getInformationControlCreator(
      ISourceViewer sourceViewer) {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent,
            new HTMLTextPresenter());
      }
    };
  }
View Full Code Here

  private static final class RefHoverInformationControlCreator extends
      AbstractReusableInformationControlCreator {
    @Override
    protected IInformationControl doCreateInformationControl(Shell parent) {
      return new DefaultInformationControl(parent);
    }
View Full Code Here

    }
   
    public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
        return new IInformationControlCreator() {
            public IInformationControl createInformationControl(Shell parent) {
                return new DefaultInformationControl(parent, SWT.WRAP, presenter);
            }
        };
    }
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.