org.eclipse.emf.ecore.xcore.generator
Class XcoreGenModelGeneratorAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.emf.codegen.ecore.genmodel.util.GenModelAdapterFactory
org.eclipse.emf.codegen.ecore.genmodel.generator.GenModelGeneratorAdapterFactory
org.eclipse.emf.ecore.xcore.generator.XcoreGenModelGeneratorAdapterFactory
- All Implemented Interfaces:
- GeneratorAdapterFactory, AdapterFactory
public class XcoreGenModelGeneratorAdapterFactory
- extends GenModelGeneratorAdapterFactory
Nested Class Summary |
static interface |
XcoreGenModelGeneratorAdapterFactory.FileSystemReadAccess
An interface implemented by a derived IFileSystemAccess implementation
so that the callback can be informed about resources that aren't regenerated
because the result would be identical to the current contents. |
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.util.GenModelAdapterFactory |
createAdapter, createEObjectAdapter, createGenAnnotationAdapter, createGenBaseAdapter, createGenClassifierAdapter, createGenDataTypeAdapter, createGenEnumLiteralAdapter, createGenFeatureAdapter, createGenOperationAdapter, createGenParameterAdapter, createGenTypedElementAdapter, createGenTypeParameterAdapter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XcoreGenModelGeneratorAdapterFactory
public XcoreGenModelGeneratorAdapterFactory()
setFileSystemAccess
public void setFileSystemAccess(org.eclipse.xtext.generator.IFileSystemAccess fsa)
setModelDirectory
public void setModelDirectory(URI modelDirectory)
createOutputStream
protected java.io.OutputStream createOutputStream(URI workspacePath)
inputStreamRequest
protected void inputStreamRequest(URI workspacePath)
createGenModelAdapter
public Adapter createGenModelAdapter()
- Returns a singleton
GenModelGeneratorAdapter
.
- Overrides:
createGenModelAdapter
in class GenModelGeneratorAdapterFactory
- Returns:
- the new adapter.
- See Also:
GenModel
createGenPackageAdapter
public Adapter createGenPackageAdapter()
- Returns a singleton
GenPackageGeneratorAdapter
.
- Overrides:
createGenPackageAdapter
in class GenModelGeneratorAdapterFactory
- Returns:
- the new adapter.
- See Also:
GenPackage
createGenClassAdapter
public Adapter createGenClassAdapter()
- Returns a singleton
GenClassGeneratorAdapter
.
- Overrides:
createGenClassAdapter
in class GenModelGeneratorAdapterFactory
- Returns:
- the new adapter.
- See Also:
GenClass
createGenEnumAdapter
public Adapter createGenEnumAdapter()
- Returns a singleton
GenEnumGeneratorAdapter
.
- Overrides:
createGenEnumAdapter
in class GenModelGeneratorAdapterFactory
- Returns:
- the new adapter.
- See Also:
GenEnum