org.eclipse.emf.codegen.ecore
Class XSD2GenModel
java.lang.Object
org.eclipse.emf.codegen.CodeGen
org.eclipse.emf.codegen.ecore.Generator
org.eclipse.emf.codegen.ecore.XSD2GenModel
- All Implemented Interfaces:
- IPlatformRunnable
- public class XSD2GenModel
- extends Generator
This implements the method run(java.lang.Object)
,
which is called just like main during headless workbench invocation.
Constructor Summary |
XSD2GenModel()
This creates an instance. |
Method Summary |
void |
execute(IProgressMonitor progressMonitor,
java.lang.String[] arguments)
|
protected void |
printUsage()
|
java.lang.Object |
run(java.lang.Object object)
This is called with the command line arguments of a headless workbench invocation. |
protected void |
setGenPackageDetails(java.util.List genPackages)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xsdEcoreBuilder
protected java.lang.Object xsdEcoreBuilder
packageInformationMap
protected java.util.Map packageInformationMap
packages
protected java.util.List packages
ePackageList
protected java.util.List ePackageList
generatedEPackageList
protected java.util.List generatedEPackageList
referencedEPackageList
protected java.util.List referencedEPackageList
XSD2GenModel
public XSD2GenModel()
- This creates an instance.
printUsage
protected void printUsage()
run
public java.lang.Object run(java.lang.Object object)
- This is called with the command line arguments of a headless workbench invocation.
- Specified by:
run
in interface IPlatformRunnable
- Overrides:
run
in class Generator
execute
public void execute(IProgressMonitor progressMonitor,
java.lang.String[] arguments)
throws java.lang.Exception
- Throws:
java.lang.Exception
setGenPackageDetails
protected void setGenPackageDetails(java.util.List genPackages)