com.google.gwt.gadgets.linker
Class GadgetLinker
java.lang.Object
com.google.gwt.core.ext.Linker
com.google.gwt.core.ext.linker.AbstractLinker
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
com.google.gwt.core.linker.XSLinker
com.google.gwt.gadgets.linker.GadgetLinker
public final class GadgetLinker
- extends com.google.gwt.core.linker.XSLinker
Finalizes the module manifest file with the selection script.
| Fields inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker |
FRAGMENT_EXTENSION, FRAGMENT_SUBDIR |
|
Method Summary |
protected com.google.gwt.core.ext.linker.EmittedArtifact |
emitSelectionScript(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.LinkerContext context,
com.google.gwt.core.ext.linker.ArtifactSet artifacts)
|
protected java.lang.String |
generateScriptInjector(java.lang.String scriptUrl)
|
protected java.lang.String |
generateSelectionScript(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.LinkerContext context,
com.google.gwt.core.ext.linker.ArtifactSet artifacts)
|
protected java.lang.String |
generateStylesheetInjector(java.lang.String stylesheetUrl)
|
java.lang.String |
getDescription()
|
protected java.lang.String |
getSelectionScriptTemplate(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.LinkerContext context)
|
com.google.gwt.core.ext.linker.ArtifactSet |
link(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.LinkerContext context,
com.google.gwt.core.ext.linker.ArtifactSet artifacts)
|
| Methods inherited from class com.google.gwt.core.linker.XSLinker |
doEmitCompilation, getCompilationExtension, getModulePrefix, getModuleSuffix |
| Methods inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker |
generatePrimaryFragment, generatePropertyProvider, getCompilationStrongName, getModulePrefix, isRelativeURL, replaceAll |
| Methods inherited from class com.google.gwt.core.ext.linker.AbstractLinker |
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName |
| Methods inherited from class com.google.gwt.core.ext.Linker |
relink |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GadgetLinker
public GadgetLinker()
getDescription
public java.lang.String getDescription()
- Overrides:
getDescription in class com.google.gwt.core.linker.XSLinker
link
public com.google.gwt.core.ext.linker.ArtifactSet link(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.LinkerContext context,
com.google.gwt.core.ext.linker.ArtifactSet artifacts)
throws com.google.gwt.core.ext.UnableToCompleteException
- Overrides:
link in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
emitSelectionScript
protected com.google.gwt.core.ext.linker.EmittedArtifact emitSelectionScript(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.LinkerContext context,
com.google.gwt.core.ext.linker.ArtifactSet artifacts)
throws com.google.gwt.core.ext.UnableToCompleteException
- Overrides:
emitSelectionScript in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
generateScriptInjector
protected java.lang.String generateScriptInjector(java.lang.String scriptUrl)
- Overrides:
generateScriptInjector in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
generateSelectionScript
protected java.lang.String generateSelectionScript(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.LinkerContext context,
com.google.gwt.core.ext.linker.ArtifactSet artifacts)
throws com.google.gwt.core.ext.UnableToCompleteException
- Overrides:
generateSelectionScript in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
generateStylesheetInjector
protected java.lang.String generateStylesheetInjector(java.lang.String stylesheetUrl)
- Overrides:
generateStylesheetInjector in class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
getSelectionScriptTemplate
protected java.lang.String getSelectionScriptTemplate(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.LinkerContext context)
- Overrides:
getSelectionScriptTemplate in class com.google.gwt.core.linker.XSLinker