org.eclipse.xtext.generator.exporting
Class SimpleNamesFragment

java.lang.Object
  extended by org.eclipse.xtext.generator.DefaultGeneratorFragment
      extended by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
All Implemented Interfaces:
IGeneratorFragment

public class SimpleNamesFragment
extends DefaultGeneratorFragment

An IGeneratorFragment to create simple name based scopes.

Author:
Sven Efftinge - Initial contribution and API, Sebastian Zarnekow

Constructor Summary
SimpleNamesFragment()
           
 
Method Summary
 java.util.Set<Binding> getGuiceBindingsRt(Grammar grammar)
          return a map containing the contributed guice bindings created in this generator fragment
 java.util.Set<Binding> getGuiceBindingsUi(Grammar grammar)
          return a map containing the contributed guice bindings for the ui part created in this generator fragment
 
Methods inherited from class org.eclipse.xtext.generator.DefaultGeneratorFragment
addToPluginXmlRt, addToPluginXmlUi, addToStandaloneSetup, checkConfiguration, generate, getExportedPackagesRt, getExportedPackagesUi, getImportedPackagesRt, getImportedPackagesUi, getRequiredBundlesRt, getRequiredBundlesUi
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNamesFragment

public SimpleNamesFragment()
Method Detail

getGuiceBindingsRt

public java.util.Set<Binding> getGuiceBindingsRt(Grammar grammar)
Description copied from interface: IGeneratorFragment
return a map containing the contributed guice bindings created in this generator fragment

Specified by:
getGuiceBindingsRt in interface IGeneratorFragment
Overrides:
getGuiceBindingsRt in class DefaultGeneratorFragment

getGuiceBindingsUi

public java.util.Set<Binding> getGuiceBindingsUi(Grammar grammar)
Description copied from interface: IGeneratorFragment
return a map containing the contributed guice bindings for the ui part created in this generator fragment

Specified by:
getGuiceBindingsUi in interface IGeneratorFragment
Overrides:
getGuiceBindingsUi in class DefaultGeneratorFragment