Example usage for com.google.gwt.resources.rebind.context InlineClientBundleGenerator generate

List of usage examples for com.google.gwt.resources.rebind.context InlineClientBundleGenerator generate

Introduction

In this page you can find the example usage for com.google.gwt.resources.rebind.context InlineClientBundleGenerator generate.

Prototype

@Override
public String generate(TreeLogger logger, GeneratorContext context, String typeName)
        throws UnableToCompleteException 

Source Link

Document

A default implementation of the abstract method defined in the base Generator class.

Usage

From source file:org.parallax3d.parallax.platforms.gwt.generator.SourceBundleFactoryGenerator.java

License:Open Source License

private String generateStaticInstance(TypeOracle oracle, TreeLogger logger, GeneratorContext context,
        JClassType classtype) throws UnableToCompleteException {
    if (checkImplementedInterface(oracle, classtype.getImplementedInterfaces())) {
        String fullName = classtype.getQualifiedSourceName();

        InlineClientBundleGenerator gen = new InlineClientBundleGenerator();

        return gen.generate(logger, context, fullName);
    }//from  w w  w  .  j  a va 2s  .co m

    return null;
}