|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.converter.ModelConverter
org.eclipse.emf.exporter.ModelExporter
org.eclipse.emf.ecore.xcore.exporter.XcoreExporter
public class XcoreExporter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.exporter.ModelExporter |
|---|
ModelExporter.EPackageExportInfo, ModelExporter.ExportData, ModelExporter.GenPackagesTreeIterator, ModelExporter.ReferencedGenPackageExportInfo |
| Nested classes/interfaces inherited from class org.eclipse.emf.converter.ModelConverter |
|---|
ModelConverter.EPackageConvertInfo, ModelConverter.ReferencedEPackageFilter, ModelConverter.ReferencedGenPackageConvertInfo |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.exporter.ModelExporter |
|---|
directoryURI, ePackageToGenPackageMap, GENANNOTATION_KEY_DIRECTORY_URI, GENANNOTATION_SOURCE_PREFIX, GENANNOTATION_SOURCE_SELECTED_EPACKAGES, GENANNOTATION_SOURCE_SELECTED_REFERENCES, genBaseToDetailsMap, saveEPackageArtifactURI, saveExporter |
| Fields inherited from class org.eclipse.emf.converter.ModelConverter |
|---|
ePackages, ePackageToInfoMap, externalGenModelList, externalGenModelResourceSet, genModel, referencedEPackageFilter, referencedEPackageFilterToConvert, referencedGenPackages, referencedGenPackageToInfoMap |
| Constructor Summary | |
|---|---|
XcoreExporter()
|
|
| Method Summary | |
|---|---|
protected void |
adjustGenModel()
|
void |
dispose()
|
protected java.lang.String |
doCheckEPackageArtifactLocation(java.lang.String location,
java.lang.String packageName)
|
protected Diagnostic |
doExport(Monitor monitor,
ModelExporter.ExportData exportData)
Subclasses should overwrite this method, adding the code that performs the actions required to export the model. |
protected java.lang.String |
getDefaultArtifactLocation(EPackage ePackage)
|
java.lang.String |
getID()
|
protected URI |
getReferencedGenPackageArtifactURI(ModelExporter.ExportData exportData,
GenPackage genPackage)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XcoreExporter()
| Method Detail |
|---|
public java.lang.String getID()
getID in class ModelConverterpublic void dispose()
dispose in class ModelExporterprotected java.lang.String getDefaultArtifactLocation(EPackage ePackage)
getDefaultArtifactLocation in class ModelExporter
protected java.lang.String doCheckEPackageArtifactLocation(java.lang.String location,
java.lang.String packageName)
doCheckEPackageArtifactLocation in class ModelExporter
protected Diagnostic doExport(Monitor monitor,
ModelExporter.ExportData exportData)
throws java.lang.Exception
ModelExporterSubclasses should overwrite this method, adding the code that performs the actions required to export the model.
The Diagnostic returned by this method should be used to provide
the user some information regarding a successfull export. If the
export fails, an exception should be thrown.
doExport in class ModelExporterDiagnostic
java.lang.Exception
protected URI getReferencedGenPackageArtifactURI(ModelExporter.ExportData exportData,
GenPackage genPackage)
protected void adjustGenModel()
adjustGenModel in class ModelExporter
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||