Exemplo n.º 1
0
 private String generateFontFaceRuleSourceName() {
   String genFileName;
   String genDir = configuration.getGeneratedDirectory();
   if (genDir != null) {
     genFileName = genDir + File.separatorChar + "_FontFaceRules.as";
   } else {
     genFileName = "_FontFaceRules.as";
   }
   return genFileName;
 }
Exemplo n.º 2
0
  private String generateStyleSourceName(StyleDef styleDef) {
    String genFileName;
    String genDir = configuration.getGeneratedDirectory();
    if (genDir != null) {
      genFileName = genDir + File.separatorChar + "_" + styleDef.getName() + "Style.as";
    } else {
      genFileName = "_" + styleDef.getName() + "Style.as";
    }

    return genFileName;
  }