Uses of Interface
com.google.gwt.resources.ext.ResourceContext
Package
Description
This package contains extension hooks for adding new resource types to
ClientBundle.
-
Uses of ResourceContext in com.google.gwt.resources.ext
Modifier and TypeMethodDescriptionabstract String
AbstractResourceGenerator.createAssignment
(TreeLogger logger, ResourceContext context, JMethod method) 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.void
AbstractResourceGenerator.createFields
(TreeLogger logger, ResourceContext context, ClientBundleFields fields) A no-op implementation.void
ResourceGenerator.createFields
(TreeLogger logger, ResourceContext context, ClientBundleFields fields) The ResourceGenerator can create fields within the implementation of the bundle type.static URL[]
ResourceGeneratorUtil.findResources
(TreeLogger logger, ResourceContext context, JMethod method) Find all resources referenced by a method in a bundle.static URL[]
ResourceGeneratorUtil.findResources
(TreeLogger logger, ResourceContext context, JMethod method, String[] defaultSuffixes) Find all resources referenced by a method in a bundle.void
AbstractResourceGenerator.finish
(TreeLogger logger, ResourceContext context) A no-op implementation.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.init
(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.prepare
(TreeLogger logger, ResourceContext context, ClientBundleRequirements requirements, JMethod method) 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.static URL
ResourceGeneratorUtil.tryFindResource
(TreeLogger logger, GeneratorContext genContext, ResourceContext resourceContext, String resourceName) Try to find a resource with the given resourceName. -
Uses of ResourceContext in com.google.gwt.resources.gss
Modifier and TypeMethodDescriptionImageSpriteCreator.MethodByPathHelper.getMethodByPath
(ResourceContext context, List<String> pathElements, JType expectedReturnType) ResourceUrlFunction.MethodByPathHelper.getReturnType
(ResourceContext context, List<String> pathElements) ModifierConstructorDescriptionGwtGssFunctionMapProvider
(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) (package private)
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) (package private)
ResourceUrlFunction
(ResourceContext context, ResourceUrlFunction.MethodByPathHelper methodByPathHelper)