Examples of FontStyle


Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshUnderline() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null && getFigure() instanceof WrappingLabel) {
      ((WrappingLabel) getFigure()).setTextUnderline(style.isUnderline());
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshStrikeThrough() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null && getFigure() instanceof WrappingLabel) {
      ((WrappingLabel) getFigure()).setTextStrikeThrough(style
          .isStrikeThrough());
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshFont() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null) {
      FontData fontData = new FontData(style.getFontName(), style
          .getFontHeight(), (style.isBold() ? SWT.BOLD : SWT.NORMAL)
          | (style.isItalic() ? SWT.ITALIC : SWT.NORMAL));
      setFont(fontData);
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshUnderline() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null && getFigure() instanceof WrappingLabel) {
      ((WrappingLabel) getFigure()).setTextUnderline(style.isUnderline());
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshStrikeThrough() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null && getFigure() instanceof WrappingLabel) {
      ((WrappingLabel) getFigure()).setTextStrikeThrough(style
          .isStrikeThrough());
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshFont() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null) {
      FontData fontData = new FontData(style.getFontName(), style
          .getFontHeight(), (style.isBold() ? SWT.BOLD : SWT.NORMAL)
          | (style.isItalic() ? SWT.ITALIC : SWT.NORMAL));
      setFont(fontData);
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshUnderline() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null && getFigure() instanceof WrappingLabel) {
      ((WrappingLabel) getFigure()).setTextUnderline(style.isUnderline());
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshStrikeThrough() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null && getFigure() instanceof WrappingLabel) {
      ((WrappingLabel) getFigure()).setTextStrikeThrough(style
          .isStrikeThrough());
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshFont() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null) {
      FontData fontData = new FontData(style.getFontName(), style
          .getFontHeight(), (style.isBold() ? SWT.BOLD : SWT.NORMAL)
          | (style.isItalic() ? SWT.ITALIC : SWT.NORMAL));
      setFont(fontData);
    }
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.notation.FontStyle

  /**
   * @generated
   */
  protected void refreshUnderline() {
    FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
        NotationPackage.eINSTANCE.getFontStyle());
    if (style != null && getFigure() instanceof WrappingLabel) {
      ((WrappingLabel) getFigure()).setTextUnderline(style.isUnderline());
    }
  }
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.