Examples of HTMLTextPresenter


Examples of org.eclipse.dltk.internal.ui.text.HTMLTextPresenter

          if (BrowserInformationControl.isAvailable(parent))
            return new BrowserInformationControl(parent,
                JFaceResources.DIALOG_FONT, true);
          else
            return new DefaultInformationControl(parent,
                new HTMLTextPresenter(false));
        }
      };
    }
    return fPresenterControlCreator;
  }
View Full Code Here

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

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

   * @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

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

     * @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

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

   
    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

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

  }

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

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

   * @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

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

        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

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

  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

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

   * @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
TOP
Copyright © 2018 www.massapi.com. 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.