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. |
getParameters
addToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToStandaloneSetup, getNaming, getTemplate, readFileIntoString, registerNaming, writeStringIntoFile
addToPluginXmlRt, addToPluginXmlUi, addToStandaloneSetup, checkConfiguration, generate, getExportedPackagesRt, getExportedPackagesTests, getExportedPackagesUi, getGuiceBindingsRt, getImportedPackagesRt, getImportedPackagesTests, getImportedPackagesUi, getRequiredBundlesRt, getRequiredBundlesTests
public void generate(Grammar grammar, org.eclipse.xpand2.XpandExecutionContext ctx)
IGeneratorFragment
generate
in interface IGeneratorFragment
generate
in class AbstractGeneratorFragment
ctx
- - the execution context to usepublic java.util.Set<Binding> getGuiceBindingsUi(Grammar grammar)
IGeneratorFragment
getGuiceBindingsUi
in interface IGeneratorFragment
getGuiceBindingsUi
in class DefaultGeneratorFragment
public java.lang.String[] getRequiredBundlesUi(Grammar grammar)
IGeneratorFragment
getRequiredBundlesUi
in interface IGeneratorFragment
getRequiredBundlesUi
in class DefaultGeneratorFragment
public void setFileExtensions(java.lang.String fileExtensions)
ResourceFactoryFragment
Resource.Factory
should be registered
to.setFileExtensions
in class ResourceFactoryFragment