Package com.google.gwt.angular.client

Examples of com.google.gwt.angular.client.NgDirective


  public static void generateDirectives(GeneratorContext context, SourceWriter sw,
      Class<?> clazz) {
    // class of a directive
    JClassType dType = context.getTypeOracle().findType(clazz.getName());
    NgDirective ngDirective = dType.getAnnotation(NgDirective.class);
      // a method annotated as directive
      if (ngDirective != null ) {
        sw.print("module.directive('" + ngDirective.value() + "',[ ");
        generateSingleDirective(sw, dType,ngDirective);
        sw.println("]);");
      }
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.angular.client.NgDirective

Copyright © 2018 www.massapicom. 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.