org.eclipse.xtext.generator
Class ImplicitRuntimeFragment

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

public class ImplicitRuntimeFragment
extends DefaultGeneratorFragment


Constructor Summary
ImplicitRuntimeFragment()
           
 
Method Summary
 void addToPluginXmlRt(Grammar grammar, org.eclipse.xpand2.XpandExecutionContext ctx)
          Used to add code to the plugin.xml of the runtime bundle.
 java.lang.String[] getImportedPackagesRt(Grammar grammar)
          return the imported packages for the runtime bundle
 java.lang.String[] getRequiredBundlesRt(Grammar grammar)
          return the bundles this fragment requires at runtime
 
Methods inherited from class org.eclipse.xtext.generator.DefaultGeneratorFragment
addToPluginXmlUi, addToStandaloneSetup, checkConfiguration, generate, getExportedPackagesRt, getExportedPackagesUi, getGuiceBindingsRt, getGuiceBindingsUi, getImportedPackagesUi, getRequiredBundlesUi
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplicitRuntimeFragment

public ImplicitRuntimeFragment()
Method Detail

getRequiredBundlesRt

public java.lang.String[] getRequiredBundlesRt(Grammar grammar)
Description copied from interface: IGeneratorFragment
return the bundles this fragment requires at runtime

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

getImportedPackagesRt

public java.lang.String[] getImportedPackagesRt(Grammar grammar)
Description copied from interface: IGeneratorFragment
return the imported packages for the runtime bundle

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

addToPluginXmlRt

public void addToPluginXmlRt(Grammar grammar,
                             org.eclipse.xpand2.XpandExecutionContext ctx)
Description copied from interface: IGeneratorFragment
Used to add code to the plugin.xml of the runtime bundle. The surrounding tags are added automatically

Specified by:
addToPluginXmlRt in interface IGeneratorFragment
Overrides:
addToPluginXmlRt in class DefaultGeneratorFragment
ctx - - the execution context to use (the plugin.xml file is already opened)