|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 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 AbstractGeneratorFragment
public java.lang.String[] getRequiredBundlesUi(Grammar grammar)
IGeneratorFragment
getRequiredBundlesUi
in interface IGeneratorFragment
getRequiredBundlesUi
in class AbstractGeneratorFragment
public void setFileExtensions(java.lang.String fileExtensions)
ResourceFactoryFragment
Resource.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 |