Package org.eclipse.jface.internal.text.html

Examples of org.eclipse.jface.internal.text.html.HTMLTextPresenter


              HTMLPrinter.addPageEpilog(info);
              return info.toString();
            }
            };
        }
    return new DefaultInformationControl(parent, style, new HTMLTextPresenter(), EditorsUI.getTooltipAffordanceString());
  }
View Full Code Here


   * @since 3.3
   */
  private IInformationControlCreator getQuickAssistAssistantInformationControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, SWT.NONE, new HTMLTextPresenter(true));
      }
    };
  }
View Full Code Here

     * @see org.eclipse.jface.text.ITextHoverExtension#getHoverControlCreator()
     */
    public IInformationControlCreator getHoverControlCreator() {
      return new IInformationControlCreator() {
        public IInformationControl createInformationControl(Shell parent) {
          return new DefaultInformationControl(parent, SWT.NONE, new HTMLTextPresenter(true), EditorsUI.getTooltipAffordanceString());
        }
      };
    }
View Full Code Here

   
    IInformationControlCreator informationControlCreator= new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell shell) {
        boolean cutDown= false;
        int style= cutDown ? SWT.NONE : (SWT.V_SCROLL | SWT.H_SCROLL);
        return new DefaultInformationControl(shell, SWT.RESIZE | SWT.TOOL, style, new HTMLTextPresenter(cutDown));
      }
    };
   
    fInformationPresenter= new InformationPresenter(informationControlCreator);
    fInformationPresenter.setSizeConstraints(60, 10, true, true);
View Full Code Here

  }

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

   * @param parent
   */
  public void createPartControl(Composite parent) {
    Composite container = new Composite(parent, SWT.NONE);
    container.setLayout(new FillLayout());
    presenter = new HTMLTextPresenter(false);
    createStyledTextWidget(container);
    doStyledTextInput();
  }
View Full Code Here

        Group group1 = createGroup(rightPane, "Description");
        htmlControl = new StyledText(group1, SWT.READ_ONLY | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER | SWT.WRAP);
        presentation = new TextPresentation();
        htmlControl.setLayoutData(new GridData(GridData.FILL_BOTH));
        presenter = new HTMLTextPresenter(false);

        Group group2 = createGroup(rightPane, "Filtered pattern types and patterns");
        selectedIds = new Text(group2, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER | SWT.WRAP);

        selectedIds.setLayoutData(new GridData(GridData.FILL_BOTH));
View Full Code Here

  public IInformationControlCreator getHoverControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, SWT.NONE,
            new HTMLTextPresenter(true), EditorsUI
                .getTooltipAffordanceString());
      }
    };
  }
View Full Code Here

   * @since 3.4
   */
  public DefaultInformationControl(Shell parent, boolean isResizeable) {
    super(parent, isResizeable);
    fAdditionalTextStyles= isResizeable ? SWT.V_SCROLL | SWT.H_SCROLL : SWT.NONE;
    fPresenter= new HTMLTextPresenter(!isResizeable);
    create();
  }
View Full Code Here

   * @param parent the parent shell
   * @param statusFieldText the text to be used in the status field or <code>null</code> to hide the status field
   * @since 3.4
   */
  public DefaultInformationControl(Shell parent, String statusFieldText) {
    this(parent, statusFieldText, new HTMLTextPresenter(true));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.internal.text.html.HTMLTextPresenter

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.