Package | Description |
---|---|
com.google.gwt.resources.ext |
This package contains extension hooks for adding new resource types to
ClientBundle.
|
com.google.gwt.resources.gss |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method)
Produce the right-hand-side of a Java assignment expression to provide the
singleton instance object for a particular resource.
|
abstract java.lang.String |
AbstractResourceGenerator.createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method) |
void |
ResourceGenerator.createFields(TreeLogger logger,
ResourceContext context,
ClientBundleFields fields)
The ResourceGenerator can create fields within the implementation of the
bundle type.
|
void |
AbstractResourceGenerator.createFields(TreeLogger logger,
ResourceContext context,
ClientBundleFields fields)
A no-op implementation.
|
static java.net.URL[] |
ResourceGeneratorUtil.findResources(TreeLogger logger,
ResourceContext context,
JMethod method)
Find all resources referenced by a method in a bundle.
|
static java.net.URL[] |
ResourceGeneratorUtil.findResources(TreeLogger logger,
ResourceContext context,
JMethod method,
java.lang.String[] defaultSuffixes)
Find all resources referenced by a method in a bundle.
|
void |
ResourceGenerator.finish(TreeLogger logger,
ResourceContext context)
Called at the end of the resource generation phase and can be used to
perform cleanup.
|
void |
AbstractResourceGenerator.finish(TreeLogger logger,
ResourceContext context)
A no-op implementation.
|
void |
ResourceGenerator.init(TreeLogger logger,
ResourceContext context)
Initialize the ResourceGenerator with the generation context that will
remain valid for the duration of the resource-generation phase.
|
void |
AbstractResourceGenerator.init(TreeLogger logger,
ResourceContext context)
A no-op implementation.
|
void |
ResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
Called once for each method the ResourceGenerator is expected to handle.
|
void |
AbstractResourceGenerator.prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
A no-op implementation.
|
static java.net.URL |
ResourceGeneratorUtil.tryFindResource(TreeLogger logger,
GeneratorContext genContext,
ResourceContext resourceContext,
java.lang.String resourceName)
Try to find a resource with the given resourceName.
|
Modifier and Type | Method and Description |
---|---|
JMethod |
ImageSpriteCreator.MethodByPathHelper.getMethodByPath(ResourceContext context,
java.util.List<java.lang.String> pathElements,
JType expectedReturnType) |
JType |
ResourceUrlFunction.MethodByPathHelper.getReturnType(ResourceContext context,
java.util.List<java.lang.String> pathElements) |
Constructor and Description |
---|
GwtGssFunctionMapProvider(ResourceContext context) |
ImageSpriteCreator(com.google.gwt.thirdparty.common.css.compiler.ast.MutatingVisitController visitController,
ResourceContext context,
com.google.gwt.thirdparty.common.css.compiler.ast.ErrorManager errorManager) |
ImageSpriteCreator(com.google.gwt.thirdparty.common.css.compiler.ast.MutatingVisitController visitController,
ResourceContext context,
com.google.gwt.thirdparty.common.css.compiler.ast.ErrorManager errorManager,
ImageSpriteCreator.MethodByPathHelper methodByPathHelper) |
ResourceUrlFunction(ResourceContext context) |
ResourceUrlFunction(ResourceContext context,
ResourceUrlFunction.MethodByPathHelper methodByPathHelper) |