Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.StyledText


  public LogsTab(Composite shell) {
    super(shell);
   
    setLayout(new FillLayout());
   
    log_content = new StyledText(this,SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER | SWT.READ_ONLY);
    log_content.setEditable(false);
    log_content.setBackground(SWTThread.getDisplay().getSystemColor(SWT.COLOR_WHITE));
   
    popup_menu = new Menu(log_content);
   
View Full Code Here


    Group changelog_group = new Group(shell,SWT.NONE);
    changelog_group.setLayout(new FillLayout());
    changelog_group.setLayoutData(new GridData(GridData.FILL_BOTH));
    changelog_group.setText(_._("updaterwindow.group.changelog"));
   
    changelog_text = new StyledText(changelog_group,SWT.H_SCROLL | SWT.V_SCROLL);
    changelog_text.setEditable(false);
    Font font_changelog = new Font(SWTThread.getDisplay(),"Courier",10,SWT.NONE );
    changelog_text.setFont(font_changelog);
   
    Composite button_bar = new Composite(shell,SWT.NONE);
View Full Code Here

    Composite updateInfoContainer = new Composite(composite, SWT.BORDER);
    updateInfoContainer.setLayout(LayoutUtils.createGridLayout(2, 5, 5, 0, 5, false));
    updateInfoContainer.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
    updateInfoContainer.setBackground(composite.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));

    fUpdateInfoTextLeft = new StyledText(updateInfoContainer, SWT.READ_ONLY | SWT.MULTI | SWT.WRAP);
    fUpdateInfoTextLeft.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
    fUpdateInfoTextLeft.setLineSpacing(5);
    fUpdateInfoTextLeft.setEnabled(false);
    fUpdateInfoTextLeft.setBackground(composite.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));

    fUpdateInfoTextRight = new StyledText(updateInfoContainer, SWT.READ_ONLY | SWT.MULTI | SWT.WRAP);
    fUpdateInfoTextRight.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
    fUpdateInfoTextRight.setLineSpacing(5);
    fUpdateInfoTextRight.setEnabled(false);
    fUpdateInfoTextRight.setBackground(composite.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));

    fUpdateInfoTextBottom = new StyledText(updateInfoContainer, SWT.READ_ONLY | SWT.MULTI | SWT.WRAP);
    fUpdateInfoTextBottom.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
    ((GridData) fUpdateInfoTextBottom.getLayoutData()).widthHint = 300;
    fUpdateInfoTextBottom.setLineSpacing(5);
    fUpdateInfoTextBottom.setEnabled(false);
    fUpdateInfoTextBottom.setBackground(composite.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
View Full Code Here

        break;
    }
  }

  private void createIntroPage(Composite container) {
    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_WELCOME_TEXT, text);
  }
View Full Code Here

    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_WELCOME_TEXT, text);
  }

  private void createOverviewPage(Composite container) {
    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_LAYOUT_TEXT, text);
  }
View Full Code Here

    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_LAYOUT_TEXT, text);
  }

  private void createNewsPage(Composite container) {
    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_NEWS_TEXT, text);
  }
View Full Code Here

    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_NEWS_TEXT, text);
  }

  private void createSavedSearchPage(Composite container) {
    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_SAVED_SEARCHES_TEXT, text);
  }
View Full Code Here

    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_SAVED_SEARCHES_TEXT, text);
  }

  private void createNewsBinPage(Composite container) {
    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_NEWS_BIN_TEXT, text);
  }
View Full Code Here

    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_NEWS_BIN_TEXT, text);
  }

  private void createNewsFilterPage(Composite container) {
    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_NEWS_FILTER_TEXT, text);
  }
View Full Code Here

    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_NEWS_FILTER_TEXT, text);
  }

  private void createNotificationsPage(Composite container) {
    StyledText text = createStyledText(container);
    applyRichText(Messages.TutorialPage_NOTIFIER_TEXT, text);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.swt.custom.StyledText

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.