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

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

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


Constructor Summary
StylerFactory.XtextStyleAdapterStyler(TextStyle textStyle)
           
 
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.XtextStyleAdapterStyler

public StylerFactory.XtextStyleAdapterStyler(TextStyle textStyle)
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