| java.lang.Object com.google.gwt.dev.util.SelectionScriptGenerator
Method Summary | |
public String | generateSelectionScript(boolean obfuscate, boolean asScript) Generates a selection script based on the current settings. | public void | recordSelection(String[] values, String strongName) Records a mapping from a unique set of client property values onto a strong
name (that is, a compilation). |
SelectionScriptGenerator | public SelectionScriptGenerator(ModuleDef moduleDef)(Code) | | A constructor for creating a selection script that will work only in hosted
mode.
Parameters: moduleDef - the module for which the selection script will begenerated |
SelectionScriptGenerator | public SelectionScriptGenerator(ModuleDef moduleDef, Property[] props)(Code) | | A constructor for creating a selection script that will work in either
hosted or web mode.
Parameters: moduleDef - the module for which the selection script will begenerated Parameters: props - the module's property objects, arranged in the same order inwhich sets of property values should be interpreted by theSelectionScriptGenerator.recordSelection(String[],String) method |
generateSelectionScript | public String generateSelectionScript(boolean obfuscate, boolean asScript)(Code) | | Generates a selection script based on the current settings.
an JavaScript whose contents are the definition of a module.js file |
recordSelection | public void recordSelection(String[] values, String strongName)(Code) | | Records a mapping from a unique set of client property values onto a strong
name (that is, a compilation).
Parameters: values - a set of client property values ordered such that the i'thvalue corresponds with the i'th property in SelectionScriptGenerator.props Parameters: strongName - the base name of a compiled .cache.html file |
|
|