Exemplo n.º 1
0
 private TextBlock createTextBloc() {
   final UFont font = skinParam.getFont(FontParam.PACKAGE, null);
   final HtmlColor textColor = skinParam.getFontHtmlColor(FontParam.PACKAGE, null);
   final TextBlock bloc =
       TextBlockUtils.create(
           name, new FontConfiguration(font, textColor), HorizontalAlignement.LEFT);
   return bloc;
 }
Exemplo n.º 2
0
 protected final HtmlColor getFontColor(FontParam fontParam, Stereotype stereo) {
   final String s = stereo == null ? null : stereo.getLabel();
   return skinParam.getFontHtmlColor(fontParam, s);
 }
 private final HtmlColor getFontColor(FontParam fontParam, Stereotype stereo) {
   final ISkinParam skinParam = diagram.getSkinParam();
   return skinParam.getFontHtmlColor(fontParam, stereo);
 }