com.google.gwt.libideas.resources.rg
Class SoundResourceGenerator
java.lang.Object
com.google.gwt.libideas.resources.rebind.ResourceGenerator
com.google.gwt.libideas.resources.rg.SoundResourceGenerator
public class SoundResourceGenerator
- extends ResourceGenerator
Creates implementations of SoundResources.
Method Summary |
void |
init(com.google.gwt.core.ext.TreeLogger logger,
ResourceContext context)
|
void |
prepare(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JMethod method)
Get the resource attached to a method and assimilate it. |
void |
writeAssignment(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JMethod method)
Create instances of SoundResourcePrototype . |
void |
writeFields(com.google.gwt.core.ext.TreeLogger logger)
Save the plugins's Element in a class field. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundResourceGenerator
public SoundResourceGenerator()
init
public void init(com.google.gwt.core.ext.TreeLogger logger,
ResourceContext context)
throws com.google.gwt.core.ext.UnableToCompleteException
- Specified by:
init
in class ResourceGenerator
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
prepare
public void prepare(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JMethod method)
throws com.google.gwt.core.ext.UnableToCompleteException
- Get the resource attached to a method and assimilate it.
- Overrides:
prepare
in class ResourceGenerator
- Parameters:
logger
- the TreeLogger to use when recording events for the method
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
writeAssignment
public void writeAssignment(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JMethod method)
throws com.google.gwt.core.ext.UnableToCompleteException
- Create instances of
SoundResourcePrototype
.
- Specified by:
writeAssignment
in class ResourceGenerator
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
writeFields
public void writeFields(com.google.gwt.core.ext.TreeLogger logger)
throws com.google.gwt.core.ext.UnableToCompleteException
- Save the plugins's Element in a class field.
- Overrides:
writeFields
in class ResourceGenerator
- Parameters:
logger
- the TreeLogger to use when recording events for the method
- Throws:
com.google.gwt.core.ext.UnableToCompleteException