org.eclipse.xtext.ui.label
Class StylerFactory.DefaultFontStyler

java.lang.Object
  extended by org.eclipse.jface.viewers.StyledString.Styler
      extended by org.eclipse.xtext.ui.label.StylerFactory.DefaultFontStyler
Enclosing class:
StylerFactory

protected static class StylerFactory.DefaultFontStyler
extends org.eclipse.jface.viewers.StyledString.Styler


Constructor Summary
StylerFactory.DefaultFontStyler(org.eclipse.jface.resource.FontDescriptor fontDescriptor, java.lang.String foregroundColorName, java.lang.String backgroundColorName)
           
 
Method Summary
 void applyStyles(org.eclipse.swt.graphics.TextStyle textStyle)
          Applies the styles represented by this object to the given textStyle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StylerFactory.DefaultFontStyler

public StylerFactory.DefaultFontStyler(org.eclipse.jface.resource.FontDescriptor fontDescriptor,
                                       java.lang.String foregroundColorName,
                                       java.lang.String backgroundColorName)
Method Detail

applyStyles

public void applyStyles(org.eclipse.swt.graphics.TextStyle textStyle)
Description copied from class: org.eclipse.jface.viewers.StyledString.Styler
Applies the styles represented by this object to the given textStyle.

Specified by:
applyStyles in class org.eclipse.jface.viewers.StyledString.Styler
Parameters:
textStyle - the TextStyle to modify