|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.xtext.generator.DefaultGeneratorFragment
org.eclipse.xtext.generator.AbstractGeneratorFragment
org.eclipse.xtext.generator.resourceFactory.ResourceFactoryFragment
org.eclipse.xtext.ui.generator.compare.CompareFragment
public class CompareFragment
| Constructor Summary | |
|---|---|
CompareFragment()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.xtext.generator.resourceFactory.ResourceFactoryFragment |
|---|
getParameters |
| Methods inherited from class org.eclipse.xtext.generator.AbstractGeneratorFragment |
|---|
addToPluginXmlRt, addToPluginXmlUi, addToStandaloneSetup, getExportedPackagesRt, getExportedPackagesUi, getGuiceBindingsRt, getNaming, getRequiredBundlesRt, getTemplate, registerNaming |
| Methods inherited from class org.eclipse.xtext.generator.DefaultGeneratorFragment |
|---|
checkConfiguration, getImportedPackagesRt, getImportedPackagesUi |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompareFragment()
| Method Detail |
|---|
public void generate(Grammar grammar,
org.eclipse.xpand2.XpandExecutionContext ctx)
IGeneratorFragment
generate in interface IGeneratorFragmentgenerate in class AbstractGeneratorFragmentctx - - the execution context to usepublic java.util.Set<Binding> getGuiceBindingsUi(Grammar grammar)
IGeneratorFragment
getGuiceBindingsUi in interface IGeneratorFragmentgetGuiceBindingsUi in class AbstractGeneratorFragmentpublic java.lang.String[] getRequiredBundlesUi(Grammar grammar)
IGeneratorFragment
getRequiredBundlesUi in interface IGeneratorFragmentgetRequiredBundlesUi in class AbstractGeneratorFragmentpublic void setFileExtensions(java.lang.String fileExtensions)
ResourceFactoryFragmentResource.Factory should be registered
to.
setFileExtensions in class ResourceFactoryFragment
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||