public class CompareFragment extends ResourceFactoryFragment
| Constructor and Description |
|---|
CompareFragment() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(Grammar grammar,
org.eclipse.xpand2.XpandExecutionContext ctx)
can be used to generate whatever necessary
|
java.util.Set<Binding> |
getGuiceBindingsUi(Grammar grammar)
return a map containing the contributed guice bindings for the ui part created in this generator fragment
|
java.lang.String[] |
getRequiredBundlesUi(Grammar grammar)
return the bundles this fragment requires in ui
|
void |
setFileExtensions(java.lang.String fileExtensions)
Sets the fileExtension the generated
Resource.Factory should be registered
to. |
getParametersaddToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToStandaloneSetup, getNaming, getTemplate, readFileIntoString, registerNaming, writeStringIntoFileaddToPluginXmlRt, addToPluginXmlUi, addToStandaloneSetup, checkConfiguration, generate, getExportedPackagesRt, getExportedPackagesTests, getExportedPackagesUi, getGuiceBindingsRt, getImportedPackagesRt, getImportedPackagesTests, getImportedPackagesUi, getRequiredBundlesRt, getRequiredBundlesTestspublic void generate(Grammar grammar, org.eclipse.xpand2.XpandExecutionContext ctx)
IGeneratorFragmentgenerate in interface IGeneratorFragmentgenerate in class AbstractGeneratorFragmentctx - - the execution context to usepublic java.util.Set<Binding> getGuiceBindingsUi(Grammar grammar)
IGeneratorFragmentgetGuiceBindingsUi in interface IGeneratorFragmentgetGuiceBindingsUi in class DefaultGeneratorFragmentpublic java.lang.String[] getRequiredBundlesUi(Grammar grammar)
IGeneratorFragmentgetRequiredBundlesUi in interface IGeneratorFragmentgetRequiredBundlesUi in class DefaultGeneratorFragmentpublic void setFileExtensions(java.lang.String fileExtensions)
ResourceFactoryFragmentResource.Factory should be registered
to.setFileExtensions in class ResourceFactoryFragment