com.google.gwt.gadgets.linker
Class GadgetLinker

java.lang.Object
  extended by com.google.gwt.core.ext.Linker
      extended by com.google.gwt.core.ext.linker.AbstractLinker
          extended by com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
              extended by com.google.gwt.core.linker.CrossSiteIframeLinker
                  extended by com.google.gwt.gadgets.linker.GadgetLinker

public final class GadgetLinker
extends com.google.gwt.core.linker.CrossSiteIframeLinker

Finalizes the module manifest file with the selection script.


Field Summary
 
Fields inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
COMPUTE_SCRIPT_BASE_JS, FRAGMENT_EXTENSION, FRAGMENT_SUBDIR, permutationsUtil, PROCESS_METAS_JS
 
Constructor Summary
GadgetLinker()
           
 
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)
           
 java.lang.String getDescription()
           
protected  java.lang.String getJsComputeScriptBase(com.google.gwt.core.ext.LinkerContext context)
           
protected  java.lang.String getJsComputeUrlForResource(com.google.gwt.core.ext.LinkerContext context)
           
protected  java.lang.String getJsProcessMetas(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.CrossSiteIframeLinker
fillSelectionScriptTemplate, getCompilationExtension, getHostedFilename, getHostedFilenameFull, getJsInstallLocation, getJsInstallScript, getJsIsBodyLoaded, getJsLoadExternalStylesheets, getJsModuleFunctionErrorCatch, getJsPermutations, getJsProperties, getJsWaitForBodyLoaded, getModulePrefix, getModuleSuffix, getSelectionScriptTemplate, includeJs, maybeAddHostedModeFile, maybeOutputPropertyMap, shouldIncludeBootstrapInPrimaryFragment, shouldInstallCode, shouldOutputPropertyMap, shouldUseSelfForWindowAndDocument, wrapPrimaryFragment
 
Methods inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
doEmitCompilation, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getModulePrefix, link, readFileToStringBuffer, replaceAll, supportsDevModeInJunit
 
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
isShardable, relink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GadgetLinker

public GadgetLinker()
Method Detail

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class com.google.gwt.core.linker.CrossSiteIframeLinker

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

getJsComputeUrlForResource

protected java.lang.String getJsComputeUrlForResource(com.google.gwt.core.ext.LinkerContext context)
Overrides:
getJsComputeUrlForResource in class com.google.gwt.core.linker.CrossSiteIframeLinker

getJsComputeScriptBase

protected java.lang.String getJsComputeScriptBase(com.google.gwt.core.ext.LinkerContext context)
Overrides:
getJsComputeScriptBase in class com.google.gwt.core.linker.CrossSiteIframeLinker

getJsProcessMetas

protected java.lang.String getJsProcessMetas(com.google.gwt.core.ext.LinkerContext context)
Overrides:
getJsProcessMetas in class com.google.gwt.core.linker.CrossSiteIframeLinker