Package org.eclipse.xtext.ui.editor.utils

Examples of org.eclipse.xtext.ui.editor.utils.TextStyle


    };
    return ObjectExtensions.<TextStyle>operator_doubleArrow(_copy, _function);
  }
 
  public TextStyle staticEscape() {
    TextStyle _defaultTextStyle = this.defaultTextStyle();
    TextStyle _copy = _defaultTextStyle.copy();
    final Procedure1<TextStyle> _function = new Procedure1<TextStyle>() {
      public void apply(final TextStyle it) {
        RGB _rGB = new RGB(180, 180, 180);
        it.setColor(_rGB);
        RGB _rGB_1 = new RGB(230, 230, 230);
View Full Code Here


  }

 

  public TextStyle project3DoneTextStyle() {
    TextStyle textStyle = project3TextStyle().copy();
    strikethrough(textStyle);
    return textStyle;
  }
View Full Code Here

  }



  public TextStyle project2DoneTextStyle() {
    TextStyle textStyle = project2TextStyle().copy();
    strikethrough(textStyle);
    return textStyle;
  }
View Full Code Here

  }



  public TextStyle project1DoneTextStyle() {
    TextStyle textStyle = project1TextStyle().copy();
    strikethrough(textStyle);
    return textStyle;
  }
View Full Code Here

  }



  public TextStyle taskUrlTextStyle() {
    TextStyle textStyle = taskOpenTextStyle().copy();
    textStyle.setStyle(TextAttribute.UNDERLINE);
    return textStyle;
  }
View Full Code Here

    textStyle.setStyle(TextAttribute.UNDERLINE);
    return textStyle;
  }

  public TextStyle taskOpenTextStyle() {
    TextStyle textStyle = defaultTextStyle().copy();
    return textStyle;
  }
View Full Code Here

    textStyle.setStyle(TextAttribute.STRIKETHROUGH);
    return textStyle;
  }

  public TextStyle project3TextStyle() {
    TextStyle textStyle = defaultTextStyle().copy();
    textStyle.setFontData(fontWithHeight(DEFAULT_FONT_SIZE + 1));
    return textStyle;
  }
View Full Code Here

    textStyle.setFontData(fontWithHeight(DEFAULT_FONT_SIZE + 1));
    return textStyle;
  }

  public TextStyle project2TextStyle() {
    TextStyle textStyle = defaultTextStyle().copy();
    textStyle.setFontData(fontWithHeight(DEFAULT_FONT_SIZE + 2));
    return textStyle;
  }
View Full Code Here

    textStyle.setFontData(fontWithHeight(DEFAULT_FONT_SIZE + 2));
    return textStyle;
  }

  public TextStyle project1TextStyle() {
    TextStyle textStyle = defaultTextStyle().copy();
    textStyle.setFontData(fontWithHeight(DEFAULT_FONT_SIZE + 3));
    return textStyle;
  }
View Full Code Here

  protected FontData fontWithHeight(int height) {
    return new FontData(JFaceResources.HEADER_FONT, height, SWT.BOLD);
  }

  public TextStyle noteUrlTextStyle() {
    TextStyle textStyle = nodeTextStyle().copy();
    textStyle.setStyle(TextAttribute.UNDERLINE);
    return textStyle;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.ui.editor.utils.TextStyle

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.