Package com.google.gwt.gadgets.client.Gadget

Examples of com.google.gwt.gadgets.client.Gadget.UseLongManifestName


    return result.toArray(new GadgetViewType[0]);
  }

  static boolean useLongManifestName(TreeLogger logger, TypeOracle typeOracle,
      JClassType extendsGadget) {
    UseLongManifestName annotation = extendsGadget.getAnnotation(Gadget.UseLongManifestName.class);
    if (annotation == null) {
      logger.log(TreeLogger.WARN, "Gadget class " + extendsGadget.getName()
          + " is missing @UseLongManifestName annotation.  "
          + "Using short names will become the default in the future.");
      return true;
    }
    return annotation.value();
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.gadgets.client.Gadget.UseLongManifestName

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.